1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/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 "b94bff8f-dfa7-4dd8-8d97-c301dd9de729"
20 :
21 : #define NS_IDOMHTMLHRELEMENT_IID \
22 : {0xb94bff8f, 0xdfa7, 0x4dd8, \
23 : { 0x8d, 0x97, 0xc3, 0x01, 0xdd, 0x9d, 0xe7, 0x29 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLHRElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHRELEMENT_IID)
29 :
30 : /* attribute DOMString align; */
31 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
33 :
34 : /* attribute boolean noShade; */
35 : NS_SCRIPTABLE NS_IMETHOD GetNoShade(bool *aNoShade) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetNoShade(bool aNoShade) = 0;
37 :
38 : /* attribute DOMString size; */
39 : NS_SCRIPTABLE NS_IMETHOD GetSize(nsAString & aSize) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetSize(const nsAString & aSize) = 0;
41 :
42 : /* attribute DOMString width; */
43 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
44 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
45 :
46 : /* attribute DOMString color; */
47 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) = 0;
48 : NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
57 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
58 : NS_SCRIPTABLE NS_IMETHOD GetNoShade(bool *aNoShade); \
59 : NS_SCRIPTABLE NS_IMETHOD SetNoShade(bool aNoShade); \
60 : NS_SCRIPTABLE NS_IMETHOD GetSize(nsAString & aSize); \
61 : NS_SCRIPTABLE NS_IMETHOD SetSize(const nsAString & aSize); \
62 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth); \
63 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth); \
64 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor); \
65 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor);
66 :
67 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
68 : #define NS_FORWARD_NSIDOMHTMLHRELEMENT(_to) \
69 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
70 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
71 : NS_SCRIPTABLE NS_IMETHOD GetNoShade(bool *aNoShade) { return _to GetNoShade(aNoShade); } \
72 : NS_SCRIPTABLE NS_IMETHOD SetNoShade(bool aNoShade) { return _to SetNoShade(aNoShade); } \
73 : NS_SCRIPTABLE NS_IMETHOD GetSize(nsAString & aSize) { return _to GetSize(aSize); } \
74 : NS_SCRIPTABLE NS_IMETHOD SetSize(const nsAString & aSize) { return _to SetSize(aSize); } \
75 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
76 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) { return _to GetColor(aColor); } \
78 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor) { return _to SetColor(aColor); }
79 :
80 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
81 : #define NS_FORWARD_SAFE_NSIDOMHTMLHRELEMENT(_to) \
82 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
83 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
84 : NS_SCRIPTABLE NS_IMETHOD GetNoShade(bool *aNoShade) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoShade(aNoShade); } \
85 : NS_SCRIPTABLE NS_IMETHOD SetNoShade(bool aNoShade) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoShade(aNoShade); } \
86 : NS_SCRIPTABLE NS_IMETHOD GetSize(nsAString & aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
87 : NS_SCRIPTABLE NS_IMETHOD SetSize(const nsAString & aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
88 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
89 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
90 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColor(aColor); } \
91 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColor(aColor); }
92 :
93 : #if 0
94 : /* Use the code below as a template for the implementation class for this interface. */
95 :
96 : /* Header file */
97 : class nsDOMHTMLHRElement : public nsIDOMHTMLHRElement
98 : {
99 : public:
100 : NS_DECL_ISUPPORTS
101 : NS_DECL_NSIDOMHTMLHRELEMENT
102 :
103 : nsDOMHTMLHRElement();
104 :
105 : private:
106 : ~nsDOMHTMLHRElement();
107 :
108 : protected:
109 : /* additional members */
110 : };
111 :
112 : /* Implementation file */
113 : NS_IMPL_ISUPPORTS1(nsDOMHTMLHRElement, nsIDOMHTMLHRElement)
114 :
115 : nsDOMHTMLHRElement::nsDOMHTMLHRElement()
116 : {
117 : /* member initializers and constructor code */
118 : }
119 :
120 : nsDOMHTMLHRElement::~nsDOMHTMLHRElement()
121 : {
122 : /* destructor code */
123 : }
124 :
125 : /* attribute DOMString align; */
126 : NS_IMETHODIMP nsDOMHTMLHRElement::GetAlign(nsAString & aAlign)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 : NS_IMETHODIMP nsDOMHTMLHRElement::SetAlign(const nsAString & aAlign)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* attribute boolean noShade; */
136 : NS_IMETHODIMP nsDOMHTMLHRElement::GetNoShade(bool *aNoShade)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 : NS_IMETHODIMP nsDOMHTMLHRElement::SetNoShade(bool aNoShade)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* attribute DOMString size; */
146 : NS_IMETHODIMP nsDOMHTMLHRElement::GetSize(nsAString & aSize)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP nsDOMHTMLHRElement::SetSize(const nsAString & aSize)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute DOMString width; */
156 : NS_IMETHODIMP nsDOMHTMLHRElement::GetWidth(nsAString & aWidth)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP nsDOMHTMLHRElement::SetWidth(const nsAString & aWidth)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* attribute DOMString color; */
166 : NS_IMETHODIMP nsDOMHTMLHRElement::GetColor(nsAString & aColor)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 : NS_IMETHODIMP nsDOMHTMLHRElement::SetColor(const nsAString & aColor)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 :
175 : /* End of implementation class template. */
176 : #endif
177 :
178 :
179 : #endif /* __gen_nsIDOMHTMLHRElement_h__ */
|