PageRenderTime 215ms CodeModel.GetById 101ms app.highlight 10ms RepoModel.GetById 100ms app.codeStats 1ms

/gecko_api/include/nsIWebBrowserFind.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 457 lines | 242 code | 66 blank | 149 comment | 0 complexity | 871898e1644c34d7b9d77d52693e2f56 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/embedding/components/find/public/nsIWebBrowserFind.idl
  3 */
  4
  5#ifndef __gen_nsIWebBrowserFind_h__
  6#define __gen_nsIWebBrowserFind_h__
  7
  8
  9#ifndef __gen_nsISupports_h__
 10#include "nsISupports.h"
 11#endif
 12
 13#ifndef __gen_domstubs_h__
 14#include "domstubs.h"
 15#endif
 16
 17/* For IDL files that don't want to include root IDL files. */
 18#ifndef NS_NO_VTABLE
 19#define NS_NO_VTABLE
 20#endif
 21
 22/* starting interface:    nsIWebBrowserFind */
 23#define NS_IWEBBROWSERFIND_IID_STR "2f977d44-5485-11d4-87e2-0010a4e75ef2"
 24
 25#define NS_IWEBBROWSERFIND_IID \
 26  {0x2f977d44, 0x5485, 0x11d4, \
 27    { 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 }}
 28
 29/**
 30 * nsIWebBrowserFind
 31 *
 32 * Searches for text in a web browser.
 33 *
 34 * Get one by doing a GetInterface on an nsIWebBrowser.
 35 *
 36 * By default, the implementation will search the focussed frame, or
 37 * if there is no focussed frame, the web browser content area. It
 38 * does not by default search subframes or iframes. To change this
 39 * behaviour, and to explicitly set the frame to search, 
 40 * QueryInterface to nsIWebBrowserFindInFrames.
 41 *
 42 * @status FROZEN
 43 */
 44class NS_NO_VTABLE NS_SCRIPTABLE nsIWebBrowserFind : public nsISupports {
 45 public: 
 46
 47  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERFIND_IID)
 48
 49  /**
 50     * findNext
 51     *
 52     * Finds, highlights, and scrolls into view the next occurrence of the
 53     * search string, using the current search settings. Fails if the
 54     * search string is empty.
 55     *
 56     * @return  Whether an occurrence was found
 57     */
 58  /* boolean findNext (); */
 59  NS_SCRIPTABLE NS_IMETHOD FindNext(PRBool *_retval) = 0;
 60
 61  /**
 62     * searchString
 63     *
 64     * The string to search for. This must be non-empty to search.
 65     */
 66  /* attribute wstring searchString; */
 67  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) = 0;
 68  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) = 0;
 69
 70  /**
 71     * findBackwards
 72     *
 73     * Whether to find backwards (towards the beginning of the document).
 74     * Default is false (search forward).
 75     */
 76  /* attribute boolean findBackwards; */
 77  NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) = 0;
 78  NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) = 0;
 79
 80  /**
 81     * wrapFind
 82     *
 83     * Whether the search wraps around to the start (or end) of the document
 84     * if no match was found between the current position and the end (or
 85     * beginning). Works correctly when searching backwards. Default is
 86     * false.
 87     */
 88  /* attribute boolean wrapFind; */
 89  NS_SCRIPTABLE NS_IMETHOD GetWrapFind(PRBool *aWrapFind) = 0;
 90  NS_SCRIPTABLE NS_IMETHOD SetWrapFind(PRBool aWrapFind) = 0;
 91
 92  /**
 93     * entireWord
 94     *
 95     * Whether to match entire words only. Default is false.
 96     */
 97  /* attribute boolean entireWord; */
 98  NS_SCRIPTABLE NS_IMETHOD GetEntireWord(PRBool *aEntireWord) = 0;
 99  NS_SCRIPTABLE NS_IMETHOD SetEntireWord(PRBool aEntireWord) = 0;
100
101  /**
102     * matchCase
103     *
104     * Whether to match case (case sensitive) when searching. Default is false.
105     */
106  /* attribute boolean matchCase; */
107  NS_SCRIPTABLE NS_IMETHOD GetMatchCase(PRBool *aMatchCase) = 0;
108  NS_SCRIPTABLE NS_IMETHOD SetMatchCase(PRBool aMatchCase) = 0;
109
110  /**
111     * searchFrames
112     *
113     * Whether to search through all frames in the content area. Default is true.
114     * 
115     * Note that you can control whether the search propagates into child or
116     * parent frames explicitly using nsIWebBrowserFindInFrames, but if one,
117     * but not both, of searchSubframes and searchParentFrames are set, this
118     * returns false.
119     */
120  /* attribute boolean searchFrames; */
121  NS_SCRIPTABLE NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) = 0;
122  NS_SCRIPTABLE NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) = 0;
123
124};
125
126  NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebBrowserFind, NS_IWEBBROWSERFIND_IID)
127
128/* Use this macro when declaring classes that implement this interface. */
129#define NS_DECL_NSIWEBBROWSERFIND \
130  NS_SCRIPTABLE NS_IMETHOD FindNext(PRBool *_retval); \
131  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString); \
132  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString); \
133  NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards); \
134  NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(PRBool aFindBackwards); \
135  NS_SCRIPTABLE NS_IMETHOD GetWrapFind(PRBool *aWrapFind); \
136  NS_SCRIPTABLE NS_IMETHOD SetWrapFind(PRBool aWrapFind); \
137  NS_SCRIPTABLE NS_IMETHOD GetEntireWord(PRBool *aEntireWord); \
138  NS_SCRIPTABLE NS_IMETHOD SetEntireWord(PRBool aEntireWord); \
139  NS_SCRIPTABLE NS_IMETHOD GetMatchCase(PRBool *aMatchCase); \
140  NS_SCRIPTABLE NS_IMETHOD SetMatchCase(PRBool aMatchCase); \
141  NS_SCRIPTABLE NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames); \
142  NS_SCRIPTABLE NS_IMETHOD SetSearchFrames(PRBool aSearchFrames); 
143
144/* Use this macro to declare functions that forward the behavior of this interface to another object. */
145#define NS_FORWARD_NSIWEBBROWSERFIND(_to) \
146  NS_SCRIPTABLE NS_IMETHOD FindNext(PRBool *_retval) { return _to FindNext(_retval); } \
147  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return _to GetSearchString(aSearchString); } \
148  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return _to SetSearchString(aSearchString); } \
149  NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) { return _to GetFindBackwards(aFindBackwards); } \
150  NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) { return _to SetFindBackwards(aFindBackwards); } \
151  NS_SCRIPTABLE NS_IMETHOD GetWrapFind(PRBool *aWrapFind) { return _to GetWrapFind(aWrapFind); } \
152  NS_SCRIPTABLE NS_IMETHOD SetWrapFind(PRBool aWrapFind) { return _to SetWrapFind(aWrapFind); } \
153  NS_SCRIPTABLE NS_IMETHOD GetEntireWord(PRBool *aEntireWord) { return _to GetEntireWord(aEntireWord); } \
154  NS_SCRIPTABLE NS_IMETHOD SetEntireWord(PRBool aEntireWord) { return _to SetEntireWord(aEntireWord); } \
155  NS_SCRIPTABLE NS_IMETHOD GetMatchCase(PRBool *aMatchCase) { return _to GetMatchCase(aMatchCase); } \
156  NS_SCRIPTABLE NS_IMETHOD SetMatchCase(PRBool aMatchCase) { return _to SetMatchCase(aMatchCase); } \
157  NS_SCRIPTABLE NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) { return _to GetSearchFrames(aSearchFrames); } \
158  NS_SCRIPTABLE NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) { return _to SetSearchFrames(aSearchFrames); } 
159
160/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
161#define NS_FORWARD_SAFE_NSIWEBBROWSERFIND(_to) \
162  NS_SCRIPTABLE NS_IMETHOD FindNext(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindNext(_retval); } \
163  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchString(aSearchString); } \
164  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchString(aSearchString); } \
165  NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFindBackwards(aFindBackwards); } \
166  NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFindBackwards(aFindBackwards); } \
167  NS_SCRIPTABLE NS_IMETHOD GetWrapFind(PRBool *aWrapFind) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWrapFind(aWrapFind); } \
168  NS_SCRIPTABLE NS_IMETHOD SetWrapFind(PRBool aWrapFind) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWrapFind(aWrapFind); } \
169  NS_SCRIPTABLE NS_IMETHOD GetEntireWord(PRBool *aEntireWord) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntireWord(aEntireWord); } \
170  NS_SCRIPTABLE NS_IMETHOD SetEntireWord(PRBool aEntireWord) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEntireWord(aEntireWord); } \
171  NS_SCRIPTABLE NS_IMETHOD GetMatchCase(PRBool *aMatchCase) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatchCase(aMatchCase); } \
172  NS_SCRIPTABLE NS_IMETHOD SetMatchCase(PRBool aMatchCase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMatchCase(aMatchCase); } \
173  NS_SCRIPTABLE NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchFrames(aSearchFrames); } \
174  NS_SCRIPTABLE NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchFrames(aSearchFrames); } 
175
176#if 0
177/* Use the code below as a template for the implementation class for this interface. */
178
179/* Header file */
180class nsWebBrowserFind : public nsIWebBrowserFind
181{
182public:
183  NS_DECL_ISUPPORTS
184  NS_DECL_NSIWEBBROWSERFIND
185
186  nsWebBrowserFind();
187
188private:
189  ~nsWebBrowserFind();
190
191protected:
192  /* additional members */
193};
194
195/* Implementation file */
196NS_IMPL_ISUPPORTS1(nsWebBrowserFind, nsIWebBrowserFind)
197
198nsWebBrowserFind::nsWebBrowserFind()
199{
200  /* member initializers and constructor code */
201}
202
203nsWebBrowserFind::~nsWebBrowserFind()
204{
205  /* destructor code */
206}
207
208/* boolean findNext (); */
209NS_IMETHODIMP nsWebBrowserFind::FindNext(PRBool *_retval)
210{
211    return NS_ERROR_NOT_IMPLEMENTED;
212}
213
214/* attribute wstring searchString; */
215NS_IMETHODIMP nsWebBrowserFind::GetSearchString(PRUnichar * *aSearchString)
216{
217    return NS_ERROR_NOT_IMPLEMENTED;
218}
219NS_IMETHODIMP nsWebBrowserFind::SetSearchString(const PRUnichar * aSearchString)
220{
221    return NS_ERROR_NOT_IMPLEMENTED;
222}
223
224/* attribute boolean findBackwards; */
225NS_IMETHODIMP nsWebBrowserFind::GetFindBackwards(PRBool *aFindBackwards)
226{
227    return NS_ERROR_NOT_IMPLEMENTED;
228}
229NS_IMETHODIMP nsWebBrowserFind::SetFindBackwards(PRBool aFindBackwards)
230{
231    return NS_ERROR_NOT_IMPLEMENTED;
232}
233
234/* attribute boolean wrapFind; */
235NS_IMETHODIMP nsWebBrowserFind::GetWrapFind(PRBool *aWrapFind)
236{
237    return NS_ERROR_NOT_IMPLEMENTED;
238}
239NS_IMETHODIMP nsWebBrowserFind::SetWrapFind(PRBool aWrapFind)
240{
241    return NS_ERROR_NOT_IMPLEMENTED;
242}
243
244/* attribute boolean entireWord; */
245NS_IMETHODIMP nsWebBrowserFind::GetEntireWord(PRBool *aEntireWord)
246{
247    return NS_ERROR_NOT_IMPLEMENTED;
248}
249NS_IMETHODIMP nsWebBrowserFind::SetEntireWord(PRBool aEntireWord)
250{
251    return NS_ERROR_NOT_IMPLEMENTED;
252}
253
254/* attribute boolean matchCase; */
255NS_IMETHODIMP nsWebBrowserFind::GetMatchCase(PRBool *aMatchCase)
256{
257    return NS_ERROR_NOT_IMPLEMENTED;
258}
259NS_IMETHODIMP nsWebBrowserFind::SetMatchCase(PRBool aMatchCase)
260{
261    return NS_ERROR_NOT_IMPLEMENTED;
262}
263
264/* attribute boolean searchFrames; */
265NS_IMETHODIMP nsWebBrowserFind::GetSearchFrames(PRBool *aSearchFrames)
266{
267    return NS_ERROR_NOT_IMPLEMENTED;
268}
269NS_IMETHODIMP nsWebBrowserFind::SetSearchFrames(PRBool aSearchFrames)
270{
271    return NS_ERROR_NOT_IMPLEMENTED;
272}
273
274/* End of implementation class template. */
275#endif
276
277
278/* starting interface:    nsIWebBrowserFindInFrames */
279#define NS_IWEBBROWSERFINDINFRAMES_IID_STR "e0f5d182-34bc-11d5-be5b-b760676c6ebc"
280
281#define NS_IWEBBROWSERFINDINFRAMES_IID \
282  {0xe0f5d182, 0x34bc, 0x11d5, \
283    { 0xbe, 0x5b, 0xb7, 0x60, 0x67, 0x6c, 0x6e, 0xbc }}
284
285/**
286 * nsIWebBrowserFindInFrames
287 *
288 * Controls how find behaves when multiple frames or iframes are present.
289 *
290 * Get by doing a QueryInterface from nsIWebBrowserFind.
291 *
292 * @status FROZEN
293 */
294class NS_NO_VTABLE NS_SCRIPTABLE nsIWebBrowserFindInFrames : public nsISupports {
295 public: 
296
297  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERFINDINFRAMES_IID)
298
299  /**
300     * currentSearchFrame
301     *
302     * Frame at which to start the search. Once the search is done, this will
303     * be set to be the last frame searched, whether or not a result was found.
304     * Has to be equal to or contained within the rootSearchFrame.
305     */
306  /* attribute nsIDOMWindow currentSearchFrame; */
307  NS_SCRIPTABLE NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) = 0;
308  NS_SCRIPTABLE NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) = 0;
309
310  /**
311     * rootSearchFrame
312     *
313     * Frame within which to confine the search (normally the content area frame).
314     * Set this to only search a subtree of the frame hierarchy.
315     */
316  /* attribute nsIDOMWindow rootSearchFrame; */
317  NS_SCRIPTABLE NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) = 0;
318  NS_SCRIPTABLE NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) = 0;
319
320  /**
321     * searchSubframes
322     *
323     * Whether to recurse down into subframes while searching. Default is true.
324     *
325     * Setting nsIWebBrowserfind.searchFrames to true sets this to true.
326     */
327  /* attribute boolean searchSubframes; */
328  NS_SCRIPTABLE NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) = 0;
329  NS_SCRIPTABLE NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) = 0;
330
331  /**
332     * searchParentFrames
333     *
334     * Whether to allow the search to propagate out of the currentSearchFrame into its
335     * parent frame(s). Search is always confined within the rootSearchFrame. Default
336     * is true.
337     *
338     * Setting nsIWebBrowserfind.searchFrames to true sets this to true.
339     */
340  /* attribute boolean searchParentFrames; */
341  NS_SCRIPTABLE NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) = 0;
342  NS_SCRIPTABLE NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) = 0;
343
344};
345
346  NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebBrowserFindInFrames, NS_IWEBBROWSERFINDINFRAMES_IID)
347
348/* Use this macro when declaring classes that implement this interface. */
349#define NS_DECL_NSIWEBBROWSERFINDINFRAMES \
350  NS_SCRIPTABLE NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame); \
351  NS_SCRIPTABLE NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame); \
352  NS_SCRIPTABLE NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame); \
353  NS_SCRIPTABLE NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame); \
354  NS_SCRIPTABLE NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes); \
355  NS_SCRIPTABLE NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes); \
356  NS_SCRIPTABLE NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames); \
357  NS_SCRIPTABLE NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames); 
358
359/* Use this macro to declare functions that forward the behavior of this interface to another object. */
360#define NS_FORWARD_NSIWEBBROWSERFINDINFRAMES(_to) \
361  NS_SCRIPTABLE NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) { return _to GetCurrentSearchFrame(aCurrentSearchFrame); } \
362  NS_SCRIPTABLE NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) { return _to SetCurrentSearchFrame(aCurrentSearchFrame); } \
363  NS_SCRIPTABLE NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) { return _to GetRootSearchFrame(aRootSearchFrame); } \
364  NS_SCRIPTABLE NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) { return _to SetRootSearchFrame(aRootSearchFrame); } \
365  NS_SCRIPTABLE NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) { return _to GetSearchSubframes(aSearchSubframes); } \
366  NS_SCRIPTABLE NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) { return _to SetSearchSubframes(aSearchSubframes); } \
367  NS_SCRIPTABLE NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) { return _to GetSearchParentFrames(aSearchParentFrames); } \
368  NS_SCRIPTABLE NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) { return _to SetSearchParentFrames(aSearchParentFrames); } 
369
370/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
371#define NS_FORWARD_SAFE_NSIWEBBROWSERFINDINFRAMES(_to) \
372  NS_SCRIPTABLE NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentSearchFrame(aCurrentSearchFrame); } \
373  NS_SCRIPTABLE NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentSearchFrame(aCurrentSearchFrame); } \
374  NS_SCRIPTABLE NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootSearchFrame(aRootSearchFrame); } \
375  NS_SCRIPTABLE NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootSearchFrame(aRootSearchFrame); } \
376  NS_SCRIPTABLE NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchSubframes(aSearchSubframes); } \
377  NS_SCRIPTABLE NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchSubframes(aSearchSubframes); } \
378  NS_SCRIPTABLE NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchParentFrames(aSearchParentFrames); } \
379  NS_SCRIPTABLE NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchParentFrames(aSearchParentFrames); } 
380
381#if 0
382/* Use the code below as a template for the implementation class for this interface. */
383
384/* Header file */
385class nsWebBrowserFindInFrames : public nsIWebBrowserFindInFrames
386{
387public:
388  NS_DECL_ISUPPORTS
389  NS_DECL_NSIWEBBROWSERFINDINFRAMES
390
391  nsWebBrowserFindInFrames();
392
393private:
394  ~nsWebBrowserFindInFrames();
395
396protected:
397  /* additional members */
398};
399
400/* Implementation file */
401NS_IMPL_ISUPPORTS1(nsWebBrowserFindInFrames, nsIWebBrowserFindInFrames)
402
403nsWebBrowserFindInFrames::nsWebBrowserFindInFrames()
404{
405  /* member initializers and constructor code */
406}
407
408nsWebBrowserFindInFrames::~nsWebBrowserFindInFrames()
409{
410  /* destructor code */
411}
412
413/* attribute nsIDOMWindow currentSearchFrame; */
414NS_IMETHODIMP nsWebBrowserFindInFrames::GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame)
415{
416    return NS_ERROR_NOT_IMPLEMENTED;
417}
418NS_IMETHODIMP nsWebBrowserFindInFrames::SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame)
419{
420    return NS_ERROR_NOT_IMPLEMENTED;
421}
422
423/* attribute nsIDOMWindow rootSearchFrame; */
424NS_IMETHODIMP nsWebBrowserFindInFrames::GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame)
425{
426    return NS_ERROR_NOT_IMPLEMENTED;
427}
428NS_IMETHODIMP nsWebBrowserFindInFrames::SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame)
429{
430    return NS_ERROR_NOT_IMPLEMENTED;
431}
432
433/* attribute boolean searchSubframes; */
434NS_IMETHODIMP nsWebBrowserFindInFrames::GetSearchSubframes(PRBool *aSearchSubframes)
435{
436    return NS_ERROR_NOT_IMPLEMENTED;
437}
438NS_IMETHODIMP nsWebBrowserFindInFrames::SetSearchSubframes(PRBool aSearchSubframes)
439{
440    return NS_ERROR_NOT_IMPLEMENTED;
441}
442
443/* attribute boolean searchParentFrames; */
444NS_IMETHODIMP nsWebBrowserFindInFrames::GetSearchParentFrames(PRBool *aSearchParentFrames)
445{
446    return NS_ERROR_NOT_IMPLEMENTED;
447}
448NS_IMETHODIMP nsWebBrowserFindInFrames::SetSearchParentFrames(PRBool aSearchParentFrames)
449{
450    return NS_ERROR_NOT_IMPLEMENTED;
451}
452
453/* End of implementation class template. */
454#endif
455
456
457#endif /* __gen_nsIWebBrowserFind_h__ */