| 1 |
module dwt.internal.mozilla.nsIDownload_1_8; |
|---|
| 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 |
|
|---|
| 18 |
interface nsIDownload_1_8 : nsITransfer { |
|---|
| 19 |
|
|---|
| 20 |
static const char[] IID_STR = NS_IDOWNLOAD_IID_STR; |
|---|
| 21 |
static const nsIID IID = NS_IDOWNLOAD_IID; |
|---|
| 22 |
|
|---|
| 23 |
extern(System): |
|---|
| 24 |
nsresult GetTargetFile(nsILocalFile *aTargetFile); |
|---|
| 25 |
nsresult GetPercentComplete(PRInt32 *aPercentComplete); |
|---|
| 26 |
nsresult GetAmountTransferred(PRUint64 *aAmountTransferred); |
|---|
| 27 |
nsresult GetSize(PRUint64 *aSize); |
|---|
| 28 |
nsresult GetSource(nsIURI *aSource); |
|---|
| 29 |
nsresult GetTarget(nsIURI *aTarget); |
|---|
| 30 |
nsresult GetCancelable(nsICancelable *aCancelable); |
|---|
| 31 |
nsresult GetDisplayName(PRUnichar * *aDisplayName); |
|---|
| 32 |
nsresult GetStartTime(PRInt64 *aStartTime); |
|---|
| 33 |
nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); |
|---|
| 34 |
|
|---|
| 35 |
} |
|---|