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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/js/xpconnect/idl/xpcjsid.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_xpcjsid_h__
       6                 : #define __gen_xpcjsid_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #include "jspubtd.h"
      14                 : 
      15                 : /* For IDL files that don't want to include root IDL files. */
      16                 : #ifndef NS_NO_VTABLE
      17                 : #define NS_NO_VTABLE
      18                 : #endif
      19                 : 
      20                 : /* starting interface:    nsIJSID */
      21                 : #define NS_IJSID_IID_STR "baedc96a-9cee-4b6b-9160-90d257b3c8ef"
      22                 : 
      23                 : #define NS_IJSID_IID \
      24                 :   {0xbaedc96a, 0x9cee, 0x4b6b, \
      25                 :     { 0x91, 0x60, 0x90, 0xd2, 0x57, 0xb3, 0xc8, 0xef }}
      26                 : 
      27          345847 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJSID : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSID_IID)
      31                 : 
      32                 :   /* readonly attribute string name; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) = 0;
      34                 : 
      35                 :   /* readonly attribute string number; */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) = 0;
      37                 : 
      38                 :   /* readonly attribute boolean valid; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) = 0;
      40                 : 
      41                 :   /* boolean equals (in nsIJSID other); */
      42                 :   NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) = 0;
      43                 : 
      44                 :   /* void initialize (in string idString); */
      45                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) = 0;
      46                 : 
      47                 :   /* string toString (); */
      48                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) = 0;
      49                 : 
      50                 :   /* [notxpcom] const_nsID_ptr getID (); */
      51                 :   NS_IMETHOD_(const nsID *) GetID(void) = 0;
      52                 : 
      53                 : };
      54                 : 
      55                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSID, NS_IJSID_IID)
      56                 : 
      57                 : /* Use this macro when declaring classes that implement this interface. */
      58                 : #define NS_DECL_NSIJSID \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM); \
      65                 :   NS_IMETHOD_(const nsID *) GetID(void); 
      66                 : 
      67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      68                 : #define NS_FORWARD_NSIJSID(_to) \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return _to GetName(aName); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) { return _to GetNumber(aNumber); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return _to GetValid(aValid); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) { return _to Equals(other, _retval); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) { return _to Initialize(idString); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return _to ToString(_retval); } \
      75                 :   NS_IMETHOD_(const nsID *) GetID(void) { return _to GetID(); } 
      76                 : 
      77                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      78                 : #define NS_FORWARD_SAFE_NSIJSID(_to) \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumber(aNumber); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Equals(other, _retval); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(idString); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
      85                 :   NS_IMETHOD_(const nsID *) GetID(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(); } 
      86                 : 
      87                 : #if 0
      88                 : /* Use the code below as a template for the implementation class for this interface. */
      89                 : 
      90                 : /* Header file */
      91                 : class nsJSID : public nsIJSID
      92                 : {
      93                 : public:
      94                 :   NS_DECL_ISUPPORTS
      95                 :   NS_DECL_NSIJSID
      96                 : 
      97                 :   nsJSID();
      98                 : 
      99                 : private:
     100                 :   ~nsJSID();
     101                 : 
     102                 : protected:
     103                 :   /* additional members */
     104                 : };
     105                 : 
     106                 : /* Implementation file */
     107                 : NS_IMPL_ISUPPORTS1(nsJSID, nsIJSID)
     108                 : 
     109                 : nsJSID::nsJSID()
     110                 : {
     111                 :   /* member initializers and constructor code */
     112                 : }
     113                 : 
     114                 : nsJSID::~nsJSID()
     115                 : {
     116                 :   /* destructor code */
     117                 : }
     118                 : 
     119                 : /* readonly attribute string name; */
     120                 : NS_IMETHODIMP nsJSID::GetName(char * *aName)
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* readonly attribute string number; */
     126                 : NS_IMETHODIMP nsJSID::GetNumber(char * *aNumber)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* readonly attribute boolean valid; */
     132                 : NS_IMETHODIMP nsJSID::GetValid(bool *aValid)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* boolean equals (in nsIJSID other); */
     138                 : NS_IMETHODIMP nsJSID::Equals(nsIJSID *other, bool *_retval NS_OUTPARAM)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* void initialize (in string idString); */
     144                 : NS_IMETHODIMP nsJSID::Initialize(const char * idString)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* string toString (); */
     150                 : NS_IMETHODIMP nsJSID::ToString(char * *_retval NS_OUTPARAM)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* [notxpcom] const_nsID_ptr getID (); */
     156                 : NS_IMETHODIMP_(const nsID *) nsJSID::GetID()
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* End of implementation class template. */
     162                 : #endif
     163                 : 
     164                 : 
     165                 : /* starting interface:    nsIJSIID */
     166                 : #define NS_IJSIID_IID_STR "e76ec564-a080-4705-8609-384c755ec91e"
     167                 : 
     168                 : #define NS_IJSIID_IID \
     169                 :   {0xe76ec564, 0xa080, 0x4705, \
     170                 :     { 0x86, 0x09, 0x38, 0x4c, 0x75, 0x5e, 0xc9, 0x1e }}
     171                 : 
     172           91336 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJSIID : public nsIJSID {
     173                 :  public: 
     174                 : 
     175                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSIID_IID)
     176                 : 
     177                 : };
     178                 : 
     179                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSIID, NS_IJSIID_IID)
     180                 : 
     181                 : /* Use this macro when declaring classes that implement this interface. */
     182                 : #define NS_DECL_NSIJSIID \
     183                 :   /* no methods! */
     184                 : 
     185                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     186                 : #define NS_FORWARD_NSIJSIID(_to) \
     187                 :   /* no methods! */
     188                 : 
     189                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     190                 : #define NS_FORWARD_SAFE_NSIJSIID(_to) \
     191                 :   /* no methods! */
     192                 : 
     193                 : #if 0
     194                 : /* Use the code below as a template for the implementation class for this interface. */
     195                 : 
     196                 : /* Header file */
     197                 : class nsJSIID : public nsIJSIID
     198                 : {
     199                 : public:
     200                 :   NS_DECL_ISUPPORTS
     201                 :   NS_DECL_NSIJSIID
     202                 : 
     203                 :   nsJSIID();
     204                 : 
     205                 : private:
     206                 :   ~nsJSIID();
     207                 : 
     208                 : protected:
     209                 :   /* additional members */
     210                 : };
     211                 : 
     212                 : /* Implementation file */
     213                 : NS_IMPL_ISUPPORTS1(nsJSIID, nsIJSIID)
     214                 : 
     215                 : nsJSIID::nsJSIID()
     216                 : {
     217                 :   /* member initializers and constructor code */
     218                 : }
     219                 : 
     220                 : nsJSIID::~nsJSIID()
     221                 : {
     222                 :   /* destructor code */
     223                 : }
     224                 : 
     225                 : /* End of implementation class template. */
     226                 : #endif
     227                 : 
     228                 : 
     229                 : /* starting interface:    nsIJSCID */
     230                 : #define NS_IJSCID_IID_STR "bf5eb086-9eaa-4694-aec3-fe4aac6119bd"
     231                 : 
     232                 : #define NS_IJSCID_IID \
     233                 :   {0xbf5eb086, 0x9eaa, 0x4694, \
     234                 :     { 0xae, 0xc3, 0xfe, 0x4a, 0xac, 0x61, 0x19, 0xbd }}
     235                 : 
     236           44144 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJSCID : public nsIJSID {
     237                 :  public: 
     238                 : 
     239                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSCID_IID)
     240                 : 
     241                 :   /* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
     242                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) = 0;
     243                 : 
     244                 :   /* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
     245                 :   NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) = 0;
     246                 : 
     247                 : };
     248                 : 
     249                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSCID, NS_IJSCID_IID)
     250                 : 
     251                 : /* Use this macro when declaring classes that implement this interface. */
     252                 : #define NS_DECL_NSIJSCID \
     253                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM); \
     254                 :   NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM); 
     255                 : 
     256                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     257                 : #define NS_FORWARD_NSIJSCID(_to) \
     258                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return _to CreateInstance(iid, cx, _argc, _retval); } \
     259                 :   NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return _to GetService(iid, cx, _argc, _retval); } 
     260                 : 
     261                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     262                 : #define NS_FORWARD_SAFE_NSIJSCID(_to) \
     263                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstance(iid, cx, _argc, _retval); } \
     264                 :   NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetService(iid, cx, _argc, _retval); } 
     265                 : 
     266                 : #if 0
     267                 : /* Use the code below as a template for the implementation class for this interface. */
     268                 : 
     269                 : /* Header file */
     270                 : class nsJSCID : public nsIJSCID
     271                 : {
     272                 : public:
     273                 :   NS_DECL_ISUPPORTS
     274                 :   NS_DECL_NSIJSCID
     275                 : 
     276                 :   nsJSCID();
     277                 : 
     278                 : private:
     279                 :   ~nsJSCID();
     280                 : 
     281                 : protected:
     282                 :   /* additional members */
     283                 : };
     284                 : 
     285                 : /* Implementation file */
     286                 : NS_IMPL_ISUPPORTS1(nsJSCID, nsIJSCID)
     287                 : 
     288                 : nsJSCID::nsJSCID()
     289                 : {
     290                 :   /* member initializers and constructor code */
     291                 : }
     292                 : 
     293                 : nsJSCID::~nsJSCID()
     294                 : {
     295                 :   /* destructor code */
     296                 : }
     297                 : 
     298                 : /* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
     299                 : NS_IMETHODIMP nsJSCID::CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM)
     300                 : {
     301                 :     return NS_ERROR_NOT_IMPLEMENTED;
     302                 : }
     303                 : 
     304                 : /* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
     305                 : NS_IMETHODIMP nsJSCID::GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM)
     306                 : {
     307                 :     return NS_ERROR_NOT_IMPLEMENTED;
     308                 : }
     309                 : 
     310                 : /* End of implementation class template. */
     311                 : #endif
     312                 : 
     313                 : /********************************************************/
     314                 : // {F24A14F0-4FA1-11d3-9894-006008962422}
     315                 : #define NS_JS_ID_CID  \
     316                 : { 0xf24a14f0, 0x4fa1, 0x11d3, \
     317                 :     { 0x98, 0x94, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
     318                 : 
     319                 : #endif /* __gen_xpcjsid_h__ */

Generated by: LCOV version 1.7