PageRenderTime 94ms CodeModel.GetById 87ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIProgrammingLanguage.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 113 lines | 55 code | 36 blank | 22 comment | 0 complexity | 566e2ca7af7fb6a627adea85a458d7a9 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/xpcom/base/nsIProgrammingLanguage.idl
  3 */
  4
  5#ifndef __gen_nsIProgrammingLanguage_h__
  6#define __gen_nsIProgrammingLanguage_h__
  7
  8
  9#ifndef __gen_nsISupports_h__
 10#include "nsISupports.h"
 11#endif
 12
 13/* For IDL files that don't want to include root IDL files. */
 14#ifndef NS_NO_VTABLE
 15#define NS_NO_VTABLE
 16#endif
 17#ifdef XP_OS2 // OS2 has UNKNOWN problems :)
 18#undef UNKNOWN
 19#endif
 20
 21/* starting interface:    nsIProgrammingLanguage */
 22#define NS_IPROGRAMMINGLANGUAGE_IID_STR "ea604e90-40ba-11d5-90bb-0010a4e73d9a"
 23
 24#define NS_IPROGRAMMINGLANGUAGE_IID \
 25  {0xea604e90, 0x40ba, 0x11d5, \
 26    { 0x90, 0xbb, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }}
 27
 28/**
 29 * Enumeration of Programming Languages
 30 * @status FROZEN
 31 */
 32class NS_NO_VTABLE NS_SCRIPTABLE nsIProgrammingLanguage : public nsISupports {
 33 public: 
 34
 35  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPROGRAMMINGLANGUAGE_IID)
 36
 37  /**
 38     * Identifiers for programming languages.
 39     */
 40  enum { UNKNOWN = 0U };
 41
 42  enum { CPLUSPLUS = 1U };
 43
 44  enum { JAVASCRIPT = 2U };
 45
 46  enum { PYTHON = 3U };
 47
 48  enum { PERL = 4U };
 49
 50  enum { JAVA = 5U };
 51
 52  enum { ZX81_BASIC = 6U };
 53
 54  enum { JAVASCRIPT2 = 7U };
 55
 56  enum { RUBY = 8U };
 57
 58  enum { PHP = 9U };
 59
 60  enum { TCL = 10U };
 61
 62  enum { MAX = 10U };
 63
 64};
 65
 66  NS_DEFINE_STATIC_IID_ACCESSOR(nsIProgrammingLanguage, NS_IPROGRAMMINGLANGUAGE_IID)
 67
 68/* Use this macro when declaring classes that implement this interface. */
 69#define NS_DECL_NSIPROGRAMMINGLANGUAGE \
 70
 71/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 72#define NS_FORWARD_NSIPROGRAMMINGLANGUAGE(_to) \
 73
 74/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 75#define NS_FORWARD_SAFE_NSIPROGRAMMINGLANGUAGE(_to) \
 76
 77#if 0
 78/* Use the code below as a template for the implementation class for this interface. */
 79
 80/* Header file */
 81class nsProgrammingLanguage : public nsIProgrammingLanguage
 82{
 83public:
 84  NS_DECL_ISUPPORTS
 85  NS_DECL_NSIPROGRAMMINGLANGUAGE
 86
 87  nsProgrammingLanguage();
 88
 89private:
 90  ~nsProgrammingLanguage();
 91
 92protected:
 93  /* additional members */
 94};
 95
 96/* Implementation file */
 97NS_IMPL_ISUPPORTS1(nsProgrammingLanguage, nsIProgrammingLanguage)
 98
 99nsProgrammingLanguage::nsProgrammingLanguage()
100{
101  /* member initializers and constructor code */
102}
103
104nsProgrammingLanguage::~nsProgrammingLanguage()
105{
106  /* destructor code */
107}
108
109/* End of implementation class template. */
110#endif
111
112
113#endif /* __gen_nsIProgrammingLanguage_h__ */