comparison dwt/internal/mozilla/nsILocalFile.d @ 278:93409d9838c5

Commit more browser/xpcom updates, including still uncoverted source.
author John Reimer<terminal.node@gmail.com>
date Thu, 31 Jul 2008 19:17:51 -0700
parents dd63eb078d7a
children 3dfa75c74ed2
comparison
equal deleted inserted replaced
277:687f261028b8 278:93409d9838c5
18 18
19 extern(System) 19 extern(System)
20 20
21 interface nsILocalFile : nsIFile { 21 interface nsILocalFile : nsIFile {
22 22
23 static const char[] IID_STR = NS_ILOCALFILE_IID_STR; 23 static const char[] IID_STR = NS_ILOCALFILE_IID_STR;
24 static const nsIID IID = NS_ILOCALFILE_IID; 24 static const nsIID IID = NS_ILOCALFILE_IID;
25 25
26 nsresult InitWithPath(nsAString * filePath); 26 nsresult InitWithPath(nsAString * filePath);
27 nsresult InitWithNativePath(nsACString * filePath); 27 nsresult InitWithNativePath(nsACString * filePath);
28 nsresult InitWithFile(nsILocalFile aFile); 28 nsresult InitWithFile(nsILocalFile aFile);
29 nsresult GetFollowLinks(PRBool *aFollowLinks); 29 nsresult GetFollowLinks(PRBool *aFollowLinks);
30 nsresult SetFollowLinks(PRBool aFollowLinks); 30 nsresult SetFollowLinks(PRBool aFollowLinks);
31 nsresult OpenNSPRFileDesc(PRInt32 flags, PRInt32 mode, PRFileDesc * *_retval); 31 nsresult OpenNSPRFileDesc(PRInt32 flags, PRInt32 mode, PRFileDesc * *_retval);
32 nsresult OpenANSIFileDesc(char *mode, FILE * *_retval); 32 nsresult OpenANSIFileDesc(char *mode, FILE * *_retval);
33 nsresult Load(PRLibrary * *_retval); 33 nsresult Load(PRLibrary * *_retval);
34 nsresult GetDiskSpaceAvailable(PRInt64 *aDiskSpaceAvailable); 34 nsresult GetDiskSpaceAvailable(PRInt64 *aDiskSpaceAvailable);
35 nsresult AppendRelativePath(nsAString * relativeFilePath); 35 nsresult AppendRelativePath(nsAString * relativeFilePath);
36 nsresult AppendRelativeNativePath(nsACString * relativeFilePath); 36 nsresult AppendRelativeNativePath(nsACString * relativeFilePath);
37 nsresult GetPersistentDescriptor(nsACString * aPersistentDescriptor); 37 nsresult GetPersistentDescriptor(nsACString * aPersistentDescriptor);
38 nsresult SetPersistentDescriptor(nsACString * aPersistentDescriptor); 38 nsresult SetPersistentDescriptor(nsACString * aPersistentDescriptor);
39 nsresult Reveal(); 39 nsresult Reveal();
40 nsresult Launch(); 40 nsresult Launch();
41 nsresult GetRelativeDescriptor(nsILocalFile fromFile, nsACString * _retval); 41 nsresult GetRelativeDescriptor(nsILocalFile fromFile, nsACString * _retval);
42 nsresult SetRelativeDescriptor(nsILocalFile fromFile, nsACString * relativeDesc); 42 nsresult SetRelativeDescriptor(nsILocalFile fromFile, nsACString * relativeDesc);
43 } 43 }
44 44