1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/embedding/components/printingui/src/mac/nsPrintingPromptService.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef __nsPrintingPromptService_h 1.10 +#define __nsPrintingPromptService_h 1.11 + 1.12 +// {E042570C-62DE-4bb6-A6E0-798E3C07B4DF} 1.13 +#define NS_PRINTINGPROMPTSERVICE_CID \ 1.14 + {0xe042570c, 0x62de, 0x4bb6, { 0xa6, 0xe0, 0x79, 0x8e, 0x3c, 0x7, 0xb4, 0xdf}} 1.15 +#define NS_PRINTINGPROMPTSERVICE_CONTRACTID \ 1.16 + "@mozilla.org/embedcomp/printingprompt-service;1" 1.17 + 1.18 +#include "nsCOMPtr.h" 1.19 +#include "nsIPrintingPromptService.h" 1.20 +#include "nsPIPromptService.h" 1.21 +#include "nsIWindowWatcher.h" 1.22 + 1.23 +// Printing Progress Includes 1.24 +#include "nsPrintProgress.h" 1.25 +#include "nsIWebProgressListener.h" 1.26 + 1.27 + 1.28 +class nsIDOMWindow; 1.29 +class nsIDialogParamBlock; 1.30 + 1.31 +class nsPrintingPromptService: public nsIPrintingPromptService, 1.32 + public nsIWebProgressListener 1.33 +{ 1.34 +public: 1.35 + nsPrintingPromptService(); 1.36 + virtual ~nsPrintingPromptService(); 1.37 + 1.38 + nsresult Init(); 1.39 + 1.40 + NS_DECL_NSIPRINTINGPROMPTSERVICE 1.41 + NS_DECL_NSIWEBPROGRESSLISTENER 1.42 + NS_DECL_ISUPPORTS 1.43 + 1.44 +private: 1.45 + nsCOMPtr<nsIPrintProgress> mPrintProgress; 1.46 +}; 1.47 + 1.48 +#endif