michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __nsPrintingPromptService_h michael@0: #define __nsPrintingPromptService_h michael@0: michael@0: // {E042570C-62DE-4bb6-A6E0-798E3C07B4DF} michael@0: #define NS_PRINTINGPROMPTSERVICE_CID \ michael@0: {0xe042570c, 0x62de, 0x4bb6, { 0xa6, 0xe0, 0x79, 0x8e, 0x3c, 0x7, 0xb4, 0xdf}} michael@0: #define NS_PRINTINGPROMPTSERVICE_CONTRACTID \ michael@0: "@mozilla.org/embedcomp/printingprompt-service;1" michael@0: michael@0: #include "nsCOMPtr.h" michael@0: #include "nsIPrintingPromptService.h" michael@0: #include "nsPIPromptService.h" michael@0: #include "nsIWindowWatcher.h" michael@0: michael@0: // Printing Progress Includes michael@0: #include "nsPrintProgress.h" michael@0: #include "nsIWebProgressListener.h" michael@0: michael@0: michael@0: class nsIDOMWindow; michael@0: class nsIDialogParamBlock; michael@0: michael@0: class nsPrintingPromptService: public nsIPrintingPromptService, michael@0: public nsIWebProgressListener michael@0: { michael@0: public: michael@0: nsPrintingPromptService(); michael@0: virtual ~nsPrintingPromptService(); michael@0: michael@0: nsresult Init(); michael@0: michael@0: NS_DECL_NSIPRINTINGPROMPTSERVICE michael@0: NS_DECL_NSIWEBPROGRESSLISTENER michael@0: NS_DECL_ISUPPORTS michael@0: michael@0: private: michael@0: nsCOMPtr mPrintProgress; michael@0: }; michael@0: michael@0: #endif