LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIPrintingPromptService.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/browser/webBrowser/nsIPrintingPromptService.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIPrintingPromptService_h__
       6                 : #define __gen_nsIPrintingPromptService_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIWebBrowserPrint_h__
      14                 : #include "nsIWebBrowserPrint.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsIWebProgressListener_h__
      18                 : #include "nsIWebProgressListener.h"
      19                 : #endif
      20                 : 
      21                 : #ifndef __gen_nsIPrintProgressParams_h__
      22                 : #include "nsIPrintProgressParams.h"
      23                 : #endif
      24                 : 
      25                 : #ifndef __gen_nsIPrintSettings_h__
      26                 : #include "nsIPrintSettings.h"
      27                 : #endif
      28                 : 
      29                 : #ifndef __gen_nsIObserver_h__
      30                 : #include "nsIObserver.h"
      31                 : #endif
      32                 : 
      33                 : /* For IDL files that don't want to include root IDL files. */
      34                 : #ifndef NS_NO_VTABLE
      35                 : #define NS_NO_VTABLE
      36                 : #endif
      37                 : class nsIDOMWindow; /* forward declaration */
      38                 : 
      39                 : 
      40                 : /* starting interface:    nsIPrintingPromptService */
      41                 : #define NS_IPRINTINGPROMPTSERVICE_IID_STR "75d1553d-63bf-4b5d-a8f7-e4e4cac21ba4"
      42                 : 
      43                 : #define NS_IPRINTINGPROMPTSERVICE_IID \
      44                 :   {0x75d1553d, 0x63bf, 0x4b5d, \
      45                 :     { 0xa8, 0xf7, 0xe4, 0xe4, 0xca, 0xc2, 0x1b, 0xa4 }}
      46                 : 
      47               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPrintingPromptService : public nsISupports {
      48                 :  public: 
      49                 : 
      50                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRINTINGPROMPTSERVICE_IID)
      51                 : 
      52                 :   /* void showPrintDialog (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings); */
      53                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings) = 0;
      54                 : 
      55                 :   /* void showProgress (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings, in nsIObserver openDialogObserver, in boolean isForPrinting, out nsIWebProgressListener webProgressListener, out nsIPrintProgressParams printProgressParams, out boolean notifyOnOpen); */
      56                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings, nsIObserver *openDialogObserver, bool isForPrinting, nsIWebProgressListener * *webProgressListener NS_OUTPARAM, nsIPrintProgressParams * *printProgressParams NS_OUTPARAM, bool *notifyOnOpen NS_OUTPARAM) = 0;
      57                 : 
      58                 :   /* void showPageSetup (in nsIDOMWindow parent, in nsIPrintSettings printSettings, in nsIObserver aObs); */
      59                 :   NS_SCRIPTABLE NS_IMETHOD ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs) = 0;
      60                 : 
      61                 :   /* void showPrinterProperties (in nsIDOMWindow parent, in wstring printerName, in nsIPrintSettings printSettings); */
      62                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrinterProperties(nsIDOMWindow *parent, const PRUnichar * printerName, nsIPrintSettings *printSettings) = 0;
      63                 : 
      64                 : };
      65                 : 
      66                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrintingPromptService, NS_IPRINTINGPROMPTSERVICE_IID)
      67                 : 
      68                 : /* Use this macro when declaring classes that implement this interface. */
      69                 : #define NS_DECL_NSIPRINTINGPROMPTSERVICE \
      70                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings, nsIObserver *openDialogObserver, bool isForPrinting, nsIWebProgressListener * *webProgressListener NS_OUTPARAM, nsIPrintProgressParams * *printProgressParams NS_OUTPARAM, bool *notifyOnOpen NS_OUTPARAM); \
      72                 :   NS_SCRIPTABLE NS_IMETHOD ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs); \
      73                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrinterProperties(nsIDOMWindow *parent, const PRUnichar * printerName, nsIPrintSettings *printSettings); 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      76                 : #define NS_FORWARD_NSIPRINTINGPROMPTSERVICE(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings) { return _to ShowPrintDialog(parent, webBrowserPrint, printSettings); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings, nsIObserver *openDialogObserver, bool isForPrinting, nsIWebProgressListener * *webProgressListener NS_OUTPARAM, nsIPrintProgressParams * *printProgressParams NS_OUTPARAM, bool *notifyOnOpen NS_OUTPARAM) { return _to ShowProgress(parent, webBrowserPrint, printSettings, openDialogObserver, isForPrinting, webProgressListener, printProgressParams, notifyOnOpen); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs) { return _to ShowPageSetup(parent, printSettings, aObs); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrinterProperties(nsIDOMWindow *parent, const PRUnichar * printerName, nsIPrintSettings *printSettings) { return _to ShowPrinterProperties(parent, printerName, printSettings); } 
      81                 : 
      82                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      83                 : #define NS_FORWARD_SAFE_NSIPRINTINGPROMPTSERVICE(_to) \
      84                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowPrintDialog(parent, webBrowserPrint, printSettings); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings, nsIObserver *openDialogObserver, bool isForPrinting, nsIWebProgressListener * *webProgressListener NS_OUTPARAM, nsIPrintProgressParams * *printProgressParams NS_OUTPARAM, bool *notifyOnOpen NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowProgress(parent, webBrowserPrint, printSettings, openDialogObserver, isForPrinting, webProgressListener, printProgressParams, notifyOnOpen); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowPageSetup(parent, printSettings, aObs); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD ShowPrinterProperties(nsIDOMWindow *parent, const PRUnichar * printerName, nsIPrintSettings *printSettings) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowPrinterProperties(parent, printerName, printSettings); } 
      88                 : 
      89                 : #if 0
      90                 : /* Use the code below as a template for the implementation class for this interface. */
      91                 : 
      92                 : /* Header file */
      93                 : class nsPrintingPromptService : public nsIPrintingPromptService
      94                 : {
      95                 : public:
      96                 :   NS_DECL_ISUPPORTS
      97                 :   NS_DECL_NSIPRINTINGPROMPTSERVICE
      98                 : 
      99                 :   nsPrintingPromptService();
     100                 : 
     101                 : private:
     102                 :   ~nsPrintingPromptService();
     103                 : 
     104                 : protected:
     105                 :   /* additional members */
     106                 : };
     107                 : 
     108                 : /* Implementation file */
     109                 : NS_IMPL_ISUPPORTS1(nsPrintingPromptService, nsIPrintingPromptService)
     110                 : 
     111                 : nsPrintingPromptService::nsPrintingPromptService()
     112                 : {
     113                 :   /* member initializers and constructor code */
     114                 : }
     115                 : 
     116                 : nsPrintingPromptService::~nsPrintingPromptService()
     117                 : {
     118                 :   /* destructor code */
     119                 : }
     120                 : 
     121                 : /* void showPrintDialog (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings); */
     122                 : NS_IMETHODIMP nsPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* void showProgress (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings, in nsIObserver openDialogObserver, in boolean isForPrinting, out nsIWebProgressListener webProgressListener, out nsIPrintProgressParams printProgressParams, out boolean notifyOnOpen); */
     128                 : NS_IMETHODIMP nsPrintingPromptService::ShowProgress(nsIDOMWindow *parent, nsIWebBrowserPrint *webBrowserPrint, nsIPrintSettings *printSettings, nsIObserver *openDialogObserver, bool isForPrinting, nsIWebProgressListener * *webProgressListener NS_OUTPARAM, nsIPrintProgressParams * *printProgressParams NS_OUTPARAM, bool *notifyOnOpen NS_OUTPARAM)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* void showPageSetup (in nsIDOMWindow parent, in nsIPrintSettings printSettings, in nsIObserver aObs); */
     134                 : NS_IMETHODIMP nsPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPrintSettings *printSettings, nsIObserver *aObs)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* void showPrinterProperties (in nsIDOMWindow parent, in wstring printerName, in nsIPrintSettings printSettings); */
     140                 : NS_IMETHODIMP nsPrintingPromptService::ShowPrinterProperties(nsIDOMWindow *parent, const PRUnichar * printerName, nsIPrintSettings *printSettings)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* End of implementation class template. */
     146                 : #endif
     147                 : 
     148                 : // {260FEDC5-524D-4aa6-9A41-E829F4C78B92}
     149                 : #define NS_PRINTINGPROMPTSERVICE_IID \
     150                 :  {0x260fedc5, 0x524d, 0x4aa6, { 0x9a, 0x41, 0xe8, 0x29, 0xf4, 0xc7, 0x8b, 0x92}}
     151                 : 
     152                 : #endif /* __gen_nsIPrintingPromptService_h__ */

Generated by: LCOV version 1.7