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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/js/xpconnect/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                 : #include "jsapi.h"
      22                 : 
      23                 : /* starting interface:    nsIXPCException */
      24                 : #define NS_IXPCEXCEPTION_IID_STR "cac29630-7bf2-4e22-811b-46855a7d5af0"
      25                 : 
      26                 : #define NS_IXPCEXCEPTION_IID \
      27                 :   {0xcac29630, 0x7bf2, 0x4e22, \
      28                 :     { 0x81, 0x1b, 0x46, 0x85, 0x5a, 0x7d, 0x5a, 0xf0 }}
      29                 : 
      30           45911 : class NS_NO_VTABLE NS_SCRIPTABLE nsIXPCException : public nsIException {
      31                 :  public: 
      32                 : 
      33                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPCEXCEPTION_IID)
      34                 : 
      35                 :   /* void initialize (in string aMessage, in nsresult aResult, in string aName, in nsIStackFrame aLocation, in nsISupports aData, in nsIException aInner); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * aMessage, nsresult aResult, const char * aName, nsIStackFrame *aLocation, nsISupports *aData, nsIException *aInner) = 0;
      37                 : 
      38                 :   /* [noscript] xpcexJSVal stealJSVal (); */
      39                 :   NS_IMETHOD StealJSVal(jsval *_retval NS_OUTPARAM) = 0;
      40                 : 
      41                 :   /* [noscript] void stowJSVal (in xpcexJSContextPtr cx, in xpcexJSVal val); */
      42                 :   NS_IMETHOD StowJSVal(JSContext *cx, jsval val) = 0;
      43                 : 
      44                 : };
      45                 : 
      46                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPCException, NS_IXPCEXCEPTION_IID)
      47                 : 
      48                 : /* Use this macro when declaring classes that implement this interface. */
      49                 : #define NS_DECL_NSIXPCEXCEPTION \
      50                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * aMessage, nsresult aResult, const char * aName, nsIStackFrame *aLocation, nsISupports *aData, nsIException *aInner); \
      51                 :   NS_IMETHOD StealJSVal(jsval *_retval NS_OUTPARAM); \
      52                 :   NS_IMETHOD StowJSVal(JSContext *cx, jsval val); 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55                 : #define NS_FORWARD_NSIXPCEXCEPTION(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * aMessage, nsresult aResult, const char * aName, nsIStackFrame *aLocation, nsISupports *aData, nsIException *aInner) { return _to Initialize(aMessage, aResult, aName, aLocation, aData, aInner); } \
      57                 :   NS_IMETHOD StealJSVal(jsval *_retval NS_OUTPARAM) { return _to StealJSVal(_retval); } \
      58                 :   NS_IMETHOD StowJSVal(JSContext *cx, jsval val) { return _to StowJSVal(cx, val); } 
      59                 : 
      60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61                 : #define NS_FORWARD_SAFE_NSIXPCEXCEPTION(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(const char * aMessage, nsresult aResult, const char * aName, nsIStackFrame *aLocation, nsISupports *aData, nsIException *aInner) { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(aMessage, aResult, aName, aLocation, aData, aInner); } \
      63                 :   NS_IMETHOD StealJSVal(jsval *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->StealJSVal(_retval); } \
      64                 :   NS_IMETHOD StowJSVal(JSContext *cx, jsval val) { return !_to ? NS_ERROR_NULL_POINTER : _to->StowJSVal(cx, val); } 
      65                 : 
      66                 : #if 0
      67                 : /* Use the code below as a template for the implementation class for this interface. */
      68                 : 
      69                 : /* Header file */
      70                 : class nsXPCException : public nsIXPCException
      71                 : {
      72                 : public:
      73                 :   NS_DECL_ISUPPORTS
      74                 :   NS_DECL_NSIXPCEXCEPTION
      75                 : 
      76                 :   nsXPCException();
      77                 : 
      78                 : private:
      79                 :   ~nsXPCException();
      80                 : 
      81                 : protected:
      82                 :   /* additional members */
      83                 : };
      84                 : 
      85                 : /* Implementation file */
      86                 : NS_IMPL_ISUPPORTS1(nsXPCException, nsIXPCException)
      87                 : 
      88                 : nsXPCException::nsXPCException()
      89                 : {
      90                 :   /* member initializers and constructor code */
      91                 : }
      92                 : 
      93                 : nsXPCException::~nsXPCException()
      94                 : {
      95                 :   /* destructor code */
      96                 : }
      97                 : 
      98                 : /* void initialize (in string aMessage, in nsresult aResult, in string aName, in nsIStackFrame aLocation, in nsISupports aData, in nsIException aInner); */
      99                 : NS_IMETHODIMP nsXPCException::Initialize(const char * aMessage, nsresult aResult, const char * aName, nsIStackFrame *aLocation, nsISupports *aData, nsIException *aInner)
     100                 : {
     101                 :     return NS_ERROR_NOT_IMPLEMENTED;
     102                 : }
     103                 : 
     104                 : /* [noscript] xpcexJSVal stealJSVal (); */
     105                 : NS_IMETHODIMP nsXPCException::StealJSVal(jsval *_retval NS_OUTPARAM)
     106                 : {
     107                 :     return NS_ERROR_NOT_IMPLEMENTED;
     108                 : }
     109                 : 
     110                 : /* [noscript] void stowJSVal (in xpcexJSContextPtr cx, in xpcexJSVal val); */
     111                 : NS_IMETHODIMP nsXPCException::StowJSVal(JSContext *cx, jsval val)
     112                 : {
     113                 :     return NS_ERROR_NOT_IMPLEMENTED;
     114                 : }
     115                 : 
     116                 : /* End of implementation class template. */
     117                 : #endif
     118                 : 
     119                 : /********************************************************/
     120                 : // {5632BF70-51EC-11d3-9896-006008962422}
     121                 : #define NS_XPCEXCEPTION_CID  \
     122                 : { 0x5632bf70, 0x51ec, 0x11d3, \
     123                 :     { 0x98, 0x96, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
     124                 : 
     125                 : #endif /* __gen_xpcexception_h__ */

Generated by: LCOV version 1.7