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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIURIRefObject.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIURIRefObject_h__
       6             : #define __gen_nsIURIRefObject_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_domstubs_h__
      14             : #include "domstubs.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             : class nsIDOMNode; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIURIRefObject */
      25             : #define NS_IURIREFOBJECT_IID_STR "2226927e-1dd2-11b2-b57f-faab47288563"
      26             : 
      27             : #define NS_IURIREFOBJECT_IID \
      28             :   {0x2226927e, 0x1dd2, 0x11b2, \
      29             :     { 0xb5, 0x7f, 0xfa, 0xab, 0x47, 0x28, 0x85, 0x63 }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIURIRefObject : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURIREFOBJECT_IID)
      35             : 
      36             :   /* attribute nsIDOMNode node; */
      37             :   NS_IMETHOD GetNode(nsIDOMNode * *aNode) = 0;
      38             :   NS_IMETHOD SetNode(nsIDOMNode *aNode) = 0;
      39             : 
      40             :   /* void Reset (); */
      41             :   NS_IMETHOD Reset(void) = 0;
      42             : 
      43             :   /* DOMString GetNextURI (); */
      44             :   NS_IMETHOD GetNextURI(nsAString & _retval) = 0;
      45             : 
      46             :   /* void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel); */
      47             :   NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) = 0;
      48             : 
      49             : };
      50             : 
      51             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIURIRefObject, NS_IURIREFOBJECT_IID)
      52             : 
      53             : /* Use this macro when declaring classes that implement this interface. */
      54             : #define NS_DECL_NSIURIREFOBJECT \
      55             :   NS_IMETHOD GetNode(nsIDOMNode * *aNode) override; \
      56             :   NS_IMETHOD SetNode(nsIDOMNode *aNode) override; \
      57             :   NS_IMETHOD Reset(void) override; \
      58             :   NS_IMETHOD GetNextURI(nsAString & _retval) override; \
      59             :   NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) override; 
      60             : 
      61             : /* Use this macro when declaring the members of this interface when the
      62             :    class doesn't implement the interface. This is useful for forwarding. */
      63             : #define NS_DECL_NON_VIRTUAL_NSIURIREFOBJECT \
      64             :   nsresult GetNode(nsIDOMNode * *aNode); \
      65             :   nsresult SetNode(nsIDOMNode *aNode); \
      66             :   nsresult Reset(void); \
      67             :   nsresult GetNextURI(nsAString & _retval); \
      68             :   nsresult RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel); 
      69             : 
      70             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      71             : #define NS_FORWARD_NSIURIREFOBJECT(_to) \
      72             :   NS_IMETHOD GetNode(nsIDOMNode * *aNode) override { return _to GetNode(aNode); } \
      73             :   NS_IMETHOD SetNode(nsIDOMNode *aNode) override { return _to SetNode(aNode); } \
      74             :   NS_IMETHOD Reset(void) override { return _to Reset(); } \
      75             :   NS_IMETHOD GetNextURI(nsAString & _retval) override { return _to GetNextURI(_retval); } \
      76             :   NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) override { return _to RewriteAllURIs(aOldPat, aNewPat, aMakeRel); } 
      77             : 
      78             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      79             : #define NS_FORWARD_SAFE_NSIURIREFOBJECT(_to) \
      80             :   NS_IMETHOD GetNode(nsIDOMNode * *aNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNode(aNode); } \
      81             :   NS_IMETHOD SetNode(nsIDOMNode *aNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNode(aNode); } \
      82             :   NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
      83             :   NS_IMETHOD GetNextURI(nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextURI(_retval); } \
      84             :   NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RewriteAllURIs(aOldPat, aNewPat, aMakeRel); } 
      85             : 
      86             : #if 0
      87             : /* Use the code below as a template for the implementation class for this interface. */
      88             : 
      89             : /* Header file */
      90             : class nsURIRefObject : public nsIURIRefObject
      91             : {
      92             : public:
      93             :   NS_DECL_ISUPPORTS
      94             :   NS_DECL_NSIURIREFOBJECT
      95             : 
      96             :   nsURIRefObject();
      97             : 
      98             : private:
      99             :   ~nsURIRefObject();
     100             : 
     101             : protected:
     102             :   /* additional members */
     103             : };
     104             : 
     105             : /* Implementation file */
     106             : NS_IMPL_ISUPPORTS(nsURIRefObject, nsIURIRefObject)
     107             : 
     108             : nsURIRefObject::nsURIRefObject()
     109             : {
     110             :   /* member initializers and constructor code */
     111             : }
     112             : 
     113             : nsURIRefObject::~nsURIRefObject()
     114             : {
     115             :   /* destructor code */
     116             : }
     117             : 
     118             : /* attribute nsIDOMNode node; */
     119             : NS_IMETHODIMP nsURIRefObject::GetNode(nsIDOMNode * *aNode)
     120             : {
     121             :     return NS_ERROR_NOT_IMPLEMENTED;
     122             : }
     123             : NS_IMETHODIMP nsURIRefObject::SetNode(nsIDOMNode *aNode)
     124             : {
     125             :     return NS_ERROR_NOT_IMPLEMENTED;
     126             : }
     127             : 
     128             : /* void Reset (); */
     129             : NS_IMETHODIMP nsURIRefObject::Reset()
     130             : {
     131             :     return NS_ERROR_NOT_IMPLEMENTED;
     132             : }
     133             : 
     134             : /* DOMString GetNextURI (); */
     135             : NS_IMETHODIMP nsURIRefObject::GetNextURI(nsAString & _retval)
     136             : {
     137             :     return NS_ERROR_NOT_IMPLEMENTED;
     138             : }
     139             : 
     140             : /* void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel); */
     141             : NS_IMETHODIMP nsURIRefObject::RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel)
     142             : {
     143             :     return NS_ERROR_NOT_IMPLEMENTED;
     144             : }
     145             : 
     146             : /* End of implementation class template. */
     147             : #endif
     148             : 
     149             : 
     150             : #endif /* __gen_nsIURIRefObject_h__ */

Generated by: LCOV version 1.13