Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIDownload.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIDownload; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsISupports; | |
5 import org.eclipse.swt.internal.mozilla.nsID; | |
6 import org.eclipse.swt.internal.mozilla.nsITransfer; | |
7 import org.eclipse.swt.internal.mozilla.nsIWebProgressListener; | |
8 import org.eclipse.swt.internal.mozilla.nsIURI; | |
9 import org.eclipse.swt.internal.mozilla.nsILocalFile; | |
10 import org.eclipse.swt.internal.mozilla.nsIObserver; | |
11 import org.eclipse.swt.internal.mozilla.nsICancelable; | |
12 import org.eclipse.swt.internal.mozilla.nsIMIMEInfo; | |
13 import org.eclipse.swt.internal.mozilla.nsStringAPI; | |
14 import org.eclipse.swt.internal.mozilla.prtime; | |
15 | |
16 const char[] NS_IDOWNLOAD_IID_STR = "9e1fd9f2-9727-4926-85cd-f16c375bba6d"; | |
17 | |
18 const nsIID NS_IDOWNLOAD_IID= | |
19 {0x9e1fd9f2, 0x9727, 0x4926, | |
20 [ 0x85, 0xcd, 0xf1, 0x6c, 0x37, 0x5b, 0xba, 0x6d ]}; | |
21 | |
22 interface nsIDownload : nsISupports { | |
23 | |
24 static const char[] IID_STR = NS_IDOWNLOAD_IID_STR; | |
25 static const nsIID IID = NS_IDOWNLOAD_IID; | |
26 | |
27 extern(System): | |
28 nsresult Init(nsIURI aSource, nsIURI aTarget, nsAString* aDisplayName, nsIMIMEInfo aMIMEInfo, PRTime startTime, PRBool aPersist); | |
29 nsresult GetSource(nsIURI *aSource); | |
30 nsresult GetTarget(nsIURI *aTarget); | |
31 nsresult GetPersist(PRBool *aPersist); | |
32 nsresult GetPercentComplete(PRInt32 *aPercentComplete); | |
33 nsresult GetDisplayName(PRUnichar * *aDisplayName); | |
34 nsresult SetDisplayName(PRUnichar* aDisplayName); | |
35 nsresult GetStartTime(PRInt64 *aStartTime); | |
36 nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); | |
37 nsresult GetListener(nsIWebProgressListener* aListener); | |
38 nsresult SetListener(nsIWebProgressListener aListener); | |
39 nsresult GetObserver(nsIObserver * aObserver); | |
40 nsresult SetObserver(nsIObserver aObserver); | |
41 } |