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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/amIAddonManagerStartup.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_amIAddonManagerStartup_h__
       6             : #define __gen_amIAddonManagerStartup_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:    amIAddonManagerStartup */
      21             : #define AMIADDONMANAGERSTARTUP_IID_STR "01dfa47b-87e4-4135-877b-586d033e1b5d"
      22             : 
      23             : #define AMIADDONMANAGERSTARTUP_IID \
      24             :   {0x01dfa47b, 0x87e4, 0x4135, \
      25             :     { 0x87, 0x7b, 0x58, 0x6d, 0x03, 0x3e, 0x1b, 0x5d }}
      26             : 
      27           3 : class NS_NO_VTABLE amIAddonManagerStartup : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(AMIADDONMANAGERSTARTUP_IID)
      31             : 
      32             :   /* [implicit_jscontext] jsval readStartupData (); */
      33             :   NS_IMETHOD ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval) = 0;
      34             : 
      35             :   /* [implicit_jscontext] void initializeExtensions (in jsval locations); */
      36             :   NS_IMETHOD InitializeExtensions(JS::HandleValue locations, JSContext* cx) = 0;
      37             : 
      38             :   /* [implicit_jscontext] jsval encodeBlob (in jsval value); */
      39             :   NS_IMETHOD EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) = 0;
      40             : 
      41             :   /* [implicit_jscontext] jsval decodeBlob (in jsval value); */
      42             :   NS_IMETHOD DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) = 0;
      43             : 
      44             :   /* void reset (); */
      45             :   NS_IMETHOD Reset(void) = 0;
      46             : 
      47             : };
      48             : 
      49             :   NS_DEFINE_STATIC_IID_ACCESSOR(amIAddonManagerStartup, AMIADDONMANAGERSTARTUP_IID)
      50             : 
      51             : /* Use this macro when declaring classes that implement this interface. */
      52             : #define NS_DECL_AMIADDONMANAGERSTARTUP \
      53             :   NS_IMETHOD ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval) override; \
      54             :   NS_IMETHOD InitializeExtensions(JS::HandleValue locations, JSContext* cx) override; \
      55             :   NS_IMETHOD EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override; \
      56             :   NS_IMETHOD DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override; \
      57             :   NS_IMETHOD Reset(void) override; 
      58             : 
      59             : /* Use this macro when declaring the members of this interface when the
      60             :    class doesn't implement the interface. This is useful for forwarding. */
      61             : #define NS_DECL_NON_VIRTUAL_AMIADDONMANAGERSTARTUP \
      62             :   nsresult ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval); \
      63             :   nsresult InitializeExtensions(JS::HandleValue locations, JSContext* cx); \
      64             :   nsresult EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval); \
      65             :   nsresult DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval); \
      66             :   nsresult Reset(void); 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      69             : #define NS_FORWARD_AMIADDONMANAGERSTARTUP(_to) \
      70             :   NS_IMETHOD ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval) override { return _to ReadStartupData(cx, _retval); } \
      71             :   NS_IMETHOD InitializeExtensions(JS::HandleValue locations, JSContext* cx) override { return _to InitializeExtensions(locations, cx); } \
      72             :   NS_IMETHOD EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override { return _to EncodeBlob(value, cx, _retval); } \
      73             :   NS_IMETHOD DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override { return _to DecodeBlob(value, cx, _retval); } \
      74             :   NS_IMETHOD Reset(void) override { return _to Reset(); } 
      75             : 
      76             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      77             : #define NS_FORWARD_SAFE_AMIADDONMANAGERSTARTUP(_to) \
      78             :   NS_IMETHOD ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReadStartupData(cx, _retval); } \
      79             :   NS_IMETHOD InitializeExtensions(JS::HandleValue locations, JSContext* cx) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitializeExtensions(locations, cx); } \
      80             :   NS_IMETHOD EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EncodeBlob(value, cx, _retval); } \
      81             :   NS_IMETHOD DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DecodeBlob(value, cx, _retval); } \
      82             :   NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } 
      83             : 
      84             : #if 0
      85             : /* Use the code below as a template for the implementation class for this interface. */
      86             : 
      87             : /* Header file */
      88             : class amAddonManagerStartup : public amIAddonManagerStartup
      89             : {
      90             : public:
      91             :   NS_DECL_ISUPPORTS
      92             :   NS_DECL_AMIADDONMANAGERSTARTUP
      93             : 
      94             :   amAddonManagerStartup();
      95             : 
      96             : private:
      97             :   ~amAddonManagerStartup();
      98             : 
      99             : protected:
     100             :   /* additional members */
     101             : };
     102             : 
     103             : /* Implementation file */
     104             : NS_IMPL_ISUPPORTS(amAddonManagerStartup, amIAddonManagerStartup)
     105             : 
     106             : amAddonManagerStartup::amAddonManagerStartup()
     107             : {
     108             :   /* member initializers and constructor code */
     109             : }
     110             : 
     111             : amAddonManagerStartup::~amAddonManagerStartup()
     112             : {
     113             :   /* destructor code */
     114             : }
     115             : 
     116             : /* [implicit_jscontext] jsval readStartupData (); */
     117             : NS_IMETHODIMP amAddonManagerStartup::ReadStartupData(JSContext* cx, JS::MutableHandleValue _retval)
     118             : {
     119             :     return NS_ERROR_NOT_IMPLEMENTED;
     120             : }
     121             : 
     122             : /* [implicit_jscontext] void initializeExtensions (in jsval locations); */
     123             : NS_IMETHODIMP amAddonManagerStartup::InitializeExtensions(JS::HandleValue locations, JSContext* cx)
     124             : {
     125             :     return NS_ERROR_NOT_IMPLEMENTED;
     126             : }
     127             : 
     128             : /* [implicit_jscontext] jsval encodeBlob (in jsval value); */
     129             : NS_IMETHODIMP amAddonManagerStartup::EncodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval)
     130             : {
     131             :     return NS_ERROR_NOT_IMPLEMENTED;
     132             : }
     133             : 
     134             : /* [implicit_jscontext] jsval decodeBlob (in jsval value); */
     135             : NS_IMETHODIMP amAddonManagerStartup::DecodeBlob(JS::HandleValue value, JSContext* cx, JS::MutableHandleValue _retval)
     136             : {
     137             :     return NS_ERROR_NOT_IMPLEMENTED;
     138             : }
     139             : 
     140             : /* void reset (); */
     141             : NS_IMETHODIMP amAddonManagerStartup::Reset()
     142             : {
     143             :     return NS_ERROR_NOT_IMPLEMENTED;
     144             : }
     145             : 
     146             : /* End of implementation class template. */
     147             : #endif
     148             : 
     149             : 
     150             : #endif /* __gen_amIAddonManagerStartup_h__ */

Generated by: LCOV version 1.13