1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLOptGroupElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLOptGroupElement_h__
6 : #define __gen_nsIDOMHTMLOptGroupElement_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: nsIDOMHTMLOptGroupElement */
19 : #define NS_IDOMHTMLOPTGROUPELEMENT_IID_STR "ab55d67a-aabb-4441-b182-8ff2bd7d157e"
20 :
21 : #define NS_IDOMHTMLOPTGROUPELEMENT_IID \
22 : {0xab55d67a, 0xaabb, 0x4441, \
23 : { 0xb1, 0x82, 0x8f, 0xf2, 0xbd, 0x7d, 0x15, 0x7e }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLOptGroupElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOPTGROUPELEMENT_IID)
29 :
30 : /* attribute boolean disabled; */
31 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 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 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOptGroupElement, NS_IDOMHTMLOPTGROUPELEMENT_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIDOMHTMLOPTGROUPELEMENT \
44 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
45 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
46 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel); \
47 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLOPTGROUPELEMENT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
52 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return _to GetLabel(aLabel); } \
54 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return _to SetLabel(aLabel); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIDOMHTMLOPTGROUPELEMENT(_to) \
58 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
59 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
61 : NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMHTMLOptGroupElement : public nsIDOMHTMLOptGroupElement
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMHTMLOPTGROUPELEMENT
72 :
73 : nsDOMHTMLOptGroupElement();
74 :
75 : private:
76 : ~nsDOMHTMLOptGroupElement();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMHTMLOptGroupElement, nsIDOMHTMLOptGroupElement)
84 :
85 : nsDOMHTMLOptGroupElement::nsDOMHTMLOptGroupElement()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMHTMLOptGroupElement::~nsDOMHTMLOptGroupElement()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* attribute boolean disabled; */
96 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::GetDisabled(bool *aDisabled)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::SetDisabled(bool aDisabled)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* attribute DOMString label; */
106 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::GetLabel(nsAString & aLabel)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::SetLabel(const nsAString & aLabel)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 :
115 : /* End of implementation class template. */
116 : #endif
117 :
118 :
119 : #endif /* __gen_nsIDOMHTMLOptGroupElement_h__ */
|