1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLCommandElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLCommandElement_h__
6 : #define __gen_nsIDOMHTMLCommandElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.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: nsIDOMHTMLCommandElement */
19 : #define NS_IDOMHTMLCOMMANDELEMENT_IID_STR "13032f74-4150-4768-ab5e-51f4de39a300"
20 :
21 : #define NS_IDOMHTMLCOMMANDELEMENT_IID \
22 : {0x13032f74, 0x4150, 0x4768, \
23 : { 0xab, 0x5e, 0x51, 0xf4, 0xde, 0x39, 0xa3, 0x00 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLCommandElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLCOMMANDELEMENT_IID)
29 :
30 : /* attribute DOMString type; */
31 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
33 :
34 : /* attribute DOMString label; */
35 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) = 0;
37 :
38 : /* attribute DOMString icon; */
39 : NS_SCRIPTABLE NS_IMETHOD GetIcon(nsAString & aIcon) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetIcon(const nsAString & aIcon) = 0;
41 :
42 : /* attribute boolean disabled; */
43 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
44 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
45 :
46 : /* attribute boolean defaultChecked; */
47 : NS_SCRIPTABLE NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) = 0;
48 : NS_SCRIPTABLE NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) = 0;
49 :
50 : /* attribute boolean checked; */
51 : NS_SCRIPTABLE NS_IMETHOD GetChecked(bool *aChecked) = 0;
52 : NS_SCRIPTABLE NS_IMETHOD SetChecked(bool aChecked) = 0;
53 :
54 : /* attribute DOMString radiogroup; */
55 : NS_SCRIPTABLE NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) = 0;
56 : NS_SCRIPTABLE NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) = 0;
57 :
58 : };
59 :
60 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLCommandElement, NS_IDOMHTMLCOMMANDELEMENT_IID)
61 :
62 : /* Use this macro when declaring classes that implement this interface. */
63 : #define NS_DECL_NSIDOMHTMLCOMMANDELEMENT \
64 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
65 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
66 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel); \
67 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel); \
68 : NS_SCRIPTABLE NS_IMETHOD GetIcon(nsAString & aIcon); \
69 : NS_SCRIPTABLE NS_IMETHOD SetIcon(const nsAString & aIcon); \
70 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
71 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
72 : NS_SCRIPTABLE NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked); \
73 : NS_SCRIPTABLE NS_IMETHOD SetDefaultChecked(bool aDefaultChecked); \
74 : NS_SCRIPTABLE NS_IMETHOD GetChecked(bool *aChecked); \
75 : NS_SCRIPTABLE NS_IMETHOD SetChecked(bool aChecked); \
76 : NS_SCRIPTABLE NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup); \
77 : NS_SCRIPTABLE NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup);
78 :
79 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
80 : #define NS_FORWARD_NSIDOMHTMLCOMMANDELEMENT(_to) \
81 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
82 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
83 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return _to GetLabel(aLabel); } \
84 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return _to SetLabel(aLabel); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetIcon(nsAString & aIcon) { return _to GetIcon(aIcon); } \
86 : NS_SCRIPTABLE NS_IMETHOD SetIcon(const nsAString & aIcon) { return _to SetIcon(aIcon); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
88 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
89 : NS_SCRIPTABLE NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) { return _to GetDefaultChecked(aDefaultChecked); } \
90 : NS_SCRIPTABLE NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) { return _to SetDefaultChecked(aDefaultChecked); } \
91 : NS_SCRIPTABLE NS_IMETHOD GetChecked(bool *aChecked) { return _to GetChecked(aChecked); } \
92 : NS_SCRIPTABLE NS_IMETHOD SetChecked(bool aChecked) { return _to SetChecked(aChecked); } \
93 : NS_SCRIPTABLE NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) { return _to GetRadiogroup(aRadiogroup); } \
94 : NS_SCRIPTABLE NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) { return _to SetRadiogroup(aRadiogroup); }
95 :
96 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
97 : #define NS_FORWARD_SAFE_NSIDOMHTMLCOMMANDELEMENT(_to) \
98 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
99 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
100 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
101 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
102 : NS_SCRIPTABLE NS_IMETHOD GetIcon(nsAString & aIcon) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcon(aIcon); } \
103 : NS_SCRIPTABLE NS_IMETHOD SetIcon(const nsAString & aIcon) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcon(aIcon); } \
104 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
105 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
106 : NS_SCRIPTABLE NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultChecked(aDefaultChecked); } \
107 : NS_SCRIPTABLE NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultChecked(aDefaultChecked); } \
108 : NS_SCRIPTABLE NS_IMETHOD GetChecked(bool *aChecked) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChecked(aChecked); } \
109 : NS_SCRIPTABLE NS_IMETHOD SetChecked(bool aChecked) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChecked(aChecked); } \
110 : NS_SCRIPTABLE NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRadiogroup(aRadiogroup); } \
111 : NS_SCRIPTABLE NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRadiogroup(aRadiogroup); }
112 :
113 : #if 0
114 : /* Use the code below as a template for the implementation class for this interface. */
115 :
116 : /* Header file */
117 : class nsDOMHTMLCommandElement : public nsIDOMHTMLCommandElement
118 : {
119 : public:
120 : NS_DECL_ISUPPORTS
121 : NS_DECL_NSIDOMHTMLCOMMANDELEMENT
122 :
123 : nsDOMHTMLCommandElement();
124 :
125 : private:
126 : ~nsDOMHTMLCommandElement();
127 :
128 : protected:
129 : /* additional members */
130 : };
131 :
132 : /* Implementation file */
133 : NS_IMPL_ISUPPORTS1(nsDOMHTMLCommandElement, nsIDOMHTMLCommandElement)
134 :
135 : nsDOMHTMLCommandElement::nsDOMHTMLCommandElement()
136 : {
137 : /* member initializers and constructor code */
138 : }
139 :
140 : nsDOMHTMLCommandElement::~nsDOMHTMLCommandElement()
141 : {
142 : /* destructor code */
143 : }
144 :
145 : /* attribute DOMString type; */
146 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetType(nsAString & aType)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetType(const nsAString & aType)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute DOMString label; */
156 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetLabel(nsAString & aLabel)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetLabel(const nsAString & aLabel)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* attribute DOMString icon; */
166 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetIcon(nsAString & aIcon)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetIcon(const nsAString & aIcon)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 :
175 : /* attribute boolean disabled; */
176 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetDisabled(bool *aDisabled)
177 : {
178 : return NS_ERROR_NOT_IMPLEMENTED;
179 : }
180 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetDisabled(bool aDisabled)
181 : {
182 : return NS_ERROR_NOT_IMPLEMENTED;
183 : }
184 :
185 : /* attribute boolean defaultChecked; */
186 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetDefaultChecked(bool *aDefaultChecked)
187 : {
188 : return NS_ERROR_NOT_IMPLEMENTED;
189 : }
190 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetDefaultChecked(bool aDefaultChecked)
191 : {
192 : return NS_ERROR_NOT_IMPLEMENTED;
193 : }
194 :
195 : /* attribute boolean checked; */
196 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetChecked(bool *aChecked)
197 : {
198 : return NS_ERROR_NOT_IMPLEMENTED;
199 : }
200 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetChecked(bool aChecked)
201 : {
202 : return NS_ERROR_NOT_IMPLEMENTED;
203 : }
204 :
205 : /* attribute DOMString radiogroup; */
206 : NS_IMETHODIMP nsDOMHTMLCommandElement::GetRadiogroup(nsAString & aRadiogroup)
207 : {
208 : return NS_ERROR_NOT_IMPLEMENTED;
209 : }
210 : NS_IMETHODIMP nsDOMHTMLCommandElement::SetRadiogroup(const nsAString & aRadiogroup)
211 : {
212 : return NS_ERROR_NOT_IMPLEMENTED;
213 : }
214 :
215 : /* End of implementation class template. */
216 : #endif
217 :
218 :
219 : #endif /* __gen_nsIDOMHTMLCommandElement_h__ */
|