1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/inspector/public/inIFlasher.idl
3 : */
4 :
5 : #ifndef __gen_inIFlasher_h__
6 : #define __gen_inIFlasher_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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 : class nsIDOMElement; /* forward declaration */
18 :
19 :
20 : /* starting interface: inIFlasher */
21 : #define INIFLASHER_IID_STR "7b4a099f-6f6e-4565-977b-fb622adbff49"
22 :
23 : #define INIFLASHER_IID \
24 : {0x7b4a099f, 0x6f6e, 0x4565, \
25 : { 0x97, 0x7b, 0xfb, 0x62, 0x2a, 0xdb, 0xff, 0x49 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE inIFlasher : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(INIFLASHER_IID)
31 :
32 : /* attribute DOMString color; */
33 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) = 0;
34 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor) = 0;
35 :
36 : /* attribute boolean invert; */
37 : NS_SCRIPTABLE NS_IMETHOD GetInvert(bool *aInvert) = 0;
38 : NS_SCRIPTABLE NS_IMETHOD SetInvert(bool aInvert) = 0;
39 :
40 : /* attribute unsigned short thickness; */
41 : NS_SCRIPTABLE NS_IMETHOD GetThickness(PRUint16 *aThickness) = 0;
42 : NS_SCRIPTABLE NS_IMETHOD SetThickness(PRUint16 aThickness) = 0;
43 :
44 : /* void drawElementOutline (in nsIDOMElement aElement); */
45 : NS_SCRIPTABLE NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) = 0;
46 :
47 : /* void repaintElement (in nsIDOMElement aElement); */
48 : NS_SCRIPTABLE NS_IMETHOD RepaintElement(nsIDOMElement *aElement) = 0;
49 :
50 : /* void scrollElementIntoView (in nsIDOMElement aElement); */
51 : NS_SCRIPTABLE NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) = 0;
52 :
53 : };
54 :
55 : NS_DEFINE_STATIC_IID_ACCESSOR(inIFlasher, INIFLASHER_IID)
56 :
57 : /* Use this macro when declaring classes that implement this interface. */
58 : #define NS_DECL_INIFLASHER \
59 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor); \
60 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor); \
61 : NS_SCRIPTABLE NS_IMETHOD GetInvert(bool *aInvert); \
62 : NS_SCRIPTABLE NS_IMETHOD SetInvert(bool aInvert); \
63 : NS_SCRIPTABLE NS_IMETHOD GetThickness(PRUint16 *aThickness); \
64 : NS_SCRIPTABLE NS_IMETHOD SetThickness(PRUint16 aThickness); \
65 : NS_SCRIPTABLE NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement); \
66 : NS_SCRIPTABLE NS_IMETHOD RepaintElement(nsIDOMElement *aElement); \
67 : NS_SCRIPTABLE NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement);
68 :
69 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
70 : #define NS_FORWARD_INIFLASHER(_to) \
71 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) { return _to GetColor(aColor); } \
72 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor) { return _to SetColor(aColor); } \
73 : NS_SCRIPTABLE NS_IMETHOD GetInvert(bool *aInvert) { return _to GetInvert(aInvert); } \
74 : NS_SCRIPTABLE NS_IMETHOD SetInvert(bool aInvert) { return _to SetInvert(aInvert); } \
75 : NS_SCRIPTABLE NS_IMETHOD GetThickness(PRUint16 *aThickness) { return _to GetThickness(aThickness); } \
76 : NS_SCRIPTABLE NS_IMETHOD SetThickness(PRUint16 aThickness) { return _to SetThickness(aThickness); } \
77 : NS_SCRIPTABLE NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) { return _to DrawElementOutline(aElement); } \
78 : NS_SCRIPTABLE NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return _to RepaintElement(aElement); } \
79 : NS_SCRIPTABLE NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) { return _to ScrollElementIntoView(aElement); }
80 :
81 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
82 : #define NS_FORWARD_SAFE_INIFLASHER(_to) \
83 : NS_SCRIPTABLE NS_IMETHOD GetColor(nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColor(aColor); } \
84 : NS_SCRIPTABLE NS_IMETHOD SetColor(const nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColor(aColor); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetInvert(bool *aInvert) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInvert(aInvert); } \
86 : NS_SCRIPTABLE NS_IMETHOD SetInvert(bool aInvert) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInvert(aInvert); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetThickness(PRUint16 *aThickness) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetThickness(aThickness); } \
88 : NS_SCRIPTABLE NS_IMETHOD SetThickness(PRUint16 aThickness) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetThickness(aThickness); } \
89 : NS_SCRIPTABLE NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->DrawElementOutline(aElement); } \
90 : NS_SCRIPTABLE NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->RepaintElement(aElement); } \
91 : NS_SCRIPTABLE NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollElementIntoView(aElement); }
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 inFlasher : public inIFlasher
98 : {
99 : public:
100 : NS_DECL_ISUPPORTS
101 : NS_DECL_INIFLASHER
102 :
103 : inFlasher();
104 :
105 : private:
106 : ~inFlasher();
107 :
108 : protected:
109 : /* additional members */
110 : };
111 :
112 : /* Implementation file */
113 : NS_IMPL_ISUPPORTS1(inFlasher, inIFlasher)
114 :
115 : inFlasher::inFlasher()
116 : {
117 : /* member initializers and constructor code */
118 : }
119 :
120 : inFlasher::~inFlasher()
121 : {
122 : /* destructor code */
123 : }
124 :
125 : /* attribute DOMString color; */
126 : NS_IMETHODIMP inFlasher::GetColor(nsAString & aColor)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 : NS_IMETHODIMP inFlasher::SetColor(const nsAString & aColor)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* attribute boolean invert; */
136 : NS_IMETHODIMP inFlasher::GetInvert(bool *aInvert)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 : NS_IMETHODIMP inFlasher::SetInvert(bool aInvert)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* attribute unsigned short thickness; */
146 : NS_IMETHODIMP inFlasher::GetThickness(PRUint16 *aThickness)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP inFlasher::SetThickness(PRUint16 aThickness)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* void drawElementOutline (in nsIDOMElement aElement); */
156 : NS_IMETHODIMP inFlasher::DrawElementOutline(nsIDOMElement *aElement)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 :
161 : /* void repaintElement (in nsIDOMElement aElement); */
162 : NS_IMETHODIMP inFlasher::RepaintElement(nsIDOMElement *aElement)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 :
167 : /* void scrollElementIntoView (in nsIDOMElement aElement); */
168 : NS_IMETHODIMP inFlasher::ScrollElementIntoView(nsIDOMElement *aElement)
169 : {
170 : return NS_ERROR_NOT_IMPLEMENTED;
171 : }
172 :
173 : /* End of implementation class template. */
174 : #endif
175 :
176 :
177 : #endif /* __gen_inIFlasher_h__ */
|