1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
---|
2 | /* ***** BEGIN LICENSE BLOCK *****
|
---|
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
---|
4 | *
|
---|
5 | * The contents of this file are subject to the Mozilla Public License Version
|
---|
6 | * 1.1 (the "License"); you may not use this file except in compliance with
|
---|
7 | * the License. You may obtain a copy of the License at
|
---|
8 | * http://www.mozilla.org/MPL/
|
---|
9 | *
|
---|
10 | * Software distributed under the License is distributed on an "AS IS" basis,
|
---|
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
---|
12 | * for the specific language governing rights and limitations under the
|
---|
13 | * License.
|
---|
14 | *
|
---|
15 | * The Original Code is Mozilla Communicator client code, released
|
---|
16 | * March 31, 1998.
|
---|
17 | *
|
---|
18 | * The Initial Developer of the Original Code is
|
---|
19 | * Netscape Communications Corporation.
|
---|
20 | * Portions created by the Initial Developer are Copyright (C) 1998-1999
|
---|
21 | * the Initial Developer. All Rights Reserved.
|
---|
22 | *
|
---|
23 | * Contributor(s):
|
---|
24 | * Mike Shaver <[email protected]>
|
---|
25 | * Christopher Blizzard <[email protected]>
|
---|
26 | * Jason Eager <[email protected]>
|
---|
27 | * Stuart Parmenter <[email protected]>
|
---|
28 | * Brendan Eich <[email protected]>
|
---|
29 | * Pete Collins <[email protected]>
|
---|
30 | * Paul Ashford <[email protected]>
|
---|
31 | *
|
---|
32 | * Alternatively, the contents of this file may be used under the terms of
|
---|
33 | * either of the GNU General Public License Version 2 or later (the "GPL"),
|
---|
34 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
---|
35 | * in which case the provisions of the GPL or the LGPL are applicable instead
|
---|
36 | * of those above. If you wish to allow use of your version of this file only
|
---|
37 | * under the terms of either the GPL or the LGPL, and not to allow others to
|
---|
38 | * use your version of this file under the terms of the MPL, indicate your
|
---|
39 | * decision by deleting the provisions above and replace them with the notice
|
---|
40 | * and other provisions required by the GPL or the LGPL. If you do not delete
|
---|
41 | * the provisions above, a recipient may use your version of this file under
|
---|
42 | * the terms of any one of the MPL, the GPL or the LGPL.
|
---|
43 | *
|
---|
44 | * ***** END LICENSE BLOCK ***** */
|
---|
45 |
|
---|
46 | /**
|
---|
47 | * Implementation of nsIFile for L4 systems.
|
---|
48 | *
|
---|
49 | * Notes to all those who have something to do with this file again: I have told almost
|
---|
50 | * all functions to return NS_ERROR_FAILURE. A good starting point if you need to
|
---|
51 | * implement any of it would be to search/replace those with standard assertions.
|
---|
52 | */
|
---|
53 |
|
---|
54 | #include "nsDirectoryServiceDefs.h"
|
---|
55 | #include "nsCRT.h"
|
---|
56 | #include "nsCOMPtr.h"
|
---|
57 | #include "nsMemory.h"
|
---|
58 | #include "nsIFile.h"
|
---|
59 | #include "nsString.h"
|
---|
60 | #include "nsReadableUtils.h"
|
---|
61 | #include "nsLocalFile.h"
|
---|
62 | #include "nsIComponentManager.h"
|
---|
63 | #include "nsXPIDLString.h"
|
---|
64 | #include "prproces.h"
|
---|
65 | #include "nsISimpleEnumerator.h"
|
---|
66 | #include "nsITimelineService.h"
|
---|
67 |
|
---|
68 | #include "nsNativeCharsetUtils.h"
|
---|
69 |
|
---|
70 | #if 0
|
---|
71 | /* directory enumerator */
|
---|
72 | class NS_COM
|
---|
73 | nsDirEnumeratorL4 : public nsISimpleEnumerator
|
---|
74 | {
|
---|
75 | public:
|
---|
76 | nsDirEnumeratorL4();
|
---|
77 |
|
---|
78 | // nsISupports interface
|
---|
79 | NS_DECL_ISUPPORTS
|
---|
80 |
|
---|
81 | // nsISimpleEnumerator interface
|
---|
82 | NS_DECL_NSISIMPLEENUMERATOR
|
---|
83 |
|
---|
84 | NS_IMETHOD Init(nsLocalFile *parent, PRBool ignored);
|
---|
85 |
|
---|
86 | private:
|
---|
87 | ~nsDirEnumeratorL4();
|
---|
88 |
|
---|
89 | protected:
|
---|
90 | NS_IMETHOD GetNextEntry();
|
---|
91 |
|
---|
92 | };
|
---|
93 |
|
---|
94 | nsDirEnumeratorL4::nsDirEnumeratorL4() :
|
---|
95 | mDir(nsnull),
|
---|
96 | mEntry(nsnull)
|
---|
97 | {
|
---|
98 | NS_ASSERTION(0, "nsDirEnumeratorL4 created!");
|
---|
99 | }
|
---|
100 |
|
---|
101 | nsDirEnumeratorL4::~nsDirEnumeratorL4()
|
---|
102 | {
|
---|
103 | }
|
---|
104 |
|
---|
105 | NS_IMPL_ISUPPORTS1(nsDirEnumeratorL4, nsISimpleEnumerator)
|
---|
106 |
|
---|
107 | NS_IMETHODIMP
|
---|
108 | nsDirEnumeratorL4::Init(nsLocalFile *parent, PRBool resolveSymlinks /*ignored*/)
|
---|
109 | {
|
---|
110 | return NS_ERROR_FAILURE;
|
---|
111 | }
|
---|
112 |
|
---|
113 | NS_IMETHODIMP
|
---|
114 | nsDirEnumeratorL4::HasMoreElements(PRBool *result)
|
---|
115 | {
|
---|
116 | return NS_ERROR_FAILURE;
|
---|
117 | }
|
---|
118 |
|
---|
119 | NS_IMETHODIMP
|
---|
120 | nsDirEnumeratorL4::GetNext(nsISupports **_retval)
|
---|
121 | {
|
---|
122 | return NS_ERROR_FAILURE;
|
---|
123 | }
|
---|
124 |
|
---|
125 | NS_IMETHODIMP
|
---|
126 | nsDirEnumeratorL4::GetNextEntry()
|
---|
127 | {
|
---|
128 | return NS_ERROR_FAILURE;
|
---|
129 | }
|
---|
130 | #endif /* 0 */
|
---|
131 |
|
---|
132 | nsLocalFile::nsLocalFile()
|
---|
133 | {
|
---|
134 | NS_ASSERTION(0, "nsLocalFile created!");
|
---|
135 | }
|
---|
136 |
|
---|
137 | nsLocalFile::nsLocalFile(const nsLocalFile& other)
|
---|
138 | {
|
---|
139 | NS_ASSERTION(0, "nsLocalFile created!");
|
---|
140 | }
|
---|
141 |
|
---|
142 | NS_IMPL_THREADSAFE_ISUPPORTS2(nsLocalFile,
|
---|
143 | nsIFile,
|
---|
144 | nsILocalFile)
|
---|
145 |
|
---|
146 | nsresult
|
---|
147 | nsLocalFile::nsLocalFileConstructor(nsISupports *outer,
|
---|
148 | const nsIID &aIID,
|
---|
149 | void **aInstancePtr)
|
---|
150 | {
|
---|
151 | NS_ASSERTION(0, "nsLocalFile::nsLocalFileConstructor called!");
|
---|
152 | return NS_ERROR_FAILURE;
|
---|
153 | }
|
---|
154 |
|
---|
155 | NS_IMETHODIMP
|
---|
156 | nsLocalFile::Clone(nsIFile **file)
|
---|
157 | {
|
---|
158 | // Just copy-construct ourselves
|
---|
159 | *file = new nsLocalFile(*this);
|
---|
160 | if (!*file)
|
---|
161 | return NS_ERROR_OUT_OF_MEMORY;
|
---|
162 |
|
---|
163 | NS_ADDREF(*file);
|
---|
164 |
|
---|
165 | return NS_OK;
|
---|
166 | }
|
---|
167 |
|
---|
168 | NS_IMETHODIMP
|
---|
169 | nsLocalFile::InitWithNativePath(const nsACString &filePath)
|
---|
170 | {
|
---|
171 | return NS_ERROR_FAILURE;
|
---|
172 | }
|
---|
173 |
|
---|
174 | NS_IMETHODIMP
|
---|
175 | nsLocalFile::OpenNSPRFileDesc(PRInt32 flags, PRInt32 mode, PRFileDesc **_retval)
|
---|
176 | {
|
---|
177 | return NS_ERROR_FAILURE;
|
---|
178 | }
|
---|
179 |
|
---|
180 | NS_IMETHODIMP
|
---|
181 | nsLocalFile::OpenANSIFileDesc(const char *mode, FILE **_retval)
|
---|
182 | {
|
---|
183 | return NS_ERROR_FAILURE;
|
---|
184 | }
|
---|
185 |
|
---|
186 | NS_IMETHODIMP
|
---|
187 | nsLocalFile::Create(PRUint32 type, PRUint32 permissions)
|
---|
188 | {
|
---|
189 | return NS_ERROR_FAILURE;
|
---|
190 | }
|
---|
191 |
|
---|
192 | NS_IMETHODIMP
|
---|
193 | nsLocalFile::AppendNative(const nsACString &fragment)
|
---|
194 | {
|
---|
195 | return NS_ERROR_FAILURE;
|
---|
196 | }
|
---|
197 |
|
---|
198 | NS_IMETHODIMP
|
---|
199 | nsLocalFile::AppendRelativeNativePath(const nsACString &fragment)
|
---|
200 | {
|
---|
201 | return NS_ERROR_FAILURE;
|
---|
202 | }
|
---|
203 |
|
---|
204 | NS_IMETHODIMP
|
---|
205 | nsLocalFile::Normalize()
|
---|
206 | {
|
---|
207 | return NS_ERROR_FAILURE;
|
---|
208 | }
|
---|
209 |
|
---|
210 | void
|
---|
211 | nsLocalFile::LocateNativeLeafName(nsACString::const_iterator &begin,
|
---|
212 | nsACString::const_iterator &end)
|
---|
213 | {
|
---|
214 | }
|
---|
215 |
|
---|
216 | NS_IMETHODIMP
|
---|
217 | nsLocalFile::GetNativeLeafName(nsACString &aLeafName)
|
---|
218 | {
|
---|
219 | return NS_ERROR_FAILURE;
|
---|
220 | }
|
---|
221 |
|
---|
222 | NS_IMETHODIMP
|
---|
223 | nsLocalFile::SetNativeLeafName(const nsACString &aLeafName)
|
---|
224 | {
|
---|
225 | return NS_ERROR_FAILURE;
|
---|
226 | }
|
---|
227 |
|
---|
228 | NS_IMETHODIMP
|
---|
229 | nsLocalFile::GetNativePath(nsACString &_retval)
|
---|
230 | {
|
---|
231 | return NS_ERROR_FAILURE;
|
---|
232 | }
|
---|
233 |
|
---|
234 | nsresult
|
---|
235 | nsLocalFile::GetNativeTargetPathName(nsIFile *newParent,
|
---|
236 | const nsACString &newName,
|
---|
237 | nsACString &_retval)
|
---|
238 | {
|
---|
239 | return NS_ERROR_FAILURE;
|
---|
240 | }
|
---|
241 |
|
---|
242 | nsresult
|
---|
243 | nsLocalFile::CopyDirectoryTo(nsIFile *newParent)
|
---|
244 | {
|
---|
245 | return NS_ERROR_FAILURE;
|
---|
246 | }
|
---|
247 |
|
---|
248 | NS_IMETHODIMP
|
---|
249 | nsLocalFile::CopyToNative(nsIFile *newParent, const nsACString &newName)
|
---|
250 | {
|
---|
251 | return NS_ERROR_FAILURE;
|
---|
252 | }
|
---|
253 |
|
---|
254 | NS_IMETHODIMP
|
---|
255 | nsLocalFile::CopyToFollowingLinksNative(nsIFile *newParent, const nsACString &newName)
|
---|
256 | {
|
---|
257 | return NS_ERROR_FAILURE;
|
---|
258 | }
|
---|
259 |
|
---|
260 | NS_IMETHODIMP
|
---|
261 | nsLocalFile::MoveToNative(nsIFile *newParent, const nsACString &newName)
|
---|
262 | {
|
---|
263 | return NS_ERROR_FAILURE;
|
---|
264 | }
|
---|
265 |
|
---|
266 | NS_IMETHODIMP
|
---|
267 | nsLocalFile::Remove(PRBool recursive)
|
---|
268 | {
|
---|
269 | return NS_ERROR_FAILURE;
|
---|
270 | }
|
---|
271 |
|
---|
272 | NS_IMETHODIMP
|
---|
273 | nsLocalFile::GetLastModifiedTime(PRInt64 *aLastModTime)
|
---|
274 | {
|
---|
275 | return NS_ERROR_FAILURE;
|
---|
276 | }
|
---|
277 |
|
---|
278 | NS_IMETHODIMP
|
---|
279 | nsLocalFile::SetLastModifiedTime(PRInt64 aLastModTime)
|
---|
280 | {
|
---|
281 | return NS_ERROR_FAILURE;
|
---|
282 | }
|
---|
283 |
|
---|
284 | NS_IMETHODIMP
|
---|
285 | nsLocalFile::GetLastModifiedTimeOfLink(PRInt64 *aLastModTimeOfLink)
|
---|
286 | {
|
---|
287 | return NS_ERROR_FAILURE;
|
---|
288 | }
|
---|
289 |
|
---|
290 | /*
|
---|
291 | * utime(2) may or may not dereference symlinks, joy.
|
---|
292 | */
|
---|
293 | NS_IMETHODIMP
|
---|
294 | nsLocalFile::SetLastModifiedTimeOfLink(PRInt64 aLastModTimeOfLink)
|
---|
295 | {
|
---|
296 | return NS_ERROR_FAILURE;
|
---|
297 | }
|
---|
298 |
|
---|
299 | NS_IMETHODIMP
|
---|
300 | nsLocalFile::GetPermissions(PRUint32 *aPermissions)
|
---|
301 | {
|
---|
302 | return NS_ERROR_FAILURE;
|
---|
303 | }
|
---|
304 |
|
---|
305 | NS_IMETHODIMP
|
---|
306 | nsLocalFile::GetPermissionsOfLink(PRUint32 *aPermissionsOfLink)
|
---|
307 | {
|
---|
308 | return NS_ERROR_FAILURE;
|
---|
309 | }
|
---|
310 |
|
---|
311 | NS_IMETHODIMP
|
---|
312 | nsLocalFile::SetPermissions(PRUint32 aPermissions)
|
---|
313 | {
|
---|
314 | return NS_ERROR_FAILURE;
|
---|
315 | }
|
---|
316 |
|
---|
317 | NS_IMETHODIMP
|
---|
318 | nsLocalFile::SetPermissionsOfLink(PRUint32 aPermissions)
|
---|
319 | {
|
---|
320 | return NS_ERROR_FAILURE;
|
---|
321 | }
|
---|
322 |
|
---|
323 | NS_IMETHODIMP
|
---|
324 | nsLocalFile::GetFileSize(PRInt64 *aFileSize)
|
---|
325 | {
|
---|
326 | return NS_ERROR_FAILURE;
|
---|
327 | }
|
---|
328 |
|
---|
329 | NS_IMETHODIMP
|
---|
330 | nsLocalFile::SetFileSize(PRInt64 aFileSize)
|
---|
331 | {
|
---|
332 | return NS_ERROR_FAILURE;
|
---|
333 | }
|
---|
334 |
|
---|
335 | NS_IMETHODIMP
|
---|
336 | nsLocalFile::GetFileSizeOfLink(PRInt64 *aFileSize)
|
---|
337 | {
|
---|
338 | return NS_ERROR_FAILURE;
|
---|
339 | }
|
---|
340 |
|
---|
341 | NS_IMETHODIMP
|
---|
342 | nsLocalFile::GetDiskSpaceAvailable(PRInt64 *aDiskSpaceAvailable)
|
---|
343 | {
|
---|
344 | return NS_ERROR_FAILURE;
|
---|
345 | }
|
---|
346 |
|
---|
347 | NS_IMETHODIMP
|
---|
348 | nsLocalFile::GetParent(nsIFile **aParent)
|
---|
349 | {
|
---|
350 | return NS_ERROR_FAILURE;
|
---|
351 | }
|
---|
352 |
|
---|
353 | NS_IMETHODIMP
|
---|
354 | nsLocalFile::Exists(PRBool *_retval)
|
---|
355 | {
|
---|
356 | return NS_ERROR_FAILURE;
|
---|
357 | }
|
---|
358 |
|
---|
359 | NS_IMETHODIMP
|
---|
360 | nsLocalFile::IsWritable(PRBool *_retval)
|
---|
361 | {
|
---|
362 | return NS_ERROR_FAILURE;
|
---|
363 | }
|
---|
364 |
|
---|
365 | NS_IMETHODIMP
|
---|
366 | nsLocalFile::IsReadable(PRBool *_retval)
|
---|
367 | {
|
---|
368 | return NS_ERROR_FAILURE;
|
---|
369 | }
|
---|
370 |
|
---|
371 | NS_IMETHODIMP
|
---|
372 | nsLocalFile::IsExecutable(PRBool *_retval)
|
---|
373 | {
|
---|
374 | return NS_ERROR_FAILURE;
|
---|
375 | }
|
---|
376 |
|
---|
377 | NS_IMETHODIMP
|
---|
378 | nsLocalFile::IsDirectory(PRBool *_retval)
|
---|
379 | {
|
---|
380 | return NS_ERROR_FAILURE;
|
---|
381 | }
|
---|
382 |
|
---|
383 | NS_IMETHODIMP
|
---|
384 | nsLocalFile::IsFile(PRBool *_retval)
|
---|
385 | {
|
---|
386 | return NS_ERROR_FAILURE;
|
---|
387 | }
|
---|
388 |
|
---|
389 | NS_IMETHODIMP
|
---|
390 | nsLocalFile::IsHidden(PRBool *_retval)
|
---|
391 | {
|
---|
392 | return NS_ERROR_FAILURE;
|
---|
393 | }
|
---|
394 |
|
---|
395 | NS_IMETHODIMP
|
---|
396 | nsLocalFile::IsSymlink(PRBool *_retval)
|
---|
397 | {
|
---|
398 | return NS_ERROR_FAILURE;
|
---|
399 | }
|
---|
400 |
|
---|
401 | NS_IMETHODIMP
|
---|
402 | nsLocalFile::IsSpecial(PRBool *_retval)
|
---|
403 | {
|
---|
404 | return NS_ERROR_FAILURE;
|
---|
405 | }
|
---|
406 |
|
---|
407 | NS_IMETHODIMP
|
---|
408 | nsLocalFile::Equals(nsIFile *inFile, PRBool *_retval)
|
---|
409 | {
|
---|
410 | return NS_ERROR_FAILURE;
|
---|
411 | }
|
---|
412 |
|
---|
413 | NS_IMETHODIMP
|
---|
414 | nsLocalFile::Contains(nsIFile *inFile, PRBool recur, PRBool *_retval)
|
---|
415 | {
|
---|
416 | return NS_ERROR_FAILURE;
|
---|
417 | }
|
---|
418 |
|
---|
419 | NS_IMETHODIMP
|
---|
420 | nsLocalFile::GetNativeTarget(nsACString &_retval)
|
---|
421 | {
|
---|
422 | return NS_ERROR_FAILURE;
|
---|
423 | }
|
---|
424 |
|
---|
425 | /* attribute PRBool followLinks; */
|
---|
426 | NS_IMETHODIMP
|
---|
427 | nsLocalFile::GetFollowLinks(PRBool *aFollowLinks)
|
---|
428 | {
|
---|
429 | return NS_ERROR_FAILURE;
|
---|
430 | }
|
---|
431 |
|
---|
432 | NS_IMETHODIMP
|
---|
433 | nsLocalFile::SetFollowLinks(PRBool aFollowLinks)
|
---|
434 | {
|
---|
435 | return NS_ERROR_FAILURE;
|
---|
436 | }
|
---|
437 |
|
---|
438 | NS_IMETHODIMP
|
---|
439 | nsLocalFile::GetDirectoryEntries(nsISimpleEnumerator **entries)
|
---|
440 | {
|
---|
441 | return NS_ERROR_FAILURE;
|
---|
442 | }
|
---|
443 |
|
---|
444 | NS_IMETHODIMP
|
---|
445 | nsLocalFile::Load(PRLibrary **_retval)
|
---|
446 | {
|
---|
447 | return NS_ERROR_FAILURE;
|
---|
448 | }
|
---|
449 |
|
---|
450 | NS_IMETHODIMP
|
---|
451 | nsLocalFile::GetPersistentDescriptor(nsACString &aPersistentDescriptor)
|
---|
452 | {
|
---|
453 | return NS_ERROR_FAILURE;
|
---|
454 | }
|
---|
455 |
|
---|
456 | NS_IMETHODIMP
|
---|
457 | nsLocalFile::SetPersistentDescriptor(const nsACString &aPersistentDescriptor)
|
---|
458 | {
|
---|
459 | return NS_ERROR_FAILURE;
|
---|
460 | }
|
---|
461 |
|
---|
462 | NS_IMETHODIMP
|
---|
463 | nsLocalFile::Reveal()
|
---|
464 | {
|
---|
465 | return NS_ERROR_FAILURE;
|
---|
466 | }
|
---|
467 |
|
---|
468 | NS_IMETHODIMP
|
---|
469 | nsLocalFile::Launch()
|
---|
470 | {
|
---|
471 | return NS_ERROR_FAILURE;
|
---|
472 | }
|
---|
473 |
|
---|
474 | nsresult
|
---|
475 | NS_NewNativeLocalFile(const nsACString &path, PRBool followSymlinks, nsILocalFile **result)
|
---|
476 | {
|
---|
477 | return NS_ERROR_FAILURE;
|
---|
478 | }
|
---|
479 |
|
---|
480 | // Unicode interface Wrapper
|
---|
481 | nsresult
|
---|
482 | nsLocalFile::InitWithPath(const nsAString &filePath)
|
---|
483 | {
|
---|
484 | return NS_ERROR_FAILURE;
|
---|
485 | }
|
---|
486 | nsresult
|
---|
487 | nsLocalFile::Append(const nsAString &node)
|
---|
488 | {
|
---|
489 | return NS_ERROR_FAILURE;
|
---|
490 | }
|
---|
491 | nsresult
|
---|
492 | nsLocalFile::AppendRelativePath(const nsAString &node)
|
---|
493 | {
|
---|
494 | return NS_ERROR_FAILURE;
|
---|
495 | }
|
---|
496 | nsresult
|
---|
497 | nsLocalFile::GetLeafName(nsAString &aLeafName)
|
---|
498 | {
|
---|
499 | return NS_ERROR_FAILURE;
|
---|
500 | }
|
---|
501 | nsresult
|
---|
502 | nsLocalFile::SetLeafName(const nsAString &aLeafName)
|
---|
503 | {
|
---|
504 | return NS_ERROR_FAILURE;
|
---|
505 | }
|
---|
506 | nsresult
|
---|
507 | nsLocalFile::GetPath(nsAString &_retval)
|
---|
508 | {
|
---|
509 | return NS_ERROR_FAILURE;
|
---|
510 | }
|
---|
511 | nsresult
|
---|
512 | nsLocalFile::CopyTo(nsIFile *newParentDir, const nsAString &newName)
|
---|
513 | {
|
---|
514 | return NS_ERROR_FAILURE;
|
---|
515 | }
|
---|
516 | nsresult
|
---|
517 | nsLocalFile::CopyToFollowingLinks(nsIFile *newParentDir, const nsAString &newName)
|
---|
518 | {
|
---|
519 | return NS_ERROR_FAILURE;
|
---|
520 | }
|
---|
521 | nsresult
|
---|
522 | nsLocalFile::MoveTo(nsIFile *newParentDir, const nsAString &newName)
|
---|
523 | {
|
---|
524 | return NS_ERROR_FAILURE;
|
---|
525 | }
|
---|
526 | nsresult
|
---|
527 | nsLocalFile::GetTarget(nsAString &_retval)
|
---|
528 | {
|
---|
529 | return NS_ERROR_FAILURE;
|
---|
530 | }
|
---|
531 | nsresult
|
---|
532 | NS_NewLocalFile(const nsAString &path, PRBool followLinks, nsILocalFile* *result)
|
---|
533 | {
|
---|
534 | return NS_ERROR_FAILURE;
|
---|
535 | }
|
---|
536 |
|
---|
537 | //-----------------------------------------------------------------------------
|
---|
538 | // global init/shutdown
|
---|
539 | //-----------------------------------------------------------------------------
|
---|
540 |
|
---|
541 | void
|
---|
542 | nsLocalFile::GlobalInit()
|
---|
543 | {
|
---|
544 | }
|
---|
545 |
|
---|
546 | void
|
---|
547 | nsLocalFile::GlobalShutdown()
|
---|
548 | {
|
---|
549 | }
|
---|