LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - xpcexception.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/xpcexception.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_xpcexception_h__
       6             : #define __gen_xpcexception_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIException_h__
      14             : #include "nsIException.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : 
      22             : /* starting interface:    nsIXPCException */
      23             : #define NS_IXPCEXCEPTION_IID_STR "875e6645-e762-4da6-9ec8-bf19ab0050df"
      24             : 
      25             : #define NS_IXPCEXCEPTION_IID \
      26             :   {0x875e6645, 0xe762, 0x4da6, \
      27             :     { 0x9e, 0xc8, 0xbf, 0x19, 0xab, 0x00, 0x50, 0xdf }}
      28             : 
      29        1985 : class NS_NO_VTABLE nsIXPCException : public nsIException {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPCEXCEPTION_IID)
      33             : 
      34             :   /* void initialize (in AUTF8String aMessage, in nsresult aResult, in AUTF8String aName, in nsIStackFrame aLocation, in nsISupports aData); */
      35             :   NS_IMETHOD Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPCException, NS_IXPCEXCEPTION_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_NSIXPCEXCEPTION \
      43             :   NS_IMETHOD Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData) 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_NSIXPCEXCEPTION \
      48             :   nsresult Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData); 
      49             : 
      50             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51             : #define NS_FORWARD_NSIXPCEXCEPTION(_to) \
      52             :   NS_IMETHOD Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData) override { return _to Initialize(aMessage, aResult, aName, aLocation, aData); } 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55             : #define NS_FORWARD_SAFE_NSIXPCEXCEPTION(_to) \
      56             :   NS_IMETHOD Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(aMessage, aResult, aName, aLocation, aData); } 
      57             : 
      58             : #if 0
      59             : /* Use the code below as a template for the implementation class for this interface. */
      60             : 
      61             : /* Header file */
      62             : class nsXPCException : public nsIXPCException
      63             : {
      64             : public:
      65             :   NS_DECL_ISUPPORTS
      66             :   NS_DECL_NSIXPCEXCEPTION
      67             : 
      68             :   nsXPCException();
      69             : 
      70             : private:
      71             :   ~nsXPCException();
      72             : 
      73             : protected:
      74             :   /* additional members */
      75             : };
      76             : 
      77             : /* Implementation file */
      78             : NS_IMPL_ISUPPORTS(nsXPCException, nsIXPCException)
      79             : 
      80             : nsXPCException::nsXPCException()
      81             : {
      82             :   /* member initializers and constructor code */
      83             : }
      84             : 
      85             : nsXPCException::~nsXPCException()
      86             : {
      87             :   /* destructor code */
      88             : }
      89             : 
      90             : /* void initialize (in AUTF8String aMessage, in nsresult aResult, in AUTF8String aName, in nsIStackFrame aLocation, in nsISupports aData); */
      91             : NS_IMETHODIMP nsXPCException::Initialize(const nsACString & aMessage, nsresult aResult, const nsACString & aName, nsIStackFrame *aLocation, nsISupports *aData)
      92             : {
      93             :     return NS_ERROR_NOT_IMPLEMENTED;
      94             : }
      95             : 
      96             : /* End of implementation class template. */
      97             : #endif
      98             : 
      99             : /********************************************************/
     100             : // {5632BF70-51EC-11d3-9896-006008962422}
     101             : #define NS_XPCEXCEPTION_CID  \
     102             : { 0x5632bf70, 0x51ec, 0x11d3, \
     103             :     { 0x98, 0x96, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
     104             : 
     105             : #endif /* __gen_xpcexception_h__ */

Generated by: LCOV version 1.13