embedding/components/printingui/src/mac/nsPrintingPromptService.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:6804b0ea4fd4
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #ifndef __nsPrintingPromptService_h
7 #define __nsPrintingPromptService_h
8
9 // {E042570C-62DE-4bb6-A6E0-798E3C07B4DF}
10 #define NS_PRINTINGPROMPTSERVICE_CID \
11 {0xe042570c, 0x62de, 0x4bb6, { 0xa6, 0xe0, 0x79, 0x8e, 0x3c, 0x7, 0xb4, 0xdf}}
12 #define NS_PRINTINGPROMPTSERVICE_CONTRACTID \
13 "@mozilla.org/embedcomp/printingprompt-service;1"
14
15 #include "nsCOMPtr.h"
16 #include "nsIPrintingPromptService.h"
17 #include "nsPIPromptService.h"
18 #include "nsIWindowWatcher.h"
19
20 // Printing Progress Includes
21 #include "nsPrintProgress.h"
22 #include "nsIWebProgressListener.h"
23
24
25 class nsIDOMWindow;
26 class nsIDialogParamBlock;
27
28 class nsPrintingPromptService: public nsIPrintingPromptService,
29 public nsIWebProgressListener
30 {
31 public:
32 nsPrintingPromptService();
33 virtual ~nsPrintingPromptService();
34
35 nsresult Init();
36
37 NS_DECL_NSIPRINTINGPROMPTSERVICE
38 NS_DECL_NSIWEBPROGRESSLISTENER
39 NS_DECL_ISUPPORTS
40
41 private:
42 nsCOMPtr<nsIPrintProgress> mPrintProgress;
43 };
44
45 #endif

mercurial