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