Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsIDownload.d @ 298:eec6ddb07873
More xpcom/mozilla port
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 22:25:43 -0700 |
parents | 3dfa75c74ed2 |
children | 942da4b6558a |
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsIDownload.d Fri Aug 08 15:25:08 2008 +0200 +++ b/dwt/internal/mozilla/nsIDownload.d Sun Aug 10 22:25:43 2008 -0700 @@ -3,6 +3,7 @@ import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsITransfer; +import dwt.internal.mozilla.nsIWebProgressListener; import dwt.internal.mozilla.nsIURI; import dwt.internal.mozilla.nsILocalFile; import dwt.internal.mozilla.nsIObserver; @@ -22,17 +23,17 @@ static const char[] IID_STR = NS_IDOWNLOAD_IID_STR; static const nsIID IID = NS_IDOWNLOAD_IID; - nsresult Init(nsIURI aSource, nsIURI aTarget, nsAString* aDisplayName, nsIMIMEInfo aMIMEInfo, PRTime startTime, int /*long*/ aPersist); + nsresult Init(nsIURI aSource, nsIURI aTarget, nsAString* aDisplayName, nsIMIMEInfo aMIMEInfo, PRTime startTime, PRBool aPersist); nsresult GetSource(nsIURI *aSource); nsresult GetTarget(nsIURI *aTarget); - nsresult GetPersist(int *aPersist); + nsresult GetPersist(PRBool *aPersist); nsresult GetPercentComplete(PRInt32 *aPercentComplete); nsresult GetDisplayName(PRUnichar * *aDisplayName); - nsresult SetDisplayName(char[] aDisplayName); + nsresult SetDisplayName(PRUnichar* aDisplayName); nsresult GetStartTime(PRInt64 *aStartTime); nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); - nsresult GetListener(int * aListener); - nsresult SetListener(int aListener); - nsresult GetObserver(int * aObserver); - nsresult SetObserver(int aObserver); + nsresult GetListener(nsIWebProgressListener* aListener); + nsresult SetListener(nsIWebProgressListener aListener); + nsresult GetObserver(nsIObserver * aObserver); + nsresult SetObserver(nsIObserver aObserver); }