diff options
Diffstat (limited to 'lib/src/GeckoContentHandler.cpp')
-rw-r--r-- | lib/src/GeckoContentHandler.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/lib/src/GeckoContentHandler.cpp b/lib/src/GeckoContentHandler.cpp deleted file mode 100644 index 4d9de8e..0000000 --- a/lib/src/GeckoContentHandler.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include <nsCExternalHandlerService.h> -#include <nsIFile.h> - -#include "GeckoContentHandler.h" - -GeckoContentHandler::GeckoContentHandler() -{ - -} - -GeckoContentHandler::~GeckoContentHandler() -{ - -} - -NS_IMPL_ISUPPORTS1(GeckoContentHandler, nsIHelperAppLauncherDialog) - -NS_IMETHODIMP -GeckoContentHandler::Show (nsIHelperAppLauncher *aLauncher, - nsISupports *aContext, - PRUint32 aReason) -{ - nsCOMPtr<nsIFile> tmpFile; - aLauncher->GetTargetFile(getter_AddRefs(tmpFile)); - - aLauncher->SaveToDisk (tmpFile, PR_FALSE); - - return NS_OK; -} - -NS_IMETHODIMP -GeckoContentHandler::PromptForSaveToFile (nsIHelperAppLauncher *aLauncher, - nsISupports *aWindowContext, - const PRUnichar *aDefaultFile, - const PRUnichar *aSuggestedFileExtension, - nsILocalFile **_retval) -{ - return NS_OK; -} - |