aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/PrintingPromptService.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/PrintingPromptService.h')
-rw-r--r--embed/mozilla/PrintingPromptService.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/embed/mozilla/PrintingPromptService.h b/embed/mozilla/PrintingPromptService.h
index 31df4be61..b0c1c004e 100644
--- a/embed/mozilla/PrintingPromptService.h
+++ b/embed/mozilla/PrintingPromptService.h
@@ -23,6 +23,7 @@
#include "nsError.h"
#include "nsIPrintingPromptService.h"
+#include "print-dialog.h"
#define G_PRINTINGPROMPTSERVICE_CID \
{ /* 5998a2d3-88ea-4c52-b4bb-4e7abd0d35e0 */ \
@@ -35,15 +36,20 @@
#define G_PRINTINGPROMPTSERVICE_CLASSNAME "Epiphany's Printing Prompt Service"
#define G_PRINTINGPROMPTSERVICE_CONTRACTID "@mozilla.org/embedcomp/printingprompt-service;1"
-class GPrintingPromptService : public nsIPrintingPromptService
+class GPrintingPromptService : public nsIPrintingPromptService, nsIWebProgressListener, nsIPrintProgressParams
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPRINTINGPROMPTSERVICE
+ NS_DECL_NSIWEBPROGRESSLISTENER
+ NS_DECL_NSIPRINTPROGRESSPARAMS
GPrintingPromptService();
virtual ~GPrintingPromptService();
/* additional members */
+
+protected:
+ EmbedPrintInfo *mPrintInfo;
};
#endif