1
0

nsIProgrammingLanguage.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/xpcom/base/nsIProgrammingLanguage.idl
  3. */
  4. #ifndef __gen_nsIProgrammingLanguage_h__
  5. #define __gen_nsIProgrammingLanguage_h__
  6. #ifndef __gen_nsISupports_h__
  7. #include "nsISupports.h"
  8. #endif
  9. /* For IDL files that don't want to include root IDL files. */
  10. #ifndef NS_NO_VTABLE
  11. #define NS_NO_VTABLE
  12. #endif
  13. #ifdef XP_OS2 // OS2 has UNKNOWN problems :)
  14. #undef UNKNOWN
  15. #endif
  16. /* starting interface: nsIProgrammingLanguage */
  17. #define NS_IPROGRAMMINGLANGUAGE_IID_STR "ea604e90-40ba-11d5-90bb-0010a4e73d9a"
  18. #define NS_IPROGRAMMINGLANGUAGE_IID \
  19. {0xea604e90, 0x40ba, 0x11d5, \
  20. { 0x90, 0xbb, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }}
  21. /**
  22. * Enumeration of Programming Languages
  23. * @status FROZEN
  24. */
  25. class NS_NO_VTABLE nsIProgrammingLanguage : public nsISupports {
  26. public:
  27. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPROGRAMMINGLANGUAGE_IID)
  28. /**
  29. * Identifiers for programming languages.
  30. */
  31. enum { UNKNOWN = 0U };
  32. enum { CPLUSPLUS = 1U };
  33. enum { JAVASCRIPT = 2U };
  34. enum { PYTHON = 3U };
  35. enum { PERL = 4U };
  36. enum { JAVA = 5U };
  37. enum { ZX81_BASIC = 6U };
  38. enum { JAVASCRIPT2 = 7U };
  39. };
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIPROGRAMMINGLANGUAGE \
  42. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  43. #define NS_FORWARD_NSIPROGRAMMINGLANGUAGE(_to) \
  44. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  45. #define NS_FORWARD_SAFE_NSIPROGRAMMINGLANGUAGE(_to) \
  46. #if 0
  47. /* Use the code below as a template for the implementation class for this interface. */
  48. /* Header file */
  49. class nsProgrammingLanguage : public nsIProgrammingLanguage
  50. {
  51. public:
  52. NS_DECL_ISUPPORTS
  53. NS_DECL_NSIPROGRAMMINGLANGUAGE
  54. nsProgrammingLanguage();
  55. private:
  56. ~nsProgrammingLanguage();
  57. protected:
  58. /* additional members */
  59. };
  60. /* Implementation file */
  61. NS_IMPL_ISUPPORTS1(nsProgrammingLanguage, nsIProgrammingLanguage)
  62. nsProgrammingLanguage::nsProgrammingLanguage()
  63. {
  64. /* member initializers and constructor code */
  65. }
  66. nsProgrammingLanguage::~nsProgrammingLanguage()
  67. {
  68. /* destructor code */
  69. }
  70. /* End of implementation class template. */
  71. #endif
  72. #endif /* __gen_nsIProgrammingLanguage_h__ */