LCOV - app.info - objdir/dist/include/nsIControllers.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/content/xul/document/public/nsIControllers.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIControllers_h__
           6                 : #define __gen_nsIControllers_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIController_h__
          10                 : #include "nsIController.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 nsIDOMXULCommandDispatcher; /* forward declaration */
          18                 :
          19                 :
          20                 : /* starting interface:    nsIControllers */
          21                 : #define NS_ICONTROLLERS_IID_STR "f36e3ec1-9197-4ad8-8d4c-d3b1927fd6df"
          22                 :
          23                 : #define NS_ICONTROLLERS_IID \
          24                 :   {0xf36e3ec1, 0x9197, 0x4ad8, \
          25                 :     { 0x8d, 0x4c, 0xd3, 0xb1, 0x92, 0x7f, 0xd6, 0xdf }}
          26                 :
          27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIControllers : public nsISupports {
          28                 :  public:
          29                 :
          30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTROLLERS_IID)
          31                 :
          32                 :   /* nsIController getControllerForCommand (in string command); */
          33                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval NS_OUTPARAM) = 0;
          34                 :
          35                 :   /* void insertControllerAt (in unsigned long index, in nsIController controller); */
          36                 :   NS_SCRIPTABLE NS_IMETHOD InsertControllerAt(PRUint32 index, nsIController *controller) = 0;
          37                 :
          38                 :   /* nsIController removeControllerAt (in unsigned long index); */
          39                 :   NS_SCRIPTABLE NS_IMETHOD RemoveControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) = 0;
          40                 :
          41                 :   /* nsIController getControllerAt (in unsigned long index); */
          42                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) = 0;
          43                 :
          44                 :   /* void appendController (in nsIController controller); */
          45                 :   NS_SCRIPTABLE NS_IMETHOD AppendController(nsIController *controller) = 0;
          46                 :
          47                 :   /* void removeController (in nsIController controller); */
          48                 :   NS_SCRIPTABLE NS_IMETHOD RemoveController(nsIController *controller) = 0;
          49                 :
          50                 :   /* unsigned long getControllerId (in nsIController controller); */
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerId(nsIController *controller, PRUint32 *_retval NS_OUTPARAM) = 0;
          52                 :
          53                 :   /* nsIController getControllerById (in unsigned long controllerID); */
          54                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerById(PRUint32 controllerID, nsIController * *_retval NS_OUTPARAM) = 0;
          55                 :
          56                 :   /* unsigned long getControllerCount (); */
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerCount(PRUint32 *_retval NS_OUTPARAM) = 0;
          58                 :
          59                 : };
          60                 :
          61                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIControllers, NS_ICONTROLLERS_IID)
          62                 :
          63                 : /* Use this macro when declaring classes that implement this interface. */
          64                 : #define NS_DECL_NSICONTROLLERS \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval NS_OUTPARAM); \
          66                 :   NS_SCRIPTABLE NS_IMETHOD InsertControllerAt(PRUint32 index, nsIController *controller); \
          67                 :   NS_SCRIPTABLE NS_IMETHOD RemoveControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM); \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD AppendController(nsIController *controller); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD RemoveController(nsIController *controller); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerId(nsIController *controller, PRUint32 *_retval NS_OUTPARAM); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerById(PRUint32 controllerID, nsIController * *_retval NS_OUTPARAM); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerCount(PRUint32 *_retval NS_OUTPARAM);
          74                 :
          75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          76                 : #define NS_FORWARD_NSICONTROLLERS(_to) \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval NS_OUTPARAM) { return _to GetControllerForCommand(command, _retval); } \
          78                 :   NS_SCRIPTABLE NS_IMETHOD InsertControllerAt(PRUint32 index, nsIController *controller) { return _to InsertControllerAt(index, controller); } \
          79                 :   NS_SCRIPTABLE NS_IMETHOD RemoveControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) { return _to RemoveControllerAt(index, _retval); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) { return _to GetControllerAt(index, _retval); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD AppendController(nsIController *controller) { return _to AppendController(controller); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD RemoveController(nsIController *controller) { return _to RemoveController(controller); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerId(nsIController *controller, PRUint32 *_retval NS_OUTPARAM) { return _to GetControllerId(controller, _retval); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerById(PRUint32 controllerID, nsIController * *_retval NS_OUTPARAM) { return _to GetControllerById(controllerID, _retval); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerCount(PRUint32 *_retval NS_OUTPARAM) { return _to GetControllerCount(_retval); }
          86                 :
          87                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          88                 : #define NS_FORWARD_SAFE_NSICONTROLLERS(_to) \
          89                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerForCommand(command, _retval); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD InsertControllerAt(PRUint32 index, nsIController *controller) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertControllerAt(index, controller); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD RemoveControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveControllerAt(index, _retval); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerAt(index, _retval); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD AppendController(nsIController *controller) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendController(controller); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD RemoveController(nsIController *controller) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveController(controller); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerId(nsIController *controller, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerId(controller, _retval); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerById(PRUint32 controllerID, nsIController * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerById(controllerID, _retval); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD GetControllerCount(PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerCount(_retval); }
          98                 :
          99                 : #if 0
         100                 : /* Use the code below as a template for the implementation class for this interface. */
         101                 :
         102                 : /* Header file */
         103                 : class nsControllers : public nsIControllers
         104                 : {
         105                 : public:
         106                 :   NS_DECL_ISUPPORTS
         107                 :   NS_DECL_NSICONTROLLERS
         108                 :
         109                 :   nsControllers();
         110                 :
         111                 : private:
         112                 :   ~nsControllers();
         113                 :
         114                 : protected:
         115                 :   /* additional members */
         116                 : };
         117                 :
         118                 : /* Implementation file */
         119                 : NS_IMPL_ISUPPORTS1(nsControllers, nsIControllers)
         120                 :
         121                 : nsControllers::nsControllers()
         122                 : {
         123                 :   /* member initializers and constructor code */
         124                 : }
         125                 :
         126                 : nsControllers::~nsControllers()
         127                 : {
         128                 :   /* destructor code */
         129                 : }
         130                 :
         131                 : /* nsIController getControllerForCommand (in string command); */
         132                 : NS_IMETHODIMP nsControllers::GetControllerForCommand(const char * command, nsIController * *_retval NS_OUTPARAM)
         133                 : {
         134                 :     return NS_ERROR_NOT_IMPLEMENTED;
         135                 : }
         136                 :
         137                 : /* void insertControllerAt (in unsigned long index, in nsIController controller); */
         138                 : NS_IMETHODIMP nsControllers::InsertControllerAt(PRUint32 index, nsIController *controller)
         139                 : {
         140                 :     return NS_ERROR_NOT_IMPLEMENTED;
         141                 : }
         142                 :
         143                 : /* nsIController removeControllerAt (in unsigned long index); */
         144                 : NS_IMETHODIMP nsControllers::RemoveControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM)
         145                 : {
         146                 :     return NS_ERROR_NOT_IMPLEMENTED;
         147                 : }
         148                 :
         149                 : /* nsIController getControllerAt (in unsigned long index); */
         150                 : NS_IMETHODIMP nsControllers::GetControllerAt(PRUint32 index, nsIController * *_retval NS_OUTPARAM)
         151                 : {
         152                 :     return NS_ERROR_NOT_IMPLEMENTED;
         153                 : }
         154                 :
         155                 : /* void appendController (in nsIController controller); */
         156                 : NS_IMETHODIMP nsControllers::AppendController(nsIController *controller)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 :
         161                 : /* void removeController (in nsIController controller); */
         162                 : NS_IMETHODIMP nsControllers::RemoveController(nsIController *controller)
         163                 : {
         164                 :     return NS_ERROR_NOT_IMPLEMENTED;
         165                 : }
         166                 :
         167                 : /* unsigned long getControllerId (in nsIController controller); */
         168                 : NS_IMETHODIMP nsControllers::GetControllerId(nsIController *controller, PRUint32 *_retval NS_OUTPARAM)
         169                 : {
         170                 :     return NS_ERROR_NOT_IMPLEMENTED;
         171                 : }
         172                 :
         173                 : /* nsIController getControllerById (in unsigned long controllerID); */
         174                 : NS_IMETHODIMP nsControllers::GetControllerById(PRUint32 controllerID, nsIController * *_retval NS_OUTPARAM)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 :
         179                 : /* unsigned long getControllerCount (); */
         180                 : NS_IMETHODIMP nsControllers::GetControllerCount(PRUint32 *_retval NS_OUTPARAM)
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 :
         185                 : /* End of implementation class template. */
         186                 : #endif
         187                 :
         188                 :
         189                 : #endif /* __gen_nsIControllers_h__ */

Generated by: LCOV version 1.7