1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/plugins/base/nsIPluginTag.idl
3 : */
4 :
5 : #ifndef __gen_nsIPluginTag_h__
6 : #define __gen_nsIPluginTag_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 :
18 : /* starting interface: nsIPluginTag */
19 : #define NS_IPLUGINTAG_IID_STR "88e03453-a773-47ba-9d84-14f672ac99e2"
20 :
21 : #define NS_IPLUGINTAG_IID \
22 : {0x88e03453, 0xa773, 0x47ba, \
23 : { 0x9d, 0x84, 0x14, 0xf6, 0x72, 0xac, 0x99, 0xe2 }}
24 :
25 178 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPluginTag : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPLUGINTAG_IID)
29 :
30 : /* readonly attribute AUTF8String description; */
31 : NS_SCRIPTABLE NS_IMETHOD GetDescription(nsACString & aDescription) = 0;
32 :
33 : /* readonly attribute AUTF8String filename; */
34 : NS_SCRIPTABLE NS_IMETHOD GetFilename(nsACString & aFilename) = 0;
35 :
36 : /* readonly attribute AUTF8String fullpath; */
37 : NS_SCRIPTABLE NS_IMETHOD GetFullpath(nsACString & aFullpath) = 0;
38 :
39 : /* readonly attribute AUTF8String version; */
40 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) = 0;
41 :
42 : /* readonly attribute AUTF8String name; */
43 : NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) = 0;
44 :
45 : /* attribute boolean disabled; */
46 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
47 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
48 :
49 : /* attribute boolean blocklisted; */
50 : NS_SCRIPTABLE NS_IMETHOD GetBlocklisted(bool *aBlocklisted) = 0;
51 : NS_SCRIPTABLE NS_IMETHOD SetBlocklisted(bool aBlocklisted) = 0;
52 :
53 : };
54 :
55 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIPluginTag, NS_IPLUGINTAG_IID)
56 :
57 : /* Use this macro when declaring classes that implement this interface. */
58 : #define NS_DECL_NSIPLUGINTAG \
59 : NS_SCRIPTABLE NS_IMETHOD GetDescription(nsACString & aDescription); \
60 : NS_SCRIPTABLE NS_IMETHOD GetFilename(nsACString & aFilename); \
61 : NS_SCRIPTABLE NS_IMETHOD GetFullpath(nsACString & aFullpath); \
62 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion); \
63 : NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName); \
64 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
65 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
66 : NS_SCRIPTABLE NS_IMETHOD GetBlocklisted(bool *aBlocklisted); \
67 : NS_SCRIPTABLE NS_IMETHOD SetBlocklisted(bool aBlocklisted);
68 :
69 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
70 : #define NS_FORWARD_NSIPLUGINTAG(_to) \
71 : NS_SCRIPTABLE NS_IMETHOD GetDescription(nsACString & aDescription) { return _to GetDescription(aDescription); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetFilename(nsACString & aFilename) { return _to GetFilename(aFilename); } \
73 : NS_SCRIPTABLE NS_IMETHOD GetFullpath(nsACString & aFullpath) { return _to GetFullpath(aFullpath); } \
74 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) { return _to GetVersion(aVersion); } \
75 : NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) { return _to GetName(aName); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
77 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetBlocklisted(bool *aBlocklisted) { return _to GetBlocklisted(aBlocklisted); } \
79 : NS_SCRIPTABLE NS_IMETHOD SetBlocklisted(bool aBlocklisted) { return _to SetBlocklisted(aBlocklisted); }
80 :
81 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
82 : #define NS_FORWARD_SAFE_NSIPLUGINTAG(_to) \
83 : NS_SCRIPTABLE NS_IMETHOD GetDescription(nsACString & aDescription) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
84 : NS_SCRIPTABLE NS_IMETHOD GetFilename(nsACString & aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetFullpath(nsACString & aFullpath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullpath(aFullpath); } \
86 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
88 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
89 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
90 : NS_SCRIPTABLE NS_IMETHOD GetBlocklisted(bool *aBlocklisted) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBlocklisted(aBlocklisted); } \
91 : NS_SCRIPTABLE NS_IMETHOD SetBlocklisted(bool aBlocklisted) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBlocklisted(aBlocklisted); }
92 :
93 : #if 0
94 : /* Use the code below as a template for the implementation class for this interface. */
95 :
96 : /* Header file */
97 : class nsPluginTag : public nsIPluginTag
98 : {
99 : public:
100 : NS_DECL_ISUPPORTS
101 : NS_DECL_NSIPLUGINTAG
102 :
103 : nsPluginTag();
104 :
105 : private:
106 : ~nsPluginTag();
107 :
108 : protected:
109 : /* additional members */
110 : };
111 :
112 : /* Implementation file */
113 : NS_IMPL_ISUPPORTS1(nsPluginTag, nsIPluginTag)
114 :
115 : nsPluginTag::nsPluginTag()
116 : {
117 : /* member initializers and constructor code */
118 : }
119 :
120 : nsPluginTag::~nsPluginTag()
121 : {
122 : /* destructor code */
123 : }
124 :
125 : /* readonly attribute AUTF8String description; */
126 : NS_IMETHODIMP nsPluginTag::GetDescription(nsACString & aDescription)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* readonly attribute AUTF8String filename; */
132 : NS_IMETHODIMP nsPluginTag::GetFilename(nsACString & aFilename)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* readonly attribute AUTF8String fullpath; */
138 : NS_IMETHODIMP nsPluginTag::GetFullpath(nsACString & aFullpath)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 :
143 : /* readonly attribute AUTF8String version; */
144 : NS_IMETHODIMP nsPluginTag::GetVersion(nsACString & aVersion)
145 : {
146 : return NS_ERROR_NOT_IMPLEMENTED;
147 : }
148 :
149 : /* readonly attribute AUTF8String name; */
150 : NS_IMETHODIMP nsPluginTag::GetName(nsACString & aName)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute boolean disabled; */
156 : NS_IMETHODIMP nsPluginTag::GetDisabled(bool *aDisabled)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP nsPluginTag::SetDisabled(bool aDisabled)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* attribute boolean blocklisted; */
166 : NS_IMETHODIMP nsPluginTag::GetBlocklisted(bool *aBlocklisted)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 : NS_IMETHODIMP nsPluginTag::SetBlocklisted(bool aBlocklisted)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 :
175 : /* End of implementation class template. */
176 : #endif
177 :
178 :
179 : #endif /* __gen_nsIPluginTag_h__ */
|