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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/browser/webBrowser/nsICommandHandler.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsICommandHandler_h__
       6                 : #define __gen_nsICommandHandler_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 nsIDOMWindow; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsICommandHandlerInit */
      21                 : #define NS_ICOMMANDHANDLERINIT_IID_STR "731c6c50-67d6-11d4-9529-0020183bf181"
      22                 : 
      23                 : #define NS_ICOMMANDHANDLERINIT_IID \
      24                 :   {0x731c6c50, 0x67d6, 0x11d4, \
      25                 :     { 0x95, 0x29, 0x00, 0x20, 0x18, 0x3b, 0xf1, 0x81 }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsICommandHandlerInit : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOMMANDHANDLERINIT_IID)
      31                 : 
      32                 :   /* attribute nsIDOMWindow window; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) = 0;
      34                 :   NS_SCRIPTABLE NS_IMETHOD SetWindow(nsIDOMWindow *aWindow) = 0;
      35                 : 
      36                 : };
      37                 : 
      38                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICommandHandlerInit, NS_ICOMMANDHANDLERINIT_IID)
      39                 : 
      40                 : /* Use this macro when declaring classes that implement this interface. */
      41                 : #define NS_DECL_NSICOMMANDHANDLERINIT \
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow); \
      43                 :   NS_SCRIPTABLE NS_IMETHOD SetWindow(nsIDOMWindow *aWindow); 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      46                 : #define NS_FORWARD_NSICOMMANDHANDLERINIT(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) { return _to GetWindow(aWindow); } \
      48                 :   NS_SCRIPTABLE NS_IMETHOD SetWindow(nsIDOMWindow *aWindow) { return _to SetWindow(aWindow); } 
      49                 : 
      50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      51                 : #define NS_FORWARD_SAFE_NSICOMMANDHANDLERINIT(_to) \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindow(aWindow); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD SetWindow(nsIDOMWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindow(aWindow); } 
      54                 : 
      55                 : #if 0
      56                 : /* Use the code below as a template for the implementation class for this interface. */
      57                 : 
      58                 : /* Header file */
      59                 : class nsCommandHandlerInit : public nsICommandHandlerInit
      60                 : {
      61                 : public:
      62                 :   NS_DECL_ISUPPORTS
      63                 :   NS_DECL_NSICOMMANDHANDLERINIT
      64                 : 
      65                 :   nsCommandHandlerInit();
      66                 : 
      67                 : private:
      68                 :   ~nsCommandHandlerInit();
      69                 : 
      70                 : protected:
      71                 :   /* additional members */
      72                 : };
      73                 : 
      74                 : /* Implementation file */
      75                 : NS_IMPL_ISUPPORTS1(nsCommandHandlerInit, nsICommandHandlerInit)
      76                 : 
      77                 : nsCommandHandlerInit::nsCommandHandlerInit()
      78                 : {
      79                 :   /* member initializers and constructor code */
      80                 : }
      81                 : 
      82                 : nsCommandHandlerInit::~nsCommandHandlerInit()
      83                 : {
      84                 :   /* destructor code */
      85                 : }
      86                 : 
      87                 : /* attribute nsIDOMWindow window; */
      88                 : NS_IMETHODIMP nsCommandHandlerInit::GetWindow(nsIDOMWindow * *aWindow)
      89                 : {
      90                 :     return NS_ERROR_NOT_IMPLEMENTED;
      91                 : }
      92                 : NS_IMETHODIMP nsCommandHandlerInit::SetWindow(nsIDOMWindow *aWindow)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* End of implementation class template. */
      98                 : #endif
      99                 : 
     100                 : 
     101                 : /* starting interface:    nsICommandHandler */
     102                 : #define NS_ICOMMANDHANDLER_IID_STR "34a4fcf0-66fc-11d4-9528-0020183bf181"
     103                 : 
     104                 : #define NS_ICOMMANDHANDLER_IID \
     105                 :   {0x34a4fcf0, 0x66fc, 0x11d4, \
     106                 :     { 0x95, 0x28, 0x00, 0x20, 0x18, 0x3b, 0xf1, 0x81 }}
     107                 : 
     108               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsICommandHandler : public nsISupports {
     109                 :  public: 
     110                 : 
     111                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOMMANDHANDLER_IID)
     112                 : 
     113                 :   /* string exec (in string aCommand, in string aParameters); */
     114                 :   NS_SCRIPTABLE NS_IMETHOD Exec(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) = 0;
     115                 : 
     116                 :   /* string query (in string aCommand, in string aParameters); */
     117                 :   NS_SCRIPTABLE NS_IMETHOD Query(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) = 0;
     118                 : 
     119                 : };
     120                 : 
     121                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICommandHandler, NS_ICOMMANDHANDLER_IID)
     122                 : 
     123                 : /* Use this macro when declaring classes that implement this interface. */
     124                 : #define NS_DECL_NSICOMMANDHANDLER \
     125                 :   NS_SCRIPTABLE NS_IMETHOD Exec(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM); \
     126                 :   NS_SCRIPTABLE NS_IMETHOD Query(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM); 
     127                 : 
     128                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     129                 : #define NS_FORWARD_NSICOMMANDHANDLER(_to) \
     130                 :   NS_SCRIPTABLE NS_IMETHOD Exec(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) { return _to Exec(aCommand, aParameters, _retval); } \
     131                 :   NS_SCRIPTABLE NS_IMETHOD Query(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) { return _to Query(aCommand, aParameters, _retval); } 
     132                 : 
     133                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     134                 : #define NS_FORWARD_SAFE_NSICOMMANDHANDLER(_to) \
     135                 :   NS_SCRIPTABLE NS_IMETHOD Exec(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Exec(aCommand, aParameters, _retval); } \
     136                 :   NS_SCRIPTABLE NS_IMETHOD Query(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Query(aCommand, aParameters, _retval); } 
     137                 : 
     138                 : #if 0
     139                 : /* Use the code below as a template for the implementation class for this interface. */
     140                 : 
     141                 : /* Header file */
     142                 : class nsCommandHandler : public nsICommandHandler
     143                 : {
     144                 : public:
     145                 :   NS_DECL_ISUPPORTS
     146                 :   NS_DECL_NSICOMMANDHANDLER
     147                 : 
     148                 :   nsCommandHandler();
     149                 : 
     150                 : private:
     151                 :   ~nsCommandHandler();
     152                 : 
     153                 : protected:
     154                 :   /* additional members */
     155                 : };
     156                 : 
     157                 : /* Implementation file */
     158                 : NS_IMPL_ISUPPORTS1(nsCommandHandler, nsICommandHandler)
     159                 : 
     160                 : nsCommandHandler::nsCommandHandler()
     161                 : {
     162                 :   /* member initializers and constructor code */
     163                 : }
     164                 : 
     165                 : nsCommandHandler::~nsCommandHandler()
     166                 : {
     167                 :   /* destructor code */
     168                 : }
     169                 : 
     170                 : /* string exec (in string aCommand, in string aParameters); */
     171                 : NS_IMETHODIMP nsCommandHandler::Exec(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM)
     172                 : {
     173                 :     return NS_ERROR_NOT_IMPLEMENTED;
     174                 : }
     175                 : 
     176                 : /* string query (in string aCommand, in string aParameters); */
     177                 : NS_IMETHODIMP nsCommandHandler::Query(const char * aCommand, const char * aParameters, char * *_retval NS_OUTPARAM)
     178                 : {
     179                 :     return NS_ERROR_NOT_IMPLEMENTED;
     180                 : }
     181                 : 
     182                 : /* End of implementation class template. */
     183                 : #endif
     184                 : 
     185                 : //      {3A449110-66FD-11d4-9528-0020183BF181} - 
     186                 : #define NS_COMMANDHANDLER_CID \
     187                 : { 0x3a449110, 0x66fd, 0x11d4, { 0x95, 0x28, 0x0, 0x20, 0x18, 0x3b, 0xf1, 0x81 } }
     188                 : #define NS_COMMANDHANDLER_CONTRACTID \
     189                 : "@mozilla.org/embedding/browser/nsCommandHandler;1"
     190                 : 
     191                 : #endif /* __gen_nsICommandHandler_h__ */

Generated by: LCOV version 1.7