annotate dwt/internal/mozilla/nsIDownload_1_8.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
344
8198e6052012 more fixups:
John Reimer <terminal.node@gmail.com>
parents: 341
diff changeset
1 module dwt.internal.mozilla.nsIDownload_1_8;
286
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
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
18 interface nsIDownload_1_8 : nsITransfer {
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 static const char[] IID_STR = NS_IDOWNLOAD_IID_STR;
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
21 static const nsIID IID = NS_IDOWNLOAD_IID;
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22
348
9a4d7706df52 Test Update to fix linux XPCOM interface issues
John Reimer <terminal.node@gmail.com>
parents: 344
diff changeset
23 extern(System):
286
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
24 nsresult GetTargetFile(nsILocalFile *aTargetFile);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
25 nsresult GetPercentComplete(PRInt32 *aPercentComplete);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
26 nsresult GetAmountTransferred(PRUint64 *aAmountTransferred);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
27 nsresult GetSize(PRUint64 *aSize);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
28 nsresult GetSource(nsIURI *aSource);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
29 nsresult GetTarget(nsIURI *aTarget);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
30 nsresult GetCancelable(nsICancelable *aCancelable);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
31 nsresult GetDisplayName(PRUnichar * *aDisplayName);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
32 nsresult GetStartTime(PRInt64 *aStartTime);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
33 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo);
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
34
44258e0b6687 More fixes for xpcom
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
35 }