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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/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 "js/Value.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 "62883d14-4146-4039-94f5-a5e1e1a51a15"
      22             : 
      23             : #define NS_IJSID_IID \
      24             :   {0x62883d14, 0x4146, 0x4039, \
      25             :     { 0x94, 0xf5, 0xa5, 0xe1, 0xe1, 0xa5, 0x1a, 0x15 }}
      26             : 
      27        2038 : class NS_NO_VTABLE nsIJSID : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSID_IID)
      31             : 
      32             :   /* readonly attribute string name; */
      33             :   NS_IMETHOD GetName(char * *aName) = 0;
      34             : 
      35             :   /* readonly attribute string number; */
      36             :   NS_IMETHOD GetNumber(char * *aNumber) = 0;
      37             : 
      38             :   /* readonly attribute boolean valid; */
      39             :   NS_IMETHOD GetValid(bool *aValid) = 0;
      40             : 
      41             :   /* boolean equals (in nsIJSID other); */
      42             :   NS_IMETHOD Equals(nsIJSID *other, bool *_retval) = 0;
      43             : 
      44             :   /* string toString (); */
      45             :   NS_IMETHOD ToString(char * *_retval) = 0;
      46             : 
      47             :   /* [noscript] void initialize (in string idString); */
      48             :   NS_IMETHOD Initialize(const char * idString) = 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_IMETHOD GetName(char * *aName) override; \
      60             :   NS_IMETHOD GetNumber(char * *aNumber) override; \
      61             :   NS_IMETHOD GetValid(bool *aValid) override; \
      62             :   NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override; \
      63             :   NS_IMETHOD ToString(char * *_retval) override; \
      64             :   NS_IMETHOD Initialize(const char * idString) override; \
      65             :   NS_IMETHOD_(const nsID *) GetID(void) override; 
      66             : 
      67             : /* Use this macro when declaring the members of this interface when the
      68             :    class doesn't implement the interface. This is useful for forwarding. */
      69             : #define NS_DECL_NON_VIRTUAL_NSIJSID \
      70             :   nsresult GetName(char * *aName); \
      71             :   nsresult GetNumber(char * *aNumber); \
      72             :   nsresult GetValid(bool *aValid); \
      73             :   nsresult Equals(nsIJSID *other, bool *_retval); \
      74             :   nsresult ToString(char * *_retval); \
      75             :   nsresult Initialize(const char * idString); \
      76             :   nsresult_(const nsID *) GetID(void); 
      77             : 
      78             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      79             : #define NS_FORWARD_NSIJSID(_to) \
      80             :   NS_IMETHOD GetName(char * *aName) override { return _to GetName(aName); } \
      81             :   NS_IMETHOD GetNumber(char * *aNumber) override { return _to GetNumber(aNumber); } \
      82             :   NS_IMETHOD GetValid(bool *aValid) override { return _to GetValid(aValid); } \
      83             :   NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override { return _to Equals(other, _retval); } \
      84             :   NS_IMETHOD ToString(char * *_retval) override { return _to ToString(_retval); } \
      85             :   NS_IMETHOD Initialize(const char * idString) override { return _to Initialize(idString); } \
      86             :   NS_IMETHOD_(const nsID *) GetID(void) override { return _to GetID(); } 
      87             : 
      88             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      89             : #define NS_FORWARD_SAFE_NSIJSID(_to) \
      90             :   NS_IMETHOD GetName(char * *aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      91             :   NS_IMETHOD GetNumber(char * *aNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumber(aNumber); } \
      92             :   NS_IMETHOD GetValid(bool *aValid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
      93             :   NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Equals(other, _retval); } \
      94             :   NS_IMETHOD ToString(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
      95             :   NS_IMETHOD Initialize(const char * idString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(idString); } \
      96             :   NS_IMETHOD_(const nsID *) GetID(void) override; 
      97             : 
      98             : #if 0
      99             : /* Use the code below as a template for the implementation class for this interface. */
     100             : 
     101             : /* Header file */
     102             : class nsJSID : public nsIJSID
     103             : {
     104             : public:
     105             :   NS_DECL_ISUPPORTS
     106             :   NS_DECL_NSIJSID
     107             : 
     108             :   nsJSID();
     109             : 
     110             : private:
     111             :   ~nsJSID();
     112             : 
     113             : protected:
     114             :   /* additional members */
     115             : };
     116             : 
     117             : /* Implementation file */
     118             : NS_IMPL_ISUPPORTS(nsJSID, nsIJSID)
     119             : 
     120             : nsJSID::nsJSID()
     121             : {
     122             :   /* member initializers and constructor code */
     123             : }
     124             : 
     125             : nsJSID::~nsJSID()
     126             : {
     127             :   /* destructor code */
     128             : }
     129             : 
     130             : /* readonly attribute string name; */
     131             : NS_IMETHODIMP nsJSID::GetName(char * *aName)
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* readonly attribute string number; */
     137             : NS_IMETHODIMP nsJSID::GetNumber(char * *aNumber)
     138             : {
     139             :     return NS_ERROR_NOT_IMPLEMENTED;
     140             : }
     141             : 
     142             : /* readonly attribute boolean valid; */
     143             : NS_IMETHODIMP nsJSID::GetValid(bool *aValid)
     144             : {
     145             :     return NS_ERROR_NOT_IMPLEMENTED;
     146             : }
     147             : 
     148             : /* boolean equals (in nsIJSID other); */
     149             : NS_IMETHODIMP nsJSID::Equals(nsIJSID *other, bool *_retval)
     150             : {
     151             :     return NS_ERROR_NOT_IMPLEMENTED;
     152             : }
     153             : 
     154             : /* string toString (); */
     155             : NS_IMETHODIMP nsJSID::ToString(char * *_retval)
     156             : {
     157             :     return NS_ERROR_NOT_IMPLEMENTED;
     158             : }
     159             : 
     160             : /* [noscript] void initialize (in string idString); */
     161             : NS_IMETHODIMP nsJSID::Initialize(const char * idString)
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* [notxpcom] const_nsID_ptr getID (); */
     167             : NS_IMETHODIMP_(const nsID *) nsJSID::GetID()
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : 
     172             : /* End of implementation class template. */
     173             : #endif
     174             : 
     175             : 
     176             : /* starting interface:    nsIJSIID */
     177             : #define NS_IJSIID_IID_STR "e76ec564-a080-4705-8609-384c755ec91e"
     178             : 
     179             : #define NS_IJSIID_IID \
     180             :   {0xe76ec564, 0xa080, 0x4705, \
     181             :     { 0x86, 0x09, 0x38, 0x4c, 0x75, 0x5e, 0xc9, 0x1e }}
     182             : 
     183         751 : class NS_NO_VTABLE nsIJSIID : public nsIJSID {
     184             :  public:
     185             : 
     186             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSIID_IID)
     187             : 
     188             : };
     189             : 
     190             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSIID, NS_IJSIID_IID)
     191             : 
     192             : /* Use this macro when declaring classes that implement this interface. */
     193             : #define NS_DECL_NSIJSIID \
     194             :   /* no methods! */
     195             : 
     196             : /* Use this macro when declaring the members of this interface when the
     197             :    class doesn't implement the interface. This is useful for forwarding. */
     198             : #define NS_DECL_NON_VIRTUAL_NSIJSIID \
     199             :   /* no methods! */
     200             : 
     201             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     202             : #define NS_FORWARD_NSIJSIID(_to) \
     203             :   /* no methods! */
     204             : 
     205             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     206             : #define NS_FORWARD_SAFE_NSIJSIID(_to) \
     207             :   /* no methods! */
     208             : 
     209             : #if 0
     210             : /* Use the code below as a template for the implementation class for this interface. */
     211             : 
     212             : /* Header file */
     213             : class nsJSIID : public nsIJSIID
     214             : {
     215             : public:
     216             :   NS_DECL_ISUPPORTS
     217             :   NS_DECL_NSIJSIID
     218             : 
     219             :   nsJSIID();
     220             : 
     221             : private:
     222             :   ~nsJSIID();
     223             : 
     224             : protected:
     225             :   /* additional members */
     226             : };
     227             : 
     228             : /* Implementation file */
     229             : NS_IMPL_ISUPPORTS(nsJSIID, nsIJSIID)
     230             : 
     231             : nsJSIID::nsJSIID()
     232             : {
     233             :   /* member initializers and constructor code */
     234             : }
     235             : 
     236             : nsJSIID::~nsJSIID()
     237             : {
     238             :   /* destructor code */
     239             : }
     240             : 
     241             : /* End of implementation class template. */
     242             : #endif
     243             : 
     244             : 
     245             : /* starting interface:    nsIJSCID */
     246             : #define NS_IJSCID_IID_STR "bf5eb086-9eaa-4694-aec3-fe4aac6119bd"
     247             : 
     248             : #define NS_IJSCID_IID \
     249             :   {0xbf5eb086, 0x9eaa, 0x4694, \
     250             :     { 0xae, 0xc3, 0xfe, 0x4a, 0xac, 0x61, 0x19, 0xbd }}
     251             : 
     252         200 : class NS_NO_VTABLE nsIJSCID : public nsIJSID {
     253             :  public:
     254             : 
     255             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSCID_IID)
     256             : 
     257             :   /* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
     258             :   NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) = 0;
     259             : 
     260             :   /* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
     261             :   NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) = 0;
     262             : 
     263             : };
     264             : 
     265             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSCID, NS_IJSCID_IID)
     266             : 
     267             : /* Use this macro when declaring classes that implement this interface. */
     268             : #define NS_DECL_NSIJSCID \
     269             :   NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override; \
     270             :   NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override; 
     271             : 
     272             : /* Use this macro when declaring the members of this interface when the
     273             :    class doesn't implement the interface. This is useful for forwarding. */
     274             : #define NS_DECL_NON_VIRTUAL_NSIJSCID \
     275             :   nsresult CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval); \
     276             :   nsresult GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval); 
     277             : 
     278             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     279             : #define NS_FORWARD_NSIJSCID(_to) \
     280             :   NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return _to CreateInstance(iid, cx, _argc, _retval); } \
     281             :   NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return _to GetService(iid, cx, _argc, _retval); } 
     282             : 
     283             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     284             : #define NS_FORWARD_SAFE_NSIJSCID(_to) \
     285             :   NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstance(iid, cx, _argc, _retval); } \
     286             :   NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetService(iid, cx, _argc, _retval); } 
     287             : 
     288             : #if 0
     289             : /* Use the code below as a template for the implementation class for this interface. */
     290             : 
     291             : /* Header file */
     292             : class nsJSCID : public nsIJSCID
     293             : {
     294             : public:
     295             :   NS_DECL_ISUPPORTS
     296             :   NS_DECL_NSIJSCID
     297             : 
     298             :   nsJSCID();
     299             : 
     300             : private:
     301             :   ~nsJSCID();
     302             : 
     303             : protected:
     304             :   /* additional members */
     305             : };
     306             : 
     307             : /* Implementation file */
     308             : NS_IMPL_ISUPPORTS(nsJSCID, nsIJSCID)
     309             : 
     310             : nsJSCID::nsJSCID()
     311             : {
     312             :   /* member initializers and constructor code */
     313             : }
     314             : 
     315             : nsJSCID::~nsJSCID()
     316             : {
     317             :   /* destructor code */
     318             : }
     319             : 
     320             : /* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
     321             : NS_IMETHODIMP nsJSCID::CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval)
     322             : {
     323             :     return NS_ERROR_NOT_IMPLEMENTED;
     324             : }
     325             : 
     326             : /* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
     327             : NS_IMETHODIMP nsJSCID::GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval)
     328             : {
     329             :     return NS_ERROR_NOT_IMPLEMENTED;
     330             : }
     331             : 
     332             : /* End of implementation class template. */
     333             : #endif
     334             : 
     335             : /********************************************************/
     336             : // {F24A14F0-4FA1-11d3-9894-006008962422}
     337             : #define NS_JS_ID_CID  \
     338             : { 0xf24a14f0, 0x4fa1, 0x11d3, \
     339             :     { 0x98, 0x94, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
     340             : 
     341             : #endif /* __gen_xpcjsid_h__ */

Generated by: LCOV version 1.13