Mercurial > projects > dwt-linux
annotate dwt/internal/mozilla/nsIDownload_1_8.d @ 341:942da4b6558a
Ongoing fixup for compile
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:51 -0700 |
parents | 44258e0b6687 |
children | 8198e6052012 |
rev | line source |
---|---|
286 | 1 module dwt.internal.mozilla.nsIDownload; |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsITransfer; | |
6 import dwt.internal.mozilla.nsIURI; | |
7 import dwt.internal.mozilla.nsILocalFile; | |
8 import dwt.internal.mozilla.nsIObserver; | |
9 import dwt.internal.mozilla.nsICancelable; | |
10 import dwt.internal.mozilla.nsIMIMEInfo; | |
11 | |
12 const char[] NS_IDOWNLOAD_IID_STR = "9e1fd9f2-9727-4926-85cd-f16c375bba6d"; | |
13 | |
14 const nsIID NS_IDOWNLOAD_IID= | |
15 {0x9e1fd9f2, 0x9727, 0x4926, | |
16 [ 0x85, 0xcd, 0xf1, 0x6c, 0x37, 0x5b, 0xba, 0x6d ]}; | |
17 | |
341
942da4b6558a
Ongoing fixup for compile
John Reimer <terminal.node@gmail.com>
parents:
286
diff
changeset
|
18 //extern(System) |
286 | 19 |
20 interface nsIDownload_1_8 : nsITransfer { | |
21 | |
22 static const char[] IID_STR = NS_IDOWNLOAD_IID_STR; | |
23 static const nsIID IID = NS_IDOWNLOAD_IID; | |
24 | |
25 nsresult GetTargetFile(nsILocalFile *aTargetFile); | |
26 nsresult GetPercentComplete(PRInt32 *aPercentComplete); | |
27 nsresult GetAmountTransferred(PRUint64 *aAmountTransferred); | |
28 nsresult GetSize(PRUint64 *aSize); | |
29 nsresult GetSource(nsIURI *aSource); | |
30 nsresult GetTarget(nsIURI *aTarget); | |
31 nsresult GetCancelable(nsICancelable *aCancelable); | |
32 nsresult GetDisplayName(PRUnichar * *aDisplayName); | |
33 nsresult GetStartTime(PRInt64 *aStartTime); | |
34 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); | |
35 | |
36 } |