Mercurial > projects > dwt-linux
annotate dwt/internal/mozilla/nsIDownload.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 | 8198e6052012 |
children |
rev | line source |
---|---|
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
1 module dwt.internal.mozilla.nsIDownload; |
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; |
344 | 4 import dwt.internal.mozilla.nsISupports; |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
5 import dwt.internal.mozilla.nsID; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
6 import dwt.internal.mozilla.nsITransfer; |
298
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
7 import dwt.internal.mozilla.nsIWebProgressListener; |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
8 import dwt.internal.mozilla.nsIURI; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
9 import dwt.internal.mozilla.nsILocalFile; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
10 import dwt.internal.mozilla.nsIObserver; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
11 import dwt.internal.mozilla.nsICancelable; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
12 import dwt.internal.mozilla.nsIMIMEInfo; |
344 | 13 import dwt.internal.mozilla.nsStringAPI; |
14 import dwt.internal.mozilla.prtime; | |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
15 |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
16 const char[] NS_IDOWNLOAD_IID_STR = "9e1fd9f2-9727-4926-85cd-f16c375bba6d"; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
17 |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
18 const nsIID NS_IDOWNLOAD_IID= |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
19 {0x9e1fd9f2, 0x9727, 0x4926, |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
20 [ 0x85, 0xcd, 0xf1, 0x6c, 0x37, 0x5b, 0xba, 0x6d ]}; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
21 |
344 | 22 interface nsIDownload : nsISupports { |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
23 |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
24 static const char[] IID_STR = NS_IDOWNLOAD_IID_STR; |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
25 static const nsIID IID = NS_IDOWNLOAD_IID; |
348
9a4d7706df52
Test Update to fix linux XPCOM interface issues
John Reimer <terminal.node@gmail.com>
parents:
344
diff
changeset
|
26 |
9a4d7706df52
Test Update to fix linux XPCOM interface issues
John Reimer <terminal.node@gmail.com>
parents:
344
diff
changeset
|
27 extern(System): |
298
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
28 nsresult Init(nsIURI aSource, nsIURI aTarget, nsAString* aDisplayName, nsIMIMEInfo aMIMEInfo, PRTime startTime, PRBool aPersist); |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
29 nsresult GetSource(nsIURI *aSource); |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
30 nsresult GetTarget(nsIURI *aTarget); |
298
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
31 nsresult GetPersist(PRBool *aPersist); |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
32 nsresult GetPercentComplete(PRInt32 *aPercentComplete); |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
33 nsresult GetDisplayName(PRUnichar * *aDisplayName); |
298
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
34 nsresult SetDisplayName(PRUnichar* aDisplayName); |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
35 nsresult GetStartTime(PRInt64 *aStartTime); |
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
36 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); |
298
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
37 nsresult GetListener(nsIWebProgressListener* aListener); |
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
38 nsresult SetListener(nsIWebProgressListener aListener); |
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
39 nsresult GetObserver(nsIObserver * aObserver); |
eec6ddb07873
More xpcom/mozilla port
John Reimer<terminal.node@gmail.com>
parents:
293
diff
changeset
|
40 nsresult SetObserver(nsIObserver aObserver); |
291
b0bd1789106b
fix: added wrong directory :(
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
41 } |