Download manager. Not part of build. a=asa

This commit is contained in:
blakeross%telocity.com 2002-03-12 22:13:45 +00:00
parent dc69a8011a
commit fa6c821fe5
3 changed files with 6 additions and 5 deletions

View File

@ -36,15 +36,16 @@
*
* ***** END LICENSE BLOCK ***** */
#include "nsIWebProgressListener.idl"
#include "nsISupports.idl"
interface nsIURI;
interface nsILocalFile;
interface nsIObserver;
interface nsIWebBrowserPersist;
interface nsIWebProgressListener;
[scriptable, uuid(06cb92f2-1dd2-11b2-95f2-96dfdfb804a1)]
interface nsIDownload : nsIWebProgressListener {
interface nsIDownload : nsISupports {
void init(in nsIURI aSource,
in nsILocalFile aTarget,

View File

@ -98,7 +98,8 @@ private:
friend class nsDownload;
};
class nsDownload : public nsIDownload
class nsDownload : public nsIDownload,
public nsIWebProgressListener
{
public:
NS_DECL_NSIWEBPROGRESSLISTENER

View File

@ -50,7 +50,6 @@ public:
virtual ~nsDownloadProxy() { };
NS_DECL_ISUPPORTS
NS_FORWARD_NSIWEBPROGRESSLISTENER(mInner->)
NS_IMETHODIMP Init(nsIURI* aSource,
nsILocalFile* aTarget,
@ -141,7 +140,7 @@ private:
nsCOMPtr<nsIDownload> mInner;
};
NS_IMPL_ISUPPORTS2(nsDownloadProxy, nsIDownload, nsIWebProgressListener)
NS_IMPL_ISUPPORTS1(nsDownloadProxy, nsIDownload)
#endif