Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMDOMCursor.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMDOMCursor_h__
6 : #define __gen_nsIDOMDOMCursor_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 :
18 : /* starting interface: nsICursorContinueCallback */
19 : #define NS_ICURSORCONTINUECALLBACK_IID_STR "3a75d80a-9258-4ab8-95fd-ec0b5f634df1"
20 :
21 : #define NS_ICURSORCONTINUECALLBACK_IID \
22 : {0x3a75d80a, 0x9258, 0x4ab8, \
23 : { 0x95, 0xfd, 0xec, 0x0b, 0x5f, 0x63, 0x4d, 0xf1 }}
24 :
25 : class NS_NO_VTABLE nsICursorContinueCallback : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICURSORCONTINUECALLBACK_IID)
29 :
30 : /* void handleContinue (); */
31 : NS_IMETHOD HandleContinue(void) = 0;
32 :
33 : };
34 :
35 : NS_DEFINE_STATIC_IID_ACCESSOR(nsICursorContinueCallback, NS_ICURSORCONTINUECALLBACK_IID)
36 :
37 : /* Use this macro when declaring classes that implement this interface. */
38 : #define NS_DECL_NSICURSORCONTINUECALLBACK \
39 : NS_IMETHOD HandleContinue(void) override;
40 :
41 : /* Use this macro when declaring the members of this interface when the
42 : class doesn't implement the interface. This is useful for forwarding. */
43 : #define NS_DECL_NON_VIRTUAL_NSICURSORCONTINUECALLBACK \
44 : nsresult HandleContinue(void);
45 :
46 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
47 : #define NS_FORWARD_NSICURSORCONTINUECALLBACK(_to) \
48 : NS_IMETHOD HandleContinue(void) override { return _to HandleContinue(); }
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
51 : #define NS_FORWARD_SAFE_NSICURSORCONTINUECALLBACK(_to) \
52 : NS_IMETHOD HandleContinue(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleContinue(); }
53 :
54 : #if 0
55 : /* Use the code below as a template for the implementation class for this interface. */
56 :
57 : /* Header file */
58 : class nsCursorContinueCallback : public nsICursorContinueCallback
59 : {
60 : public:
61 : NS_DECL_ISUPPORTS
62 : NS_DECL_NSICURSORCONTINUECALLBACK
63 :
64 : nsCursorContinueCallback();
65 :
66 : private:
67 : ~nsCursorContinueCallback();
68 :
69 : protected:
70 : /* additional members */
71 : };
72 :
73 : /* Implementation file */
74 : NS_IMPL_ISUPPORTS(nsCursorContinueCallback, nsICursorContinueCallback)
75 :
76 : nsCursorContinueCallback::nsCursorContinueCallback()
77 : {
78 : /* member initializers and constructor code */
79 : }
80 :
81 : nsCursorContinueCallback::~nsCursorContinueCallback()
82 : {
83 : /* destructor code */
84 : }
85 :
86 : /* void handleContinue (); */
87 : NS_IMETHODIMP nsCursorContinueCallback::HandleContinue()
88 : {
89 : return NS_ERROR_NOT_IMPLEMENTED;
90 : }
91 :
92 : /* End of implementation class template. */
93 : #endif
94 :
95 :
96 : /* starting interface: nsIDOMDOMCursor */
97 : #define NS_IDOMDOMCURSOR_IID_STR "062ea35a-5158-425a-b7bc-3ae9daa84398"
98 :
99 : #define NS_IDOMDOMCURSOR_IID \
100 : {0x062ea35a, 0x5158, 0x425a, \
101 : { 0xb7, 0xbc, 0x3a, 0xe9, 0xda, 0xa8, 0x43, 0x98 }}
102 :
103 0 : class NS_NO_VTABLE nsIDOMDOMCursor : public nsISupports {
104 : public:
105 :
106 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOMCURSOR_IID)
107 :
108 : /* readonly attribute boolean done; */
109 : NS_IMETHOD GetDone(bool *aDone) = 0;
110 :
111 : /* void continue (); */
112 : NS_IMETHOD Continue(void) = 0;
113 :
114 : };
115 :
116 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDOMCursor, NS_IDOMDOMCURSOR_IID)
117 :
118 : /* Use this macro when declaring classes that implement this interface. */
119 : #define NS_DECL_NSIDOMDOMCURSOR \
120 : NS_IMETHOD GetDone(bool *aDone) override; \
121 : NS_IMETHOD Continue(void) override;
122 :
123 : /* Use this macro when declaring the members of this interface when the
124 : class doesn't implement the interface. This is useful for forwarding. */
125 : #define NS_DECL_NON_VIRTUAL_NSIDOMDOMCURSOR \
126 : nsresult GetDone(bool *aDone); \
127 : nsresult Continue(void);
128 :
129 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
130 : #define NS_FORWARD_NSIDOMDOMCURSOR(_to) \
131 : NS_IMETHOD GetDone(bool *aDone) override { return _to GetDone(aDone); } \
132 : NS_IMETHOD Continue(void) override { return _to Continue(); }
133 :
134 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
135 : #define NS_FORWARD_SAFE_NSIDOMDOMCURSOR(_to) \
136 : NS_IMETHOD GetDone(bool *aDone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDone(aDone); } \
137 : NS_IMETHOD Continue(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Continue(); }
138 :
139 : #if 0
140 : /* Use the code below as a template for the implementation class for this interface. */
141 :
142 : /* Header file */
143 : class nsDOMDOMCursor : public nsIDOMDOMCursor
144 : {
145 : public:
146 : NS_DECL_ISUPPORTS
147 : NS_DECL_NSIDOMDOMCURSOR
148 :
149 : nsDOMDOMCursor();
150 :
151 : private:
152 : ~nsDOMDOMCursor();
153 :
154 : protected:
155 : /* additional members */
156 : };
157 :
158 : /* Implementation file */
159 : NS_IMPL_ISUPPORTS(nsDOMDOMCursor, nsIDOMDOMCursor)
160 :
161 : nsDOMDOMCursor::nsDOMDOMCursor()
162 : {
163 : /* member initializers and constructor code */
164 : }
165 :
166 : nsDOMDOMCursor::~nsDOMDOMCursor()
167 : {
168 : /* destructor code */
169 : }
170 :
171 : /* readonly attribute boolean done; */
172 : NS_IMETHODIMP nsDOMDOMCursor::GetDone(bool *aDone)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 :
177 : /* void continue (); */
178 : NS_IMETHODIMP nsDOMDOMCursor::Continue()
179 : {
180 : return NS_ERROR_NOT_IMPLEMENTED;
181 : }
182 :
183 : /* End of implementation class template. */
184 : #endif
185 :
186 :
187 : #endif /* __gen_nsIDOMDOMCursor_h__ */
|