Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 "6fa79f99-4ce4-4634-840a-867fcfb32dba"
20 :
21 : #define NS_IDOMHTMLOPTGROUPELEMENT_IID \
22 : {0x6fa79f99, 0x4ce4, 0x4634, \
23 : { 0x84, 0x0a, 0x86, 0x7f, 0xcf, 0xb3, 0x2d, 0xba }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLOptGroupElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOPTGROUPELEMENT_IID)
29 :
30 : /* attribute boolean disabled; */
31 : NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
32 : NS_IMETHOD SetDisabled(bool aDisabled) = 0;
33 :
34 : /* attribute DOMString label; */
35 : NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
36 : 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_IMETHOD GetDisabled(bool *aDisabled) override; \
45 : NS_IMETHOD SetDisabled(bool aDisabled) override; \
46 : NS_IMETHOD GetLabel(nsAString & aLabel) override; \
47 : NS_IMETHOD SetLabel(const nsAString & aLabel) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLOPTGROUPELEMENT \
52 : nsresult GetDisabled(bool *aDisabled); \
53 : nsresult SetDisabled(bool aDisabled); \
54 : nsresult GetLabel(nsAString & aLabel); \
55 : nsresult SetLabel(const nsAString & aLabel);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIDOMHTMLOPTGROUPELEMENT(_to) \
59 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
60 : NS_IMETHOD SetDisabled(bool aDisabled) override { return _to SetDisabled(aDisabled); } \
61 : NS_IMETHOD GetLabel(nsAString & aLabel) override { return _to GetLabel(aLabel); } \
62 : NS_IMETHOD SetLabel(const nsAString & aLabel) override { return _to SetLabel(aLabel); }
63 :
64 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
65 : #define NS_FORWARD_SAFE_NSIDOMHTMLOPTGROUPELEMENT(_to) \
66 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
67 : NS_IMETHOD SetDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
68 : NS_IMETHOD GetLabel(nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
69 : NS_IMETHOD SetLabel(const nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); }
70 :
71 : #if 0
72 : /* Use the code below as a template for the implementation class for this interface. */
73 :
74 : /* Header file */
75 : class nsDOMHTMLOptGroupElement : public nsIDOMHTMLOptGroupElement
76 : {
77 : public:
78 : NS_DECL_ISUPPORTS
79 : NS_DECL_NSIDOMHTMLOPTGROUPELEMENT
80 :
81 : nsDOMHTMLOptGroupElement();
82 :
83 : private:
84 : ~nsDOMHTMLOptGroupElement();
85 :
86 : protected:
87 : /* additional members */
88 : };
89 :
90 : /* Implementation file */
91 : NS_IMPL_ISUPPORTS(nsDOMHTMLOptGroupElement, nsIDOMHTMLOptGroupElement)
92 :
93 : nsDOMHTMLOptGroupElement::nsDOMHTMLOptGroupElement()
94 : {
95 : /* member initializers and constructor code */
96 : }
97 :
98 : nsDOMHTMLOptGroupElement::~nsDOMHTMLOptGroupElement()
99 : {
100 : /* destructor code */
101 : }
102 :
103 : /* attribute boolean disabled; */
104 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::GetDisabled(bool *aDisabled)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::SetDisabled(bool aDisabled)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* attribute DOMString label; */
114 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::GetLabel(nsAString & aLabel)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 : NS_IMETHODIMP nsDOMHTMLOptGroupElement::SetLabel(const nsAString & aLabel)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* End of implementation class template. */
124 : #endif
125 :
126 :
127 : #endif /* __gen_nsIDOMHTMLOptGroupElement_h__ */
|