Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLHRElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLHRElement_h__
6 : #define __gen_nsIDOMHTMLHRElement_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: nsIDOMHTMLHRElement */
19 : #define NS_IDOMHTMLHRELEMENT_IID_STR "30771953-b9f4-44de-b0fe-e490949af98b"
20 :
21 : #define NS_IDOMHTMLHRELEMENT_IID \
22 : {0x30771953, 0xb9f4, 0x44de, \
23 : { 0xb0, 0xfe, 0xe4, 0x90, 0x94, 0x9a, 0xf9, 0x8b }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLHRElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHRELEMENT_IID)
29 :
30 : /* attribute DOMString align; */
31 : NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
32 : NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
33 :
34 : /* attribute boolean noShade; */
35 : NS_IMETHOD GetNoShade(bool *aNoShade) = 0;
36 : NS_IMETHOD SetNoShade(bool aNoShade) = 0;
37 :
38 : /* attribute DOMString size; */
39 : NS_IMETHOD GetSize(nsAString & aSize) = 0;
40 : NS_IMETHOD SetSize(const nsAString & aSize) = 0;
41 :
42 : /* attribute DOMString width; */
43 : NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
44 : NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
45 :
46 : /* attribute DOMString color; */
47 : NS_IMETHOD GetColor(nsAString & aColor) = 0;
48 : NS_IMETHOD SetColor(const nsAString & aColor) = 0;
49 :
50 : };
51 :
52 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLHRElement, NS_IDOMHTMLHRELEMENT_IID)
53 :
54 : /* Use this macro when declaring classes that implement this interface. */
55 : #define NS_DECL_NSIDOMHTMLHRELEMENT \
56 : NS_IMETHOD GetAlign(nsAString & aAlign) override; \
57 : NS_IMETHOD SetAlign(const nsAString & aAlign) override; \
58 : NS_IMETHOD GetNoShade(bool *aNoShade) override; \
59 : NS_IMETHOD SetNoShade(bool aNoShade) override; \
60 : NS_IMETHOD GetSize(nsAString & aSize) override; \
61 : NS_IMETHOD SetSize(const nsAString & aSize) override; \
62 : NS_IMETHOD GetWidth(nsAString & aWidth) override; \
63 : NS_IMETHOD SetWidth(const nsAString & aWidth) override; \
64 : NS_IMETHOD GetColor(nsAString & aColor) override; \
65 : NS_IMETHOD SetColor(const nsAString & aColor) override;
66 :
67 : /* Use this macro when declaring the members of this interface when the
68 : class doesn't implement the interface. This is useful for forwarding. */
69 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLHRELEMENT \
70 : nsresult GetAlign(nsAString & aAlign); \
71 : nsresult SetAlign(const nsAString & aAlign); \
72 : nsresult GetNoShade(bool *aNoShade); \
73 : nsresult SetNoShade(bool aNoShade); \
74 : nsresult GetSize(nsAString & aSize); \
75 : nsresult SetSize(const nsAString & aSize); \
76 : nsresult GetWidth(nsAString & aWidth); \
77 : nsresult SetWidth(const nsAString & aWidth); \
78 : nsresult GetColor(nsAString & aColor); \
79 : nsresult SetColor(const nsAString & aColor);
80 :
81 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
82 : #define NS_FORWARD_NSIDOMHTMLHRELEMENT(_to) \
83 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return _to GetAlign(aAlign); } \
84 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return _to SetAlign(aAlign); } \
85 : NS_IMETHOD GetNoShade(bool *aNoShade) override { return _to GetNoShade(aNoShade); } \
86 : NS_IMETHOD SetNoShade(bool aNoShade) override { return _to SetNoShade(aNoShade); } \
87 : NS_IMETHOD GetSize(nsAString & aSize) override { return _to GetSize(aSize); } \
88 : NS_IMETHOD SetSize(const nsAString & aSize) override { return _to SetSize(aSize); } \
89 : NS_IMETHOD GetWidth(nsAString & aWidth) override { return _to GetWidth(aWidth); } \
90 : NS_IMETHOD SetWidth(const nsAString & aWidth) override { return _to SetWidth(aWidth); } \
91 : NS_IMETHOD GetColor(nsAString & aColor) override { return _to GetColor(aColor); } \
92 : NS_IMETHOD SetColor(const nsAString & aColor) override { return _to SetColor(aColor); }
93 :
94 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
95 : #define NS_FORWARD_SAFE_NSIDOMHTMLHRELEMENT(_to) \
96 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
97 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
98 : NS_IMETHOD GetNoShade(bool *aNoShade) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoShade(aNoShade); } \
99 : NS_IMETHOD SetNoShade(bool aNoShade) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoShade(aNoShade); } \
100 : NS_IMETHOD GetSize(nsAString & aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
101 : NS_IMETHOD SetSize(const nsAString & aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
102 : NS_IMETHOD GetWidth(nsAString & aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
103 : NS_IMETHOD SetWidth(const nsAString & aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
104 : NS_IMETHOD GetColor(nsAString & aColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColor(aColor); } \
105 : NS_IMETHOD SetColor(const nsAString & aColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColor(aColor); }
106 :
107 : #if 0
108 : /* Use the code below as a template for the implementation class for this interface. */
109 :
110 : /* Header file */
111 : class nsDOMHTMLHRElement : public nsIDOMHTMLHRElement
112 : {
113 : public:
114 : NS_DECL_ISUPPORTS
115 : NS_DECL_NSIDOMHTMLHRELEMENT
116 :
117 : nsDOMHTMLHRElement();
118 :
119 : private:
120 : ~nsDOMHTMLHRElement();
121 :
122 : protected:
123 : /* additional members */
124 : };
125 :
126 : /* Implementation file */
127 : NS_IMPL_ISUPPORTS(nsDOMHTMLHRElement, nsIDOMHTMLHRElement)
128 :
129 : nsDOMHTMLHRElement::nsDOMHTMLHRElement()
130 : {
131 : /* member initializers and constructor code */
132 : }
133 :
134 : nsDOMHTMLHRElement::~nsDOMHTMLHRElement()
135 : {
136 : /* destructor code */
137 : }
138 :
139 : /* attribute DOMString align; */
140 : NS_IMETHODIMP nsDOMHTMLHRElement::GetAlign(nsAString & aAlign)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 : NS_IMETHODIMP nsDOMHTMLHRElement::SetAlign(const nsAString & aAlign)
145 : {
146 : return NS_ERROR_NOT_IMPLEMENTED;
147 : }
148 :
149 : /* attribute boolean noShade; */
150 : NS_IMETHODIMP nsDOMHTMLHRElement::GetNoShade(bool *aNoShade)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 : NS_IMETHODIMP nsDOMHTMLHRElement::SetNoShade(bool aNoShade)
155 : {
156 : return NS_ERROR_NOT_IMPLEMENTED;
157 : }
158 :
159 : /* attribute DOMString size; */
160 : NS_IMETHODIMP nsDOMHTMLHRElement::GetSize(nsAString & aSize)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 : NS_IMETHODIMP nsDOMHTMLHRElement::SetSize(const nsAString & aSize)
165 : {
166 : return NS_ERROR_NOT_IMPLEMENTED;
167 : }
168 :
169 : /* attribute DOMString width; */
170 : NS_IMETHODIMP nsDOMHTMLHRElement::GetWidth(nsAString & aWidth)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 : NS_IMETHODIMP nsDOMHTMLHRElement::SetWidth(const nsAString & aWidth)
175 : {
176 : return NS_ERROR_NOT_IMPLEMENTED;
177 : }
178 :
179 : /* attribute DOMString color; */
180 : NS_IMETHODIMP nsDOMHTMLHRElement::GetColor(nsAString & aColor)
181 : {
182 : return NS_ERROR_NOT_IMPLEMENTED;
183 : }
184 : NS_IMETHODIMP nsDOMHTMLHRElement::SetColor(const nsAString & aColor)
185 : {
186 : return NS_ERROR_NOT_IMPLEMENTED;
187 : }
188 :
189 : /* End of implementation class template. */
190 : #endif
191 :
192 :
193 : #endif /* __gen_nsIDOMHTMLHRElement_h__ */
|