annotate dwt/internal/mozilla/nsILocalFile.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
291
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1 module dwt.internal.mozilla.nsILocalFile;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3 import dwt.internal.mozilla.Common;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
4 import dwt.internal.mozilla.prlink;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
5 import dwt.internal.mozilla.prio;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
6 import dwt.internal.mozilla.prtime;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
7 import dwt.internal.mozilla.nsID;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
8 import dwt.internal.mozilla.nsIFile;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
9 import dwt.internal.mozilla.nsStringAPI;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
10
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
11 import tango.stdc.stdio : FILE;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
12
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
13 const char[] NS_ILOCALFILE_IID_STR = "aa610f20-a889-11d3-8c81-000064657374";
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
14
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
15 const nsIID NS_ILOCALFILE_IID=
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
16 {0xaa610f20, 0xa889, 0x11d3,
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
17 [ 0x8c, 0x81, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 ]};
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
18
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
19 interface nsILocalFile : nsIFile {
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
20
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
21 static const char[] IID_STR = NS_ILOCALFILE_IID_STR;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22 static const nsIID IID = NS_ILOCALFILE_IID;
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
23
348
9a4d7706df52 Test Update to fix linux XPCOM interface issues
John Reimer <terminal.node@gmail.com>
parents: 341
diff changeset
24 extern(System):
291
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
25 nsresult InitWithPath(nsAString * filePath);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
26 nsresult InitWithNativePath(nsACString * filePath);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
27 nsresult InitWithFile(nsILocalFile aFile);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
28 nsresult GetFollowLinks(PRBool *aFollowLinks);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
29 nsresult SetFollowLinks(PRBool aFollowLinks);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
30 nsresult OpenNSPRFileDesc(PRInt32 flags, PRInt32 mode, PRFileDesc * *_retval);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
31 nsresult OpenANSIFileDesc(char *mode, FILE * *_retval);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
32 nsresult Load(PRLibrary * *_retval);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
33 nsresult GetDiskSpaceAvailable(PRInt64 *aDiskSpaceAvailable);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
34 nsresult AppendRelativePath(nsAString * relativeFilePath);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
35 nsresult AppendRelativeNativePath(nsACString * relativeFilePath);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
36 nsresult GetPersistentDescriptor(nsACString * aPersistentDescriptor);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
37 nsresult SetPersistentDescriptor(nsACString * aPersistentDescriptor);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
38 nsresult Reveal();
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
39 nsresult Launch();
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
40 nsresult GetRelativeDescriptor(nsILocalFile fromFile, nsACString * _retval);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
41 nsresult SetRelativeDescriptor(nsILocalFile fromFile, nsACString * relativeDesc);
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
42 }
b0bd1789106b fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
43