Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIExternalHelperAppService.idl
3 : */
4 :
5 : #ifndef __gen_nsIExternalHelperAppService_h__
6 : #define __gen_nsIExternalHelperAppService_h__
7 :
8 :
9 : #ifndef __gen_nsICancelable_h__
10 : #include "nsICancelable.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 nsIURI; /* forward declaration */
18 :
19 : class nsIRequest; /* forward declaration */
20 :
21 : class nsIStreamListener; /* forward declaration */
22 :
23 : class nsIFile; /* forward declaration */
24 :
25 : class nsIMIMEInfo; /* forward declaration */
26 :
27 : class nsIWebProgressListener2; /* forward declaration */
28 :
29 : class nsIInterfaceRequestor; /* forward declaration */
30 :
31 :
32 : /* starting interface: nsIExternalHelperAppService */
33 : #define NS_IEXTERNALHELPERAPPSERVICE_IID_STR "1e4f3ae1-b737-431f-a95d-31fa8da70199"
34 :
35 : #define NS_IEXTERNALHELPERAPPSERVICE_IID \
36 : {0x1e4f3ae1, 0xb737, 0x431f, \
37 : { 0xa9, 0x5d, 0x31, 0xfa, 0x8d, 0xa7, 0x01, 0x99 }}
38 :
39 3 : class NS_NO_VTABLE nsIExternalHelperAppService : public nsISupports {
40 : public:
41 :
42 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXTERNALHELPERAPPSERVICE_IID)
43 :
44 : /* nsIStreamListener doContent (in ACString aMimeContentType, in nsIRequest aRequest, in nsIInterfaceRequestor aContentContext, in boolean aForceSave, [optional] in nsIInterfaceRequestor aWindowContext); */
45 : NS_IMETHOD DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval) = 0;
46 :
47 : /* boolean applyDecodingForExtension (in AUTF8String aExtension, in ACString aEncodingType); */
48 : NS_IMETHOD ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval) = 0;
49 :
50 : };
51 :
52 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIExternalHelperAppService, NS_IEXTERNALHELPERAPPSERVICE_IID)
53 :
54 : /* Use this macro when declaring classes that implement this interface. */
55 : #define NS_DECL_NSIEXTERNALHELPERAPPSERVICE \
56 : NS_IMETHOD DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval) override; \
57 : NS_IMETHOD ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval) override;
58 :
59 : /* Use this macro when declaring the members of this interface when the
60 : class doesn't implement the interface. This is useful for forwarding. */
61 : #define NS_DECL_NON_VIRTUAL_NSIEXTERNALHELPERAPPSERVICE \
62 : nsresult DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval); \
63 : nsresult ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval);
64 :
65 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
66 : #define NS_FORWARD_NSIEXTERNALHELPERAPPSERVICE(_to) \
67 : NS_IMETHOD DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval) override { return _to DoContent(aMimeContentType, aRequest, aContentContext, aForceSave, aWindowContext, _retval); } \
68 : NS_IMETHOD ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval) override { return _to ApplyDecodingForExtension(aExtension, aEncodingType, _retval); }
69 :
70 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
71 : #define NS_FORWARD_SAFE_NSIEXTERNALHELPERAPPSERVICE(_to) \
72 : NS_IMETHOD DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoContent(aMimeContentType, aRequest, aContentContext, aForceSave, aWindowContext, _retval); } \
73 : NS_IMETHOD ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ApplyDecodingForExtension(aExtension, aEncodingType, _retval); }
74 :
75 : #if 0
76 : /* Use the code below as a template for the implementation class for this interface. */
77 :
78 : /* Header file */
79 : class nsExternalHelperAppService : public nsIExternalHelperAppService
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSIEXTERNALHELPERAPPSERVICE
84 :
85 : nsExternalHelperAppService();
86 :
87 : private:
88 : ~nsExternalHelperAppService();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS(nsExternalHelperAppService, nsIExternalHelperAppService)
96 :
97 : nsExternalHelperAppService::nsExternalHelperAppService()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsExternalHelperAppService::~nsExternalHelperAppService()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* nsIStreamListener doContent (in ACString aMimeContentType, in nsIRequest aRequest, in nsIInterfaceRequestor aContentContext, in boolean aForceSave, [optional] in nsIInterfaceRequestor aWindowContext); */
108 : NS_IMETHODIMP nsExternalHelperAppService::DoContent(const nsACString & aMimeContentType, nsIRequest *aRequest, nsIInterfaceRequestor *aContentContext, bool aForceSave, nsIInterfaceRequestor *aWindowContext, nsIStreamListener * *_retval)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* boolean applyDecodingForExtension (in AUTF8String aExtension, in ACString aEncodingType); */
114 : NS_IMETHODIMP nsExternalHelperAppService::ApplyDecodingForExtension(const nsACString & aExtension, const nsACString & aEncodingType, bool *_retval)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* End of implementation class template. */
120 : #endif
121 :
122 :
123 : /* starting interface: nsPIExternalAppLauncher */
124 : #define NS_PIEXTERNALAPPLAUNCHER_IID_STR "6613e2e7-feab-4e3a-bb1f-b03200d544ec"
125 :
126 : #define NS_PIEXTERNALAPPLAUNCHER_IID \
127 : {0x6613e2e7, 0xfeab, 0x4e3a, \
128 : { 0xbb, 0x1f, 0xb0, 0x32, 0x00, 0xd5, 0x44, 0xec }}
129 :
130 3 : class NS_NO_VTABLE nsPIExternalAppLauncher : public nsISupports {
131 : public:
132 :
133 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_PIEXTERNALAPPLAUNCHER_IID)
134 :
135 : /* void deleteTemporaryFileOnExit (in nsIFile aTemporaryFile); */
136 : NS_IMETHOD DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile) = 0;
137 :
138 : /* void deleteTemporaryPrivateFileWhenPossible (in nsIFile aTemporaryFile); */
139 : NS_IMETHOD DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile) = 0;
140 :
141 : };
142 :
143 : NS_DEFINE_STATIC_IID_ACCESSOR(nsPIExternalAppLauncher, NS_PIEXTERNALAPPLAUNCHER_IID)
144 :
145 : /* Use this macro when declaring classes that implement this interface. */
146 : #define NS_DECL_NSPIEXTERNALAPPLAUNCHER \
147 : NS_IMETHOD DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile) override; \
148 : NS_IMETHOD DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile) override;
149 :
150 : /* Use this macro when declaring the members of this interface when the
151 : class doesn't implement the interface. This is useful for forwarding. */
152 : #define NS_DECL_NON_VIRTUAL_NSPIEXTERNALAPPLAUNCHER \
153 : nsresult DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile); \
154 : nsresult DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile);
155 :
156 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
157 : #define NS_FORWARD_NSPIEXTERNALAPPLAUNCHER(_to) \
158 : NS_IMETHOD DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile) override { return _to DeleteTemporaryFileOnExit(aTemporaryFile); } \
159 : NS_IMETHOD DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile) override { return _to DeleteTemporaryPrivateFileWhenPossible(aTemporaryFile); }
160 :
161 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
162 : #define NS_FORWARD_SAFE_NSPIEXTERNALAPPLAUNCHER(_to) \
163 : NS_IMETHOD DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteTemporaryFileOnExit(aTemporaryFile); } \
164 : NS_IMETHOD DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteTemporaryPrivateFileWhenPossible(aTemporaryFile); }
165 :
166 : #if 0
167 : /* Use the code below as a template for the implementation class for this interface. */
168 :
169 : /* Header file */
170 : class _MYCLASS_ : public nsPIExternalAppLauncher
171 : {
172 : public:
173 : NS_DECL_ISUPPORTS
174 : NS_DECL_NSPIEXTERNALAPPLAUNCHER
175 :
176 : _MYCLASS_();
177 :
178 : private:
179 : ~_MYCLASS_();
180 :
181 : protected:
182 : /* additional members */
183 : };
184 :
185 : /* Implementation file */
186 : NS_IMPL_ISUPPORTS(_MYCLASS_, nsPIExternalAppLauncher)
187 :
188 : _MYCLASS_::_MYCLASS_()
189 : {
190 : /* member initializers and constructor code */
191 : }
192 :
193 : _MYCLASS_::~_MYCLASS_()
194 : {
195 : /* destructor code */
196 : }
197 :
198 : /* void deleteTemporaryFileOnExit (in nsIFile aTemporaryFile); */
199 : NS_IMETHODIMP _MYCLASS_::DeleteTemporaryFileOnExit(nsIFile *aTemporaryFile)
200 : {
201 : return NS_ERROR_NOT_IMPLEMENTED;
202 : }
203 :
204 : /* void deleteTemporaryPrivateFileWhenPossible (in nsIFile aTemporaryFile); */
205 : NS_IMETHODIMP _MYCLASS_::DeleteTemporaryPrivateFileWhenPossible(nsIFile *aTemporaryFile)
206 : {
207 : return NS_ERROR_NOT_IMPLEMENTED;
208 : }
209 :
210 : /* End of implementation class template. */
211 : #endif
212 :
213 :
214 : /* starting interface: nsIHelperAppLauncher */
215 : #define NS_IHELPERAPPLAUNCHER_IID_STR "acf2a516-7d7f-4771-8b22-6c4a559c088e"
216 :
217 : #define NS_IHELPERAPPLAUNCHER_IID \
218 : {0xacf2a516, 0x7d7f, 0x4771, \
219 : { 0x8b, 0x22, 0x6c, 0x4a, 0x55, 0x9c, 0x08, 0x8e }}
220 :
221 0 : class NS_NO_VTABLE nsIHelperAppLauncher : public nsICancelable {
222 : public:
223 :
224 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHELPERAPPLAUNCHER_IID)
225 :
226 : /* readonly attribute nsIMIMEInfo MIMEInfo; */
227 : NS_IMETHOD GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo) = 0;
228 :
229 : /* readonly attribute nsIURI source; */
230 : NS_IMETHOD GetSource(nsIURI * *aSource) = 0;
231 :
232 : /* readonly attribute AString suggestedFileName; */
233 : NS_IMETHOD GetSuggestedFileName(nsAString & aSuggestedFileName) = 0;
234 :
235 : /* void saveToDisk (in nsIFile aNewFileLocation, in boolean aRememberThisPreference); */
236 : NS_IMETHOD SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference) = 0;
237 :
238 : /* void launchWithApplication (in nsIFile aApplication, in boolean aRememberThisPreference); */
239 : NS_IMETHOD LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference) = 0;
240 :
241 : /* void saveDestinationAvailable (in nsIFile aFile); */
242 : NS_IMETHOD SaveDestinationAvailable(nsIFile *aFile) = 0;
243 :
244 : /* void setWebProgressListener (in nsIWebProgressListener2 aWebProgressListener); */
245 : NS_IMETHOD SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener) = 0;
246 :
247 : /* readonly attribute nsIFile targetFile; */
248 : NS_IMETHOD GetTargetFile(nsIFile * *aTargetFile) = 0;
249 :
250 : /* readonly attribute boolean targetFileIsExecutable; */
251 : NS_IMETHOD GetTargetFileIsExecutable(bool *aTargetFileIsExecutable) = 0;
252 :
253 : /* readonly attribute PRTime timeDownloadStarted; */
254 : NS_IMETHOD GetTimeDownloadStarted(PRTime *aTimeDownloadStarted) = 0;
255 :
256 : /* readonly attribute int64_t contentLength; */
257 : NS_IMETHOD GetContentLength(int64_t *aContentLength) = 0;
258 :
259 : };
260 :
261 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIHelperAppLauncher, NS_IHELPERAPPLAUNCHER_IID)
262 :
263 : /* Use this macro when declaring classes that implement this interface. */
264 : #define NS_DECL_NSIHELPERAPPLAUNCHER \
265 : NS_IMETHOD GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo) override; \
266 : NS_IMETHOD GetSource(nsIURI * *aSource) override; \
267 : NS_IMETHOD GetSuggestedFileName(nsAString & aSuggestedFileName) override; \
268 : NS_IMETHOD SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference) override; \
269 : NS_IMETHOD LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference) override; \
270 : NS_IMETHOD SaveDestinationAvailable(nsIFile *aFile) override; \
271 : NS_IMETHOD SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener) override; \
272 : NS_IMETHOD GetTargetFile(nsIFile * *aTargetFile) override; \
273 : NS_IMETHOD GetTargetFileIsExecutable(bool *aTargetFileIsExecutable) override; \
274 : NS_IMETHOD GetTimeDownloadStarted(PRTime *aTimeDownloadStarted) override; \
275 : NS_IMETHOD GetContentLength(int64_t *aContentLength) override;
276 :
277 : /* Use this macro when declaring the members of this interface when the
278 : class doesn't implement the interface. This is useful for forwarding. */
279 : #define NS_DECL_NON_VIRTUAL_NSIHELPERAPPLAUNCHER \
280 : nsresult GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo); \
281 : nsresult GetSource(nsIURI * *aSource); \
282 : nsresult GetSuggestedFileName(nsAString & aSuggestedFileName); \
283 : nsresult SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference); \
284 : nsresult LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference); \
285 : nsresult SaveDestinationAvailable(nsIFile *aFile); \
286 : nsresult SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener); \
287 : nsresult GetTargetFile(nsIFile * *aTargetFile); \
288 : nsresult GetTargetFileIsExecutable(bool *aTargetFileIsExecutable); \
289 : nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted); \
290 : nsresult GetContentLength(int64_t *aContentLength);
291 :
292 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
293 : #define NS_FORWARD_NSIHELPERAPPLAUNCHER(_to) \
294 : NS_IMETHOD GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo) override { return _to GetMIMEInfo(aMIMEInfo); } \
295 : NS_IMETHOD GetSource(nsIURI * *aSource) override { return _to GetSource(aSource); } \
296 : NS_IMETHOD GetSuggestedFileName(nsAString & aSuggestedFileName) override { return _to GetSuggestedFileName(aSuggestedFileName); } \
297 : NS_IMETHOD SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference) override { return _to SaveToDisk(aNewFileLocation, aRememberThisPreference); } \
298 : NS_IMETHOD LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference) override { return _to LaunchWithApplication(aApplication, aRememberThisPreference); } \
299 : NS_IMETHOD SaveDestinationAvailable(nsIFile *aFile) override { return _to SaveDestinationAvailable(aFile); } \
300 : NS_IMETHOD SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener) override { return _to SetWebProgressListener(aWebProgressListener); } \
301 : NS_IMETHOD GetTargetFile(nsIFile * *aTargetFile) override { return _to GetTargetFile(aTargetFile); } \
302 : NS_IMETHOD GetTargetFileIsExecutable(bool *aTargetFileIsExecutable) override { return _to GetTargetFileIsExecutable(aTargetFileIsExecutable); } \
303 : NS_IMETHOD GetTimeDownloadStarted(PRTime *aTimeDownloadStarted) override { return _to GetTimeDownloadStarted(aTimeDownloadStarted); } \
304 : NS_IMETHOD GetContentLength(int64_t *aContentLength) override { return _to GetContentLength(aContentLength); }
305 :
306 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
307 : #define NS_FORWARD_SAFE_NSIHELPERAPPLAUNCHER(_to) \
308 : NS_IMETHOD GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMIMEInfo(aMIMEInfo); } \
309 : NS_IMETHOD GetSource(nsIURI * *aSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSource(aSource); } \
310 : NS_IMETHOD GetSuggestedFileName(nsAString & aSuggestedFileName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuggestedFileName(aSuggestedFileName); } \
311 : NS_IMETHOD SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveToDisk(aNewFileLocation, aRememberThisPreference); } \
312 : NS_IMETHOD LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LaunchWithApplication(aApplication, aRememberThisPreference); } \
313 : NS_IMETHOD SaveDestinationAvailable(nsIFile *aFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveDestinationAvailable(aFile); } \
314 : NS_IMETHOD SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWebProgressListener(aWebProgressListener); } \
315 : NS_IMETHOD GetTargetFile(nsIFile * *aTargetFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetFile(aTargetFile); } \
316 : NS_IMETHOD GetTargetFileIsExecutable(bool *aTargetFileIsExecutable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetFileIsExecutable(aTargetFileIsExecutable); } \
317 : NS_IMETHOD GetTimeDownloadStarted(PRTime *aTimeDownloadStarted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeDownloadStarted(aTimeDownloadStarted); } \
318 : NS_IMETHOD GetContentLength(int64_t *aContentLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentLength(aContentLength); }
319 :
320 : #if 0
321 : /* Use the code below as a template for the implementation class for this interface. */
322 :
323 : /* Header file */
324 : class nsHelperAppLauncher : public nsIHelperAppLauncher
325 : {
326 : public:
327 : NS_DECL_ISUPPORTS
328 : NS_DECL_NSIHELPERAPPLAUNCHER
329 :
330 : nsHelperAppLauncher();
331 :
332 : private:
333 : ~nsHelperAppLauncher();
334 :
335 : protected:
336 : /* additional members */
337 : };
338 :
339 : /* Implementation file */
340 : NS_IMPL_ISUPPORTS(nsHelperAppLauncher, nsIHelperAppLauncher)
341 :
342 : nsHelperAppLauncher::nsHelperAppLauncher()
343 : {
344 : /* member initializers and constructor code */
345 : }
346 :
347 : nsHelperAppLauncher::~nsHelperAppLauncher()
348 : {
349 : /* destructor code */
350 : }
351 :
352 : /* readonly attribute nsIMIMEInfo MIMEInfo; */
353 : NS_IMETHODIMP nsHelperAppLauncher::GetMIMEInfo(nsIMIMEInfo * *aMIMEInfo)
354 : {
355 : return NS_ERROR_NOT_IMPLEMENTED;
356 : }
357 :
358 : /* readonly attribute nsIURI source; */
359 : NS_IMETHODIMP nsHelperAppLauncher::GetSource(nsIURI * *aSource)
360 : {
361 : return NS_ERROR_NOT_IMPLEMENTED;
362 : }
363 :
364 : /* readonly attribute AString suggestedFileName; */
365 : NS_IMETHODIMP nsHelperAppLauncher::GetSuggestedFileName(nsAString & aSuggestedFileName)
366 : {
367 : return NS_ERROR_NOT_IMPLEMENTED;
368 : }
369 :
370 : /* void saveToDisk (in nsIFile aNewFileLocation, in boolean aRememberThisPreference); */
371 : NS_IMETHODIMP nsHelperAppLauncher::SaveToDisk(nsIFile *aNewFileLocation, bool aRememberThisPreference)
372 : {
373 : return NS_ERROR_NOT_IMPLEMENTED;
374 : }
375 :
376 : /* void launchWithApplication (in nsIFile aApplication, in boolean aRememberThisPreference); */
377 : NS_IMETHODIMP nsHelperAppLauncher::LaunchWithApplication(nsIFile *aApplication, bool aRememberThisPreference)
378 : {
379 : return NS_ERROR_NOT_IMPLEMENTED;
380 : }
381 :
382 : /* void saveDestinationAvailable (in nsIFile aFile); */
383 : NS_IMETHODIMP nsHelperAppLauncher::SaveDestinationAvailable(nsIFile *aFile)
384 : {
385 : return NS_ERROR_NOT_IMPLEMENTED;
386 : }
387 :
388 : /* void setWebProgressListener (in nsIWebProgressListener2 aWebProgressListener); */
389 : NS_IMETHODIMP nsHelperAppLauncher::SetWebProgressListener(nsIWebProgressListener2 *aWebProgressListener)
390 : {
391 : return NS_ERROR_NOT_IMPLEMENTED;
392 : }
393 :
394 : /* readonly attribute nsIFile targetFile; */
395 : NS_IMETHODIMP nsHelperAppLauncher::GetTargetFile(nsIFile * *aTargetFile)
396 : {
397 : return NS_ERROR_NOT_IMPLEMENTED;
398 : }
399 :
400 : /* readonly attribute boolean targetFileIsExecutable; */
401 : NS_IMETHODIMP nsHelperAppLauncher::GetTargetFileIsExecutable(bool *aTargetFileIsExecutable)
402 : {
403 : return NS_ERROR_NOT_IMPLEMENTED;
404 : }
405 :
406 : /* readonly attribute PRTime timeDownloadStarted; */
407 : NS_IMETHODIMP nsHelperAppLauncher::GetTimeDownloadStarted(PRTime *aTimeDownloadStarted)
408 : {
409 : return NS_ERROR_NOT_IMPLEMENTED;
410 : }
411 :
412 : /* readonly attribute int64_t contentLength; */
413 : NS_IMETHODIMP nsHelperAppLauncher::GetContentLength(int64_t *aContentLength)
414 : {
415 : return NS_ERROR_NOT_IMPLEMENTED;
416 : }
417 :
418 : /* End of implementation class template. */
419 : #endif
420 :
421 :
422 : #endif /* __gen_nsIExternalHelperAppService_h__ */
|