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