Back to index

lightning-sunbird  0.9+nobinonly
Functions File Reference
#import "NSString+Utils.h"
#include "nsDownloadListener.h"
#include "nsIWebProgress.h"
#include "nsIRequest.h"
#include "nsIURL.h"
#include "netCore.h"

Go to the source code of this file.


 NS_IMPL_ISUPPORTS_INHERITED4 (nsDownloadListener, CHDownloader, nsIDownload, nsITransfer, nsIWebProgressListener, nsIWebProgressListener2) NS_IMETHODIMP nsDownloadListener

Function Documentation

Definition at line 61 of file

  CreateDownloadDisplay(); // call the base class to make the download UI

  // Note: This forms a cycle, which will be broken in DownloadDone
  mCancelable = aCancelable;

  // This is a file save if the cancelable object is a webbrowserpersist
  nsCOMPtr<nsIWebBrowserPersist> persist(do_QueryInterface(aCancelable));
  SetIsFileSave(persist != NULL);
  mDestination = aTarget;
  mURI = aSource;
  mStartTime = startTime;

  return NS_OK;

Here is the call graph for this function: