LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIRDFResource.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/nsIRDFResource.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRDFResource_h__
       6             : #define __gen_nsIRDFResource_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsrootidl_h__
      10             : #include "nsrootidl.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIRDFNode_h__
      14             : #include "nsIRDFNode.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:    nsIRDFResource */
      23             : #define NS_IRDFRESOURCE_IID_STR "fb9686a7-719a-49dc-9107-10dea5739341"
      24             : 
      25             : #define NS_IRDFRESOURCE_IID \
      26             :   {0xfb9686a7, 0x719a, 0x49dc, \
      27             :     { 0x91, 0x07, 0x10, 0xde, 0xa5, 0x73, 0x93, 0x41 }}
      28             : 
      29          35 : class NS_NO_VTABLE nsIRDFResource : public nsIRDFNode {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFRESOURCE_IID)
      33             : 
      34             :   /* readonly attribute string Value; */
      35             :   NS_IMETHOD GetValue(char * *aValue) = 0;
      36             : 
      37             :   /* readonly attribute AUTF8String ValueUTF8; */
      38             :   NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) = 0;
      39             : 
      40             :   /* [noscript] void GetValueConst ([shared] out string aConstValue); */
      41             :   NS_IMETHOD GetValueConst(const char * *aConstValue) = 0;
      42             : 
      43             :   /* void Init (in string uri); */
      44             :   NS_IMETHOD Init(const char * uri) = 0;
      45             : 
      46             :   /* boolean EqualsString (in string aURI); */
      47             :   NS_IMETHOD EqualsString(const char * aURI, bool *_retval) = 0;
      48             : 
      49             :   /* void GetDelegate (in string aKey, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aResult); */
      50             :   NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) = 0;
      51             : 
      52             :   /* void ReleaseDelegate (in string aKey); */
      53             :   NS_IMETHOD ReleaseDelegate(const char * aKey) = 0;
      54             : 
      55             : };
      56             : 
      57             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFResource, NS_IRDFRESOURCE_IID)
      58             : 
      59             : /* Use this macro when declaring classes that implement this interface. */
      60             : #define NS_DECL_NSIRDFRESOURCE \
      61             :   NS_IMETHOD GetValue(char * *aValue) override; \
      62             :   NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override; \
      63             :   NS_IMETHOD GetValueConst(const char * *aConstValue) override; \
      64             :   NS_IMETHOD Init(const char * uri) override; \
      65             :   NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override; \
      66             :   NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override; \
      67             :   NS_IMETHOD ReleaseDelegate(const char * aKey) override; 
      68             : 
      69             : /* Use this macro when declaring the members of this interface when the
      70             :    class doesn't implement the interface. This is useful for forwarding. */
      71             : #define NS_DECL_NON_VIRTUAL_NSIRDFRESOURCE \
      72             :   nsresult GetValue(char * *aValue); \
      73             :   nsresult GetValueUTF8(nsACString & aValueUTF8); \
      74             :   nsresult GetValueConst(const char * *aConstValue); \
      75             :   nsresult Init(const char * uri); \
      76             :   nsresult EqualsString(const char * aURI, bool *_retval); \
      77             :   nsresult GetDelegate(const char * aKey, const nsIID & aIID, void **aResult); \
      78             :   nsresult ReleaseDelegate(const char * aKey); 
      79             : 
      80             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      81             : #define NS_FORWARD_NSIRDFRESOURCE(_to) \
      82             :   NS_IMETHOD GetValue(char * *aValue) override { return _to GetValue(aValue); } \
      83             :   NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override { return _to GetValueUTF8(aValueUTF8); } \
      84             :   NS_IMETHOD GetValueConst(const char * *aConstValue) override { return _to GetValueConst(aConstValue); } \
      85             :   NS_IMETHOD Init(const char * uri) override { return _to Init(uri); } \
      86             :   NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override { return _to EqualsString(aURI, _retval); } \
      87             :   NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override { return _to GetDelegate(aKey, aIID, aResult); } \
      88             :   NS_IMETHOD ReleaseDelegate(const char * aKey) override { return _to ReleaseDelegate(aKey); } 
      89             : 
      90             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      91             : #define NS_FORWARD_SAFE_NSIRDFRESOURCE(_to) \
      92             :   NS_IMETHOD GetValue(char * *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
      93             :   NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueUTF8(aValueUTF8); } \
      94             :   NS_IMETHOD GetValueConst(const char * *aConstValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueConst(aConstValue); } \
      95             :   NS_IMETHOD Init(const char * uri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(uri); } \
      96             :   NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EqualsString(aURI, _retval); } \
      97             :   NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDelegate(aKey, aIID, aResult); } \
      98             :   NS_IMETHOD ReleaseDelegate(const char * aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseDelegate(aKey); } 
      99             : 
     100             : #if 0
     101             : /* Use the code below as a template for the implementation class for this interface. */
     102             : 
     103             : /* Header file */
     104             : class nsRDFResource : public nsIRDFResource
     105             : {
     106             : public:
     107             :   NS_DECL_ISUPPORTS
     108             :   NS_DECL_NSIRDFRESOURCE
     109             : 
     110             :   nsRDFResource();
     111             : 
     112             : private:
     113             :   ~nsRDFResource();
     114             : 
     115             : protected:
     116             :   /* additional members */
     117             : };
     118             : 
     119             : /* Implementation file */
     120             : NS_IMPL_ISUPPORTS(nsRDFResource, nsIRDFResource)
     121             : 
     122             : nsRDFResource::nsRDFResource()
     123             : {
     124             :   /* member initializers and constructor code */
     125             : }
     126             : 
     127             : nsRDFResource::~nsRDFResource()
     128             : {
     129             :   /* destructor code */
     130             : }
     131             : 
     132             : /* readonly attribute string Value; */
     133             : NS_IMETHODIMP nsRDFResource::GetValue(char * *aValue)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* readonly attribute AUTF8String ValueUTF8; */
     139             : NS_IMETHODIMP nsRDFResource::GetValueUTF8(nsACString & aValueUTF8)
     140             : {
     141             :     return NS_ERROR_NOT_IMPLEMENTED;
     142             : }
     143             : 
     144             : /* [noscript] void GetValueConst ([shared] out string aConstValue); */
     145             : NS_IMETHODIMP nsRDFResource::GetValueConst(const char * *aConstValue)
     146             : {
     147             :     return NS_ERROR_NOT_IMPLEMENTED;
     148             : }
     149             : 
     150             : /* void Init (in string uri); */
     151             : NS_IMETHODIMP nsRDFResource::Init(const char * uri)
     152             : {
     153             :     return NS_ERROR_NOT_IMPLEMENTED;
     154             : }
     155             : 
     156             : /* boolean EqualsString (in string aURI); */
     157             : NS_IMETHODIMP nsRDFResource::EqualsString(const char * aURI, bool *_retval)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : 
     162             : /* void GetDelegate (in string aKey, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aResult); */
     163             : NS_IMETHODIMP nsRDFResource::GetDelegate(const char * aKey, const nsIID & aIID, void **aResult)
     164             : {
     165             :     return NS_ERROR_NOT_IMPLEMENTED;
     166             : }
     167             : 
     168             : /* void ReleaseDelegate (in string aKey); */
     169             : NS_IMETHODIMP nsRDFResource::ReleaseDelegate(const char * aKey)
     170             : {
     171             :     return NS_ERROR_NOT_IMPLEMENTED;
     172             : }
     173             : 
     174             : /* End of implementation class template. */
     175             : #endif
     176             : 
     177             : 
     178             : #endif /* __gen_nsIRDFResource_h__ */

Generated by: LCOV version 1.13