LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIPrintStatusFeedback.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/layout/printing/nsIPrintStatusFeedback.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIPrintStatusFeedback_h__
       6                 : #define __gen_nsIPrintStatusFeedback_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIDocShell; /* forward declaration */
      18                 : 
      19                 : class nsIDOMWindow; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIPrintStatusFeedback */
      23                 : #define NS_IPRINTSTATUSFEEDBACK_IID_STR "e439d3eb-b1ed-449c-aaf7-c693e399b16f"
      24                 : 
      25                 : #define NS_IPRINTSTATUSFEEDBACK_IID \
      26                 :   {0xe439d3eb, 0xb1ed, 0x449c, \
      27                 :     { 0xaa, 0xf7, 0xc6, 0x93, 0xe3, 0x99, 0xb1, 0x6f }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPrintStatusFeedback : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRINTSTATUSFEEDBACK_IID)
      33                 : 
      34                 :   /* void showStatusString (in wstring status); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD ShowStatusString(const PRUnichar * status) = 0;
      36                 : 
      37                 :   /* void startMeteors (); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD StartMeteors(void) = 0;
      39                 : 
      40                 :   /* void stopMeteors (); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD StopMeteors(void) = 0;
      42                 : 
      43                 :   /* void showProgress (in long percent); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(PRInt32 percent) = 0;
      45                 : 
      46                 :   /* [noscript] void setDocShell (in nsIDocShell shell, in nsIDOMWindow window); */
      47                 :   NS_IMETHOD SetDocShell(nsIDocShell *shell, nsIDOMWindow *window) = 0;
      48                 : 
      49                 :   /* void closeWindow (); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD CloseWindow(void) = 0;
      51                 : 
      52                 : };
      53                 : 
      54                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrintStatusFeedback, NS_IPRINTSTATUSFEEDBACK_IID)
      55                 : 
      56                 : /* Use this macro when declaring classes that implement this interface. */
      57                 : #define NS_DECL_NSIPRINTSTATUSFEEDBACK \
      58                 :   NS_SCRIPTABLE NS_IMETHOD ShowStatusString(const PRUnichar * status); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD StartMeteors(void); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD StopMeteors(void); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(PRInt32 percent); \
      62                 :   NS_IMETHOD SetDocShell(nsIDocShell *shell, nsIDOMWindow *window); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD CloseWindow(void); 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66                 : #define NS_FORWARD_NSIPRINTSTATUSFEEDBACK(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD ShowStatusString(const PRUnichar * status) { return _to ShowStatusString(status); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD StartMeteors(void) { return _to StartMeteors(); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD StopMeteors(void) { return _to StopMeteors(); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(PRInt32 percent) { return _to ShowProgress(percent); } \
      71                 :   NS_IMETHOD SetDocShell(nsIDocShell *shell, nsIDOMWindow *window) { return _to SetDocShell(shell, window); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD CloseWindow(void) { return _to CloseWindow(); } 
      73                 : 
      74                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75                 : #define NS_FORWARD_SAFE_NSIPRINTSTATUSFEEDBACK(_to) \
      76                 :   NS_SCRIPTABLE NS_IMETHOD ShowStatusString(const PRUnichar * status) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowStatusString(status); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD StartMeteors(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartMeteors(); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD StopMeteors(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StopMeteors(); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD ShowProgress(PRInt32 percent) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowProgress(percent); } \
      80                 :   NS_IMETHOD SetDocShell(nsIDocShell *shell, nsIDOMWindow *window) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocShell(shell, window); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD CloseWindow(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseWindow(); } 
      82                 : 
      83                 : #if 0
      84                 : /* Use the code below as a template for the implementation class for this interface. */
      85                 : 
      86                 : /* Header file */
      87                 : class nsPrintStatusFeedback : public nsIPrintStatusFeedback
      88                 : {
      89                 : public:
      90                 :   NS_DECL_ISUPPORTS
      91                 :   NS_DECL_NSIPRINTSTATUSFEEDBACK
      92                 : 
      93                 :   nsPrintStatusFeedback();
      94                 : 
      95                 : private:
      96                 :   ~nsPrintStatusFeedback();
      97                 : 
      98                 : protected:
      99                 :   /* additional members */
     100                 : };
     101                 : 
     102                 : /* Implementation file */
     103                 : NS_IMPL_ISUPPORTS1(nsPrintStatusFeedback, nsIPrintStatusFeedback)
     104                 : 
     105                 : nsPrintStatusFeedback::nsPrintStatusFeedback()
     106                 : {
     107                 :   /* member initializers and constructor code */
     108                 : }
     109                 : 
     110                 : nsPrintStatusFeedback::~nsPrintStatusFeedback()
     111                 : {
     112                 :   /* destructor code */
     113                 : }
     114                 : 
     115                 : /* void showStatusString (in wstring status); */
     116                 : NS_IMETHODIMP nsPrintStatusFeedback::ShowStatusString(const PRUnichar * status)
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : 
     121                 : /* void startMeteors (); */
     122                 : NS_IMETHODIMP nsPrintStatusFeedback::StartMeteors()
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* void stopMeteors (); */
     128                 : NS_IMETHODIMP nsPrintStatusFeedback::StopMeteors()
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* void showProgress (in long percent); */
     134                 : NS_IMETHODIMP nsPrintStatusFeedback::ShowProgress(PRInt32 percent)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* [noscript] void setDocShell (in nsIDocShell shell, in nsIDOMWindow window); */
     140                 : NS_IMETHODIMP nsPrintStatusFeedback::SetDocShell(nsIDocShell *shell, nsIDOMWindow *window)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* void closeWindow (); */
     146                 : NS_IMETHODIMP nsPrintStatusFeedback::CloseWindow()
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* End of implementation class template. */
     152                 : #endif
     153                 : 
     154                 : 
     155                 : #endif /* __gen_nsIPrintStatusFeedback_h__ */

Generated by: LCOV version 1.7