Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLStyleElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLStyleElement_h__
6 : #define __gen_nsIDOMHTMLStyleElement_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: nsIDOMHTMLStyleElement */
19 : #define NS_IDOMHTMLSTYLEELEMENT_IID_STR "fa326d22-8739-4eef-a80e-6449bde605d2"
20 :
21 : #define NS_IDOMHTMLSTYLEELEMENT_IID \
22 : {0xfa326d22, 0x8739, 0x4eef, \
23 : { 0xa8, 0x0e, 0x64, 0x49, 0xbd, 0xe6, 0x05, 0xd2 }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLStyleElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSTYLEELEMENT_IID)
29 :
30 : /* [binaryname(MozDisabled)] attribute boolean disabled; */
31 : NS_IMETHOD GetMozDisabled(bool *aDisabled) = 0;
32 : NS_IMETHOD SetMozDisabled(bool aDisabled) = 0;
33 :
34 : /* attribute DOMString media; */
35 : NS_IMETHOD GetMedia(nsAString & aMedia) = 0;
36 : NS_IMETHOD SetMedia(const nsAString & aMedia) = 0;
37 :
38 : /* attribute DOMString type; */
39 : NS_IMETHOD GetType(nsAString & aType) = 0;
40 : NS_IMETHOD SetType(const nsAString & aType) = 0;
41 :
42 : /* attribute boolean scoped; */
43 : NS_IMETHOD GetScoped(bool *aScoped) = 0;
44 : NS_IMETHOD SetScoped(bool aScoped) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLStyleElement, NS_IDOMHTMLSTYLEELEMENT_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSIDOMHTMLSTYLEELEMENT \
52 : NS_IMETHOD GetMozDisabled(bool *aDisabled) override; \
53 : NS_IMETHOD SetMozDisabled(bool aDisabled) override; \
54 : NS_IMETHOD GetMedia(nsAString & aMedia) override; \
55 : NS_IMETHOD SetMedia(const nsAString & aMedia) override; \
56 : NS_IMETHOD GetType(nsAString & aType) override; \
57 : NS_IMETHOD SetType(const nsAString & aType) override; \
58 : NS_IMETHOD GetScoped(bool *aScoped) override; \
59 : NS_IMETHOD SetScoped(bool aScoped) override;
60 :
61 : /* Use this macro when declaring the members of this interface when the
62 : class doesn't implement the interface. This is useful for forwarding. */
63 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLSTYLEELEMENT \
64 : nsresult GetMozDisabled(bool *aDisabled); \
65 : nsresult SetMozDisabled(bool aDisabled); \
66 : nsresult GetMedia(nsAString & aMedia); \
67 : nsresult SetMedia(const nsAString & aMedia); \
68 : nsresult GetType(nsAString & aType); \
69 : nsresult SetType(const nsAString & aType); \
70 : nsresult GetScoped(bool *aScoped); \
71 : nsresult SetScoped(bool aScoped);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMHTMLSTYLEELEMENT(_to) \
75 : NS_IMETHOD GetMozDisabled(bool *aDisabled) override { return _to GetMozDisabled(aDisabled); } \
76 : NS_IMETHOD SetMozDisabled(bool aDisabled) override { return _to SetMozDisabled(aDisabled); } \
77 : NS_IMETHOD GetMedia(nsAString & aMedia) override { return _to GetMedia(aMedia); } \
78 : NS_IMETHOD SetMedia(const nsAString & aMedia) override { return _to SetMedia(aMedia); } \
79 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
80 : NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
81 : NS_IMETHOD GetScoped(bool *aScoped) override { return _to GetScoped(aScoped); } \
82 : NS_IMETHOD SetScoped(bool aScoped) override { return _to SetScoped(aScoped); }
83 :
84 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
85 : #define NS_FORWARD_SAFE_NSIDOMHTMLSTYLEELEMENT(_to) \
86 : NS_IMETHOD GetMozDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozDisabled(aDisabled); } \
87 : NS_IMETHOD SetMozDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMozDisabled(aDisabled); } \
88 : NS_IMETHOD GetMedia(nsAString & aMedia) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
89 : NS_IMETHOD SetMedia(const nsAString & aMedia) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMedia(aMedia); } \
90 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
91 : NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
92 : NS_IMETHOD GetScoped(bool *aScoped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScoped(aScoped); } \
93 : NS_IMETHOD SetScoped(bool aScoped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScoped(aScoped); }
94 :
95 : #if 0
96 : /* Use the code below as a template for the implementation class for this interface. */
97 :
98 : /* Header file */
99 : class nsDOMHTMLStyleElement : public nsIDOMHTMLStyleElement
100 : {
101 : public:
102 : NS_DECL_ISUPPORTS
103 : NS_DECL_NSIDOMHTMLSTYLEELEMENT
104 :
105 : nsDOMHTMLStyleElement();
106 :
107 : private:
108 : ~nsDOMHTMLStyleElement();
109 :
110 : protected:
111 : /* additional members */
112 : };
113 :
114 : /* Implementation file */
115 : NS_IMPL_ISUPPORTS(nsDOMHTMLStyleElement, nsIDOMHTMLStyleElement)
116 :
117 : nsDOMHTMLStyleElement::nsDOMHTMLStyleElement()
118 : {
119 : /* member initializers and constructor code */
120 : }
121 :
122 : nsDOMHTMLStyleElement::~nsDOMHTMLStyleElement()
123 : {
124 : /* destructor code */
125 : }
126 :
127 : /* [binaryname(MozDisabled)] attribute boolean disabled; */
128 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetMozDisabled(bool *aDisabled)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetMozDisabled(bool aDisabled)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* attribute DOMString media; */
138 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetMedia(nsAString & aMedia)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetMedia(const nsAString & aMedia)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* attribute DOMString type; */
148 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetType(nsAString & aType)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetType(const nsAString & aType)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* attribute boolean scoped; */
158 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetScoped(bool *aScoped)
159 : {
160 : return NS_ERROR_NOT_IMPLEMENTED;
161 : }
162 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetScoped(bool aScoped)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 :
167 : /* End of implementation class template. */
168 : #endif
169 :
170 :
171 : #endif /* __gen_nsIDOMHTMLStyleElement_h__ */
|