1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/components/find/nsIFindService.idl
3 : */
4 :
5 : #ifndef __gen_nsIFindService_h__
6 : #define __gen_nsIFindService_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: nsIFindService */
19 : #define NS_IFINDSERVICE_IID_STR "5060b801-340e-11d5-be5b-b3e063ec6a3c"
20 :
21 : #define NS_IFINDSERVICE_IID \
22 : {0x5060b801, 0x340e, 0x11d5, \
23 : { 0xbe, 0x5b, 0xb3, 0xe0, 0x63, 0xec, 0x6a, 0x3c }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIFindService : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFINDSERVICE_IID)
29 :
30 : /* attribute AString searchString; */
31 : NS_SCRIPTABLE NS_IMETHOD GetSearchString(nsAString & aSearchString) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetSearchString(const nsAString & aSearchString) = 0;
33 :
34 : /* attribute AString replaceString; */
35 : NS_SCRIPTABLE NS_IMETHOD GetReplaceString(nsAString & aReplaceString) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetReplaceString(const nsAString & aReplaceString) = 0;
37 :
38 : /* attribute boolean findBackwards; */
39 : NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(bool *aFindBackwards) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(bool aFindBackwards) = 0;
41 :
42 : /* attribute boolean wrapFind; */
43 : NS_SCRIPTABLE NS_IMETHOD GetWrapFind(bool *aWrapFind) = 0;
44 : NS_SCRIPTABLE NS_IMETHOD SetWrapFind(bool aWrapFind) = 0;
45 :
46 : /* attribute boolean entireWord; */
47 : NS_SCRIPTABLE NS_IMETHOD GetEntireWord(bool *aEntireWord) = 0;
48 : NS_SCRIPTABLE NS_IMETHOD SetEntireWord(bool aEntireWord) = 0;
49 :
50 : /* attribute boolean matchCase; */
51 : NS_SCRIPTABLE NS_IMETHOD GetMatchCase(bool *aMatchCase) = 0;
52 : NS_SCRIPTABLE NS_IMETHOD SetMatchCase(bool aMatchCase) = 0;
53 :
54 : };
55 :
56 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIFindService, NS_IFINDSERVICE_IID)
57 :
58 : /* Use this macro when declaring classes that implement this interface. */
59 : #define NS_DECL_NSIFINDSERVICE \
60 : NS_SCRIPTABLE NS_IMETHOD GetSearchString(nsAString & aSearchString); \
61 : NS_SCRIPTABLE NS_IMETHOD SetSearchString(const nsAString & aSearchString); \
62 : NS_SCRIPTABLE NS_IMETHOD GetReplaceString(nsAString & aReplaceString); \
63 : NS_SCRIPTABLE NS_IMETHOD SetReplaceString(const nsAString & aReplaceString); \
64 : NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(bool *aFindBackwards); \
65 : NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(bool aFindBackwards); \
66 : NS_SCRIPTABLE NS_IMETHOD GetWrapFind(bool *aWrapFind); \
67 : NS_SCRIPTABLE NS_IMETHOD SetWrapFind(bool aWrapFind); \
68 : NS_SCRIPTABLE NS_IMETHOD GetEntireWord(bool *aEntireWord); \
69 : NS_SCRIPTABLE NS_IMETHOD SetEntireWord(bool aEntireWord); \
70 : NS_SCRIPTABLE NS_IMETHOD GetMatchCase(bool *aMatchCase); \
71 : NS_SCRIPTABLE NS_IMETHOD SetMatchCase(bool aMatchCase);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIFINDSERVICE(_to) \
75 : NS_SCRIPTABLE NS_IMETHOD GetSearchString(nsAString & aSearchString) { return _to GetSearchString(aSearchString); } \
76 : NS_SCRIPTABLE NS_IMETHOD SetSearchString(const nsAString & aSearchString) { return _to SetSearchString(aSearchString); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetReplaceString(nsAString & aReplaceString) { return _to GetReplaceString(aReplaceString); } \
78 : NS_SCRIPTABLE NS_IMETHOD SetReplaceString(const nsAString & aReplaceString) { return _to SetReplaceString(aReplaceString); } \
79 : NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(bool *aFindBackwards) { return _to GetFindBackwards(aFindBackwards); } \
80 : NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(bool aFindBackwards) { return _to SetFindBackwards(aFindBackwards); } \
81 : NS_SCRIPTABLE NS_IMETHOD GetWrapFind(bool *aWrapFind) { return _to GetWrapFind(aWrapFind); } \
82 : NS_SCRIPTABLE NS_IMETHOD SetWrapFind(bool aWrapFind) { return _to SetWrapFind(aWrapFind); } \
83 : NS_SCRIPTABLE NS_IMETHOD GetEntireWord(bool *aEntireWord) { return _to GetEntireWord(aEntireWord); } \
84 : NS_SCRIPTABLE NS_IMETHOD SetEntireWord(bool aEntireWord) { return _to SetEntireWord(aEntireWord); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetMatchCase(bool *aMatchCase) { return _to GetMatchCase(aMatchCase); } \
86 : NS_SCRIPTABLE NS_IMETHOD SetMatchCase(bool aMatchCase) { return _to SetMatchCase(aMatchCase); }
87 :
88 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
89 : #define NS_FORWARD_SAFE_NSIFINDSERVICE(_to) \
90 : NS_SCRIPTABLE NS_IMETHOD GetSearchString(nsAString & aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchString(aSearchString); } \
91 : NS_SCRIPTABLE NS_IMETHOD SetSearchString(const nsAString & aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchString(aSearchString); } \
92 : NS_SCRIPTABLE NS_IMETHOD GetReplaceString(nsAString & aReplaceString) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplaceString(aReplaceString); } \
93 : NS_SCRIPTABLE NS_IMETHOD SetReplaceString(const nsAString & aReplaceString) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplaceString(aReplaceString); } \
94 : NS_SCRIPTABLE NS_IMETHOD GetFindBackwards(bool *aFindBackwards) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFindBackwards(aFindBackwards); } \
95 : NS_SCRIPTABLE NS_IMETHOD SetFindBackwards(bool aFindBackwards) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFindBackwards(aFindBackwards); } \
96 : NS_SCRIPTABLE NS_IMETHOD GetWrapFind(bool *aWrapFind) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWrapFind(aWrapFind); } \
97 : NS_SCRIPTABLE NS_IMETHOD SetWrapFind(bool aWrapFind) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWrapFind(aWrapFind); } \
98 : NS_SCRIPTABLE NS_IMETHOD GetEntireWord(bool *aEntireWord) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntireWord(aEntireWord); } \
99 : NS_SCRIPTABLE NS_IMETHOD SetEntireWord(bool aEntireWord) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEntireWord(aEntireWord); } \
100 : NS_SCRIPTABLE NS_IMETHOD GetMatchCase(bool *aMatchCase) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatchCase(aMatchCase); } \
101 : NS_SCRIPTABLE NS_IMETHOD SetMatchCase(bool aMatchCase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMatchCase(aMatchCase); }
102 :
103 : #if 0
104 : /* Use the code below as a template for the implementation class for this interface. */
105 :
106 : /* Header file */
107 : class nsFindService : public nsIFindService
108 : {
109 : public:
110 : NS_DECL_ISUPPORTS
111 : NS_DECL_NSIFINDSERVICE
112 :
113 : nsFindService();
114 :
115 : private:
116 : ~nsFindService();
117 :
118 : protected:
119 : /* additional members */
120 : };
121 :
122 : /* Implementation file */
123 : NS_IMPL_ISUPPORTS1(nsFindService, nsIFindService)
124 :
125 : nsFindService::nsFindService()
126 : {
127 : /* member initializers and constructor code */
128 : }
129 :
130 : nsFindService::~nsFindService()
131 : {
132 : /* destructor code */
133 : }
134 :
135 : /* attribute AString searchString; */
136 : NS_IMETHODIMP nsFindService::GetSearchString(nsAString & aSearchString)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 : NS_IMETHODIMP nsFindService::SetSearchString(const nsAString & aSearchString)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* attribute AString replaceString; */
146 : NS_IMETHODIMP nsFindService::GetReplaceString(nsAString & aReplaceString)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP nsFindService::SetReplaceString(const nsAString & aReplaceString)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute boolean findBackwards; */
156 : NS_IMETHODIMP nsFindService::GetFindBackwards(bool *aFindBackwards)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP nsFindService::SetFindBackwards(bool aFindBackwards)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* attribute boolean wrapFind; */
166 : NS_IMETHODIMP nsFindService::GetWrapFind(bool *aWrapFind)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 : NS_IMETHODIMP nsFindService::SetWrapFind(bool aWrapFind)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 :
175 : /* attribute boolean entireWord; */
176 : NS_IMETHODIMP nsFindService::GetEntireWord(bool *aEntireWord)
177 : {
178 : return NS_ERROR_NOT_IMPLEMENTED;
179 : }
180 : NS_IMETHODIMP nsFindService::SetEntireWord(bool aEntireWord)
181 : {
182 : return NS_ERROR_NOT_IMPLEMENTED;
183 : }
184 :
185 : /* attribute boolean matchCase; */
186 : NS_IMETHODIMP nsFindService::GetMatchCase(bool *aMatchCase)
187 : {
188 : return NS_ERROR_NOT_IMPLEMENTED;
189 : }
190 : NS_IMETHODIMP nsFindService::SetMatchCase(bool aMatchCase)
191 : {
192 : return NS_ERROR_NOT_IMPLEMENTED;
193 : }
194 :
195 : /* End of implementation class template. */
196 : #endif
197 :
198 :
199 : #endif /* __gen_nsIFindService_h__ */
|