1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/inspector/public/inISearchProcess.idl
3 : */
4 :
5 : #ifndef __gen_inISearchProcess_h__
6 : #define __gen_inISearchProcess_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 nsAString; /* forward declaration */
18 :
19 : class inISearchObserver; /* forward declaration */
20 :
21 :
22 : /* starting interface: inISearchProcess */
23 : #define INISEARCHPROCESS_IID_STR "d5fa765b-2448-4686-b7c1-5ff13acb0fc9"
24 :
25 : #define INISEARCHPROCESS_IID \
26 : {0xd5fa765b, 0x2448, 0x4686, \
27 : { 0xb7, 0xc1, 0x5f, 0xf1, 0x3a, 0xcb, 0x0f, 0xc9 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE inISearchProcess : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(INISEARCHPROCESS_IID)
33 :
34 : /* readonly attribute boolean isActive; */
35 : NS_SCRIPTABLE NS_IMETHOD GetIsActive(bool *aIsActive) = 0;
36 :
37 : /* readonly attribute long resultCount; */
38 : NS_SCRIPTABLE NS_IMETHOD GetResultCount(PRInt32 *aResultCount) = 0;
39 :
40 : /* attribute boolean holdResults; */
41 : NS_SCRIPTABLE NS_IMETHOD GetHoldResults(bool *aHoldResults) = 0;
42 : NS_SCRIPTABLE NS_IMETHOD SetHoldResults(bool aHoldResults) = 0;
43 :
44 : /* void searchSync (); */
45 : NS_SCRIPTABLE NS_IMETHOD SearchSync(void) = 0;
46 :
47 : /* void searchAsync (in inISearchObserver aObserver); */
48 : NS_SCRIPTABLE NS_IMETHOD SearchAsync(inISearchObserver *aObserver) = 0;
49 :
50 : /* void searchStop (); */
51 : NS_SCRIPTABLE NS_IMETHOD SearchStop(void) = 0;
52 :
53 : /* boolean searchStep (); */
54 : NS_SCRIPTABLE NS_IMETHOD SearchStep(bool *_retval NS_OUTPARAM) = 0;
55 :
56 : /* AString getStringResultAt (in long aIndex); */
57 : NS_SCRIPTABLE NS_IMETHOD GetStringResultAt(PRInt32 aIndex, nsAString & _retval NS_OUTPARAM) = 0;
58 :
59 : /* long getIntResultAt (in long aIndex); */
60 : NS_SCRIPTABLE NS_IMETHOD GetIntResultAt(PRInt32 aIndex, PRInt32 *_retval NS_OUTPARAM) = 0;
61 :
62 : /* unsigned long getUIntResultAt (in long aIndex); */
63 : NS_SCRIPTABLE NS_IMETHOD GetUIntResultAt(PRInt32 aIndex, PRUint32 *_retval NS_OUTPARAM) = 0;
64 :
65 : };
66 :
67 : NS_DEFINE_STATIC_IID_ACCESSOR(inISearchProcess, INISEARCHPROCESS_IID)
68 :
69 : /* Use this macro when declaring classes that implement this interface. */
70 : #define NS_DECL_INISEARCHPROCESS \
71 : NS_SCRIPTABLE NS_IMETHOD GetIsActive(bool *aIsActive); \
72 : NS_SCRIPTABLE NS_IMETHOD GetResultCount(PRInt32 *aResultCount); \
73 : NS_SCRIPTABLE NS_IMETHOD GetHoldResults(bool *aHoldResults); \
74 : NS_SCRIPTABLE NS_IMETHOD SetHoldResults(bool aHoldResults); \
75 : NS_SCRIPTABLE NS_IMETHOD SearchSync(void); \
76 : NS_SCRIPTABLE NS_IMETHOD SearchAsync(inISearchObserver *aObserver); \
77 : NS_SCRIPTABLE NS_IMETHOD SearchStop(void); \
78 : NS_SCRIPTABLE NS_IMETHOD SearchStep(bool *_retval NS_OUTPARAM); \
79 : NS_SCRIPTABLE NS_IMETHOD GetStringResultAt(PRInt32 aIndex, nsAString & _retval NS_OUTPARAM); \
80 : NS_SCRIPTABLE NS_IMETHOD GetIntResultAt(PRInt32 aIndex, PRInt32 *_retval NS_OUTPARAM); \
81 : NS_SCRIPTABLE NS_IMETHOD GetUIntResultAt(PRInt32 aIndex, PRUint32 *_retval NS_OUTPARAM);
82 :
83 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
84 : #define NS_FORWARD_INISEARCHPROCESS(_to) \
85 : NS_SCRIPTABLE NS_IMETHOD GetIsActive(bool *aIsActive) { return _to GetIsActive(aIsActive); } \
86 : NS_SCRIPTABLE NS_IMETHOD GetResultCount(PRInt32 *aResultCount) { return _to GetResultCount(aResultCount); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetHoldResults(bool *aHoldResults) { return _to GetHoldResults(aHoldResults); } \
88 : NS_SCRIPTABLE NS_IMETHOD SetHoldResults(bool aHoldResults) { return _to SetHoldResults(aHoldResults); } \
89 : NS_SCRIPTABLE NS_IMETHOD SearchSync(void) { return _to SearchSync(); } \
90 : NS_SCRIPTABLE NS_IMETHOD SearchAsync(inISearchObserver *aObserver) { return _to SearchAsync(aObserver); } \
91 : NS_SCRIPTABLE NS_IMETHOD SearchStop(void) { return _to SearchStop(); } \
92 : NS_SCRIPTABLE NS_IMETHOD SearchStep(bool *_retval NS_OUTPARAM) { return _to SearchStep(_retval); } \
93 : NS_SCRIPTABLE NS_IMETHOD GetStringResultAt(PRInt32 aIndex, nsAString & _retval NS_OUTPARAM) { return _to GetStringResultAt(aIndex, _retval); } \
94 : NS_SCRIPTABLE NS_IMETHOD GetIntResultAt(PRInt32 aIndex, PRInt32 *_retval NS_OUTPARAM) { return _to GetIntResultAt(aIndex, _retval); } \
95 : NS_SCRIPTABLE NS_IMETHOD GetUIntResultAt(PRInt32 aIndex, PRUint32 *_retval NS_OUTPARAM) { return _to GetUIntResultAt(aIndex, _retval); }
96 :
97 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
98 : #define NS_FORWARD_SAFE_INISEARCHPROCESS(_to) \
99 : NS_SCRIPTABLE NS_IMETHOD GetIsActive(bool *aIsActive) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsActive(aIsActive); } \
100 : NS_SCRIPTABLE NS_IMETHOD GetResultCount(PRInt32 *aResultCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResultCount(aResultCount); } \
101 : NS_SCRIPTABLE NS_IMETHOD GetHoldResults(bool *aHoldResults) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHoldResults(aHoldResults); } \
102 : NS_SCRIPTABLE NS_IMETHOD SetHoldResults(bool aHoldResults) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHoldResults(aHoldResults); } \
103 : NS_SCRIPTABLE NS_IMETHOD SearchSync(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchSync(); } \
104 : NS_SCRIPTABLE NS_IMETHOD SearchAsync(inISearchObserver *aObserver) { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchAsync(aObserver); } \
105 : NS_SCRIPTABLE NS_IMETHOD SearchStop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStop(); } \
106 : NS_SCRIPTABLE NS_IMETHOD SearchStep(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStep(_retval); } \
107 : NS_SCRIPTABLE NS_IMETHOD GetStringResultAt(PRInt32 aIndex, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringResultAt(aIndex, _retval); } \
108 : NS_SCRIPTABLE NS_IMETHOD GetIntResultAt(PRInt32 aIndex, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntResultAt(aIndex, _retval); } \
109 : NS_SCRIPTABLE NS_IMETHOD GetUIntResultAt(PRInt32 aIndex, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUIntResultAt(aIndex, _retval); }
110 :
111 : #if 0
112 : /* Use the code below as a template for the implementation class for this interface. */
113 :
114 : /* Header file */
115 : class inSearchProcess : public inISearchProcess
116 : {
117 : public:
118 : NS_DECL_ISUPPORTS
119 : NS_DECL_INISEARCHPROCESS
120 :
121 : inSearchProcess();
122 :
123 : private:
124 : ~inSearchProcess();
125 :
126 : protected:
127 : /* additional members */
128 : };
129 :
130 : /* Implementation file */
131 : NS_IMPL_ISUPPORTS1(inSearchProcess, inISearchProcess)
132 :
133 : inSearchProcess::inSearchProcess()
134 : {
135 : /* member initializers and constructor code */
136 : }
137 :
138 : inSearchProcess::~inSearchProcess()
139 : {
140 : /* destructor code */
141 : }
142 :
143 : /* readonly attribute boolean isActive; */
144 : NS_IMETHODIMP inSearchProcess::GetIsActive(bool *aIsActive)
145 : {
146 : return NS_ERROR_NOT_IMPLEMENTED;
147 : }
148 :
149 : /* readonly attribute long resultCount; */
150 : NS_IMETHODIMP inSearchProcess::GetResultCount(PRInt32 *aResultCount)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute boolean holdResults; */
156 : NS_IMETHODIMP inSearchProcess::GetHoldResults(bool *aHoldResults)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP inSearchProcess::SetHoldResults(bool aHoldResults)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* void searchSync (); */
166 : NS_IMETHODIMP inSearchProcess::SearchSync()
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* void searchAsync (in inISearchObserver aObserver); */
172 : NS_IMETHODIMP inSearchProcess::SearchAsync(inISearchObserver *aObserver)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 :
177 : /* void searchStop (); */
178 : NS_IMETHODIMP inSearchProcess::SearchStop()
179 : {
180 : return NS_ERROR_NOT_IMPLEMENTED;
181 : }
182 :
183 : /* boolean searchStep (); */
184 : NS_IMETHODIMP inSearchProcess::SearchStep(bool *_retval NS_OUTPARAM)
185 : {
186 : return NS_ERROR_NOT_IMPLEMENTED;
187 : }
188 :
189 : /* AString getStringResultAt (in long aIndex); */
190 : NS_IMETHODIMP inSearchProcess::GetStringResultAt(PRInt32 aIndex, nsAString & _retval NS_OUTPARAM)
191 : {
192 : return NS_ERROR_NOT_IMPLEMENTED;
193 : }
194 :
195 : /* long getIntResultAt (in long aIndex); */
196 : NS_IMETHODIMP inSearchProcess::GetIntResultAt(PRInt32 aIndex, PRInt32 *_retval NS_OUTPARAM)
197 : {
198 : return NS_ERROR_NOT_IMPLEMENTED;
199 : }
200 :
201 : /* unsigned long getUIntResultAt (in long aIndex); */
202 : NS_IMETHODIMP inSearchProcess::GetUIntResultAt(PRInt32 aIndex, PRUint32 *_retval NS_OUTPARAM)
203 : {
204 : return NS_ERROR_NOT_IMPLEMENTED;
205 : }
206 :
207 : /* End of implementation class template. */
208 : #endif
209 :
210 :
211 : #endif /* __gen_inISearchProcess_h__ */
|