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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     6 #ifndef __nsPrintingPromptService_h
     7 #define __nsPrintingPromptService_h
     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"
    15 #include "nsCOMPtr.h"
    16 #include "nsIPrintingPromptService.h"
    17 #include "nsPIPromptService.h"
    18 #include "nsIWindowWatcher.h"
    20 // Printing Progress Includes
    21 #include "nsPrintProgress.h"
    22 #include "nsIWebProgressListener.h"
    25 class nsIDOMWindow;
    26 class nsIDialogParamBlock;
    28 class nsPrintingPromptService: public nsIPrintingPromptService,
    29                                public nsIWebProgressListener
    30 {
    31 public:
    32   nsPrintingPromptService();
    33   virtual ~nsPrintingPromptService();
    35   nsresult Init();
    37   NS_DECL_NSIPRINTINGPROMPTSERVICE
    38   NS_DECL_NSIWEBPROGRESSLISTENER
    39   NS_DECL_ISUPPORTS
    41 private:
    42   nsCOMPtr<nsIPrintProgress> mPrintProgress;
    43 };
    45 #endif

mercurial