aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/PrintingPromptService.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-12 08:37:43 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-12 08:37:43 +0800
commit824dfce72819337e7dad44f9b9c999caadd0e9a2 (patch)
tree5080b21ccbdf078fcd95eb2842e55ffd265aead6 /embed/mozilla/PrintingPromptService.cpp
parent3a57d18b63e6cde5a2a3bed06834020794c0ebd9 (diff)
downloadgsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.gz
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.bz2
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.lz
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.xz
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.zst
gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.zip
*** empty log message ***
Diffstat (limited to 'embed/mozilla/PrintingPromptService.cpp')
-rw-r--r--embed/mozilla/PrintingPromptService.cpp39
1 files changed, 1 insertions, 38 deletions
diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp
index 183da034c..a66cb5379 100644
--- a/embed/mozilla/PrintingPromptService.cpp
+++ b/embed/mozilla/PrintingPromptService.cpp
@@ -25,27 +25,12 @@
#include "print-dialog.h"
#include "ephy-embed.h"
#include "MozillaPrivate.h"
+#include "PrintingPromptService.h"
#include <nsIPrintSettings.h>
#include <nsCOMPtr.h>
-#include <nsIFactory.h>
#include <nsString.h>
#include <nsIServiceManager.h>
-#include <nsXPComFactory.h>
-
-#include <nsIPrintingPromptService.h>
-
-/* Header file */
-class GPrintingPromptService : public nsIPrintingPromptService
-{
-public:
- NS_DECL_ISUPPORTS
- NS_DECL_NSIPRINTINGPROMPTSERVICE
-
- GPrintingPromptService();
- virtual ~GPrintingPromptService();
- /* additional members */
-};
/* Implementation file */
NS_IMPL_ISUPPORTS1(GPrintingPromptService, nsIPrintingPromptService)
@@ -102,25 +87,3 @@ NS_IMETHODIMP GPrintingPromptService::ShowPrinterProperties(nsIDOMWindow *parent
{
return NS_ERROR_NOT_IMPLEMENTED;
}
-
-NS_DEF_FACTORY (GPrintingPromptService, GPrintingPromptService);
-
-/**
- * NS_NewPromptServiceFactory:
- */
-nsresult NS_NewPrintingPromptServiceFactory(nsIFactory** aFactory)
-{
- NS_ENSURE_ARG_POINTER(aFactory);
- *aFactory = nsnull;
-
- nsGPrintingPromptServiceFactory *result = new nsGPrintingPromptServiceFactory;
- if (result == NULL)
- {
- return NS_ERROR_OUT_OF_MEMORY;
- }
-
- NS_ADDREF(result);
- *aFactory = result;
-
- return NS_OK;
-}