Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: gecko-sdk/include/nsIProgrammingLanguage.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gecko-sdk/include/nsIProfileChangeStatus.h ('k') | gecko-sdk/include/nsIPromptService.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0 -Release/WINNT_5.2_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 */
32 class NS_NO_VTABLE nsIProgrammingLanguage : public nsISupports {
33 public:
34
35 NS_DEFINE_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 };
57
58 /* Use this macro when declaring classes that implement this interface. */
59 #define NS_DECL_NSIPROGRAMMINGLANGUAGE \
60
61 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
62 #define NS_FORWARD_NSIPROGRAMMINGLANGUAGE(_to) \
63
64 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
65 #define NS_FORWARD_SAFE_NSIPROGRAMMINGLANGUAGE(_to) \
66
67 #if 0
68 /* Use the code below as a template for the implementation class for this interf ace. */
69
70 /* Header file */
71 class nsProgrammingLanguage : public nsIProgrammingLanguage
72 {
73 public:
74 NS_DECL_ISUPPORTS
75 NS_DECL_NSIPROGRAMMINGLANGUAGE
76
77 nsProgrammingLanguage();
78
79 private:
80 ~nsProgrammingLanguage();
81
82 protected:
83 /* additional members */
84 };
85
86 /* Implementation file */
87 NS_IMPL_ISUPPORTS1(nsProgrammingLanguage, nsIProgrammingLanguage)
88
89 nsProgrammingLanguage::nsProgrammingLanguage()
90 {
91 /* member initializers and constructor code */
92 }
93
94 nsProgrammingLanguage::~nsProgrammingLanguage()
95 {
96 /* destructor code */
97 }
98
99 /* End of implementation class template. */
100 #endif
101
102
103 #endif /* __gen_nsIProgrammingLanguage_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIProfileChangeStatus.h ('k') | gecko-sdk/include/nsIPromptService.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698