Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/src/sugar-content-handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/sugar-content-handler.cpp')
-rw-r--r--lib/src/sugar-content-handler.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/src/sugar-content-handler.cpp b/lib/src/sugar-content-handler.cpp
new file mode 100644
index 0000000..56fe587
--- /dev/null
+++ b/lib/src/sugar-content-handler.cpp
@@ -0,0 +1,36 @@
+#include <stdio.h>
+
+#include "sugar-content-handler.h"
+
+GSugarContentHandler::GSugarContentHandler()
+{
+
+}
+
+GSugarContentHandler::~GSugarContentHandler()
+{
+
+}
+
+NS_IMPL_ISUPPORTS1(GSugarContentHandler, nsIHelperAppLauncherDialog)
+
+NS_IMETHODIMP
+GSugarContentHandler::Show (nsIHelperAppLauncher *aLauncher,
+ nsISupports *aContext,
+ PRUint32 aReason)
+{
+
+ return NS_OK;
+}
+
+NS_IMETHODIMP GSugarContentHandler::PromptForSaveToFile(
+ nsIHelperAppLauncher *aLauncher,
+ nsISupports *aWindowContext,
+ const PRUnichar *aDefaultFile,
+ const PRUnichar *aSuggestedFileExtension,
+ nsILocalFile **_retval)
+{
+
+ return NS_OK;
+}
+