LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsICommandHandler.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.13