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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/editor/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 NS_SCRIPTABLE nsIURIRefObject : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURIREFOBJECT_IID)
      35                 : 
      36                 :   /* attribute nsIDOMNode node; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetNode(nsIDOMNode * *aNode) = 0;
      38                 :   NS_SCRIPTABLE NS_IMETHOD SetNode(nsIDOMNode *aNode) = 0;
      39                 : 
      40                 :   /* void Reset (); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) = 0;
      42                 : 
      43                 :   /* DOMString GetNextURI (); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetNextURI(nsAString & _retval NS_OUTPARAM) = 0;
      45                 : 
      46                 :   /* void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel); */
      47                 :   NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetNode(nsIDOMNode * *aNode); \
      56                 :   NS_SCRIPTABLE NS_IMETHOD SetNode(nsIDOMNode *aNode); \
      57                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void); \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetNextURI(nsAString & _retval NS_OUTPARAM); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel); 
      60                 : 
      61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62                 : #define NS_FORWARD_NSIURIREFOBJECT(_to) \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetNode(nsIDOMNode * *aNode) { return _to GetNode(aNode); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD SetNode(nsIDOMNode *aNode) { return _to SetNode(aNode); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) { return _to Reset(); } \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetNextURI(nsAString & _retval NS_OUTPARAM) { return _to GetNextURI(_retval); } \
      67                 :   NS_SCRIPTABLE NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) { return _to RewriteAllURIs(aOldPat, aNewPat, aMakeRel); } 
      68                 : 
      69                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      70                 : #define NS_FORWARD_SAFE_NSIURIREFOBJECT(_to) \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetNode(nsIDOMNode * *aNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNode(aNode); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetNode(nsIDOMNode *aNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNode(aNode); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetNextURI(nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextURI(_retval); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel) { return !_to ? NS_ERROR_NULL_POINTER : _to->RewriteAllURIs(aOldPat, aNewPat, aMakeRel); } 
      76                 : 
      77                 : #if 0
      78                 : /* Use the code below as a template for the implementation class for this interface. */
      79                 : 
      80                 : /* Header file */
      81                 : class nsURIRefObject : public nsIURIRefObject
      82                 : {
      83                 : public:
      84                 :   NS_DECL_ISUPPORTS
      85                 :   NS_DECL_NSIURIREFOBJECT
      86                 : 
      87                 :   nsURIRefObject();
      88                 : 
      89                 : private:
      90                 :   ~nsURIRefObject();
      91                 : 
      92                 : protected:
      93                 :   /* additional members */
      94                 : };
      95                 : 
      96                 : /* Implementation file */
      97                 : NS_IMPL_ISUPPORTS1(nsURIRefObject, nsIURIRefObject)
      98                 : 
      99                 : nsURIRefObject::nsURIRefObject()
     100                 : {
     101                 :   /* member initializers and constructor code */
     102                 : }
     103                 : 
     104                 : nsURIRefObject::~nsURIRefObject()
     105                 : {
     106                 :   /* destructor code */
     107                 : }
     108                 : 
     109                 : /* attribute nsIDOMNode node; */
     110                 : NS_IMETHODIMP nsURIRefObject::GetNode(nsIDOMNode * *aNode)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : NS_IMETHODIMP nsURIRefObject::SetNode(nsIDOMNode *aNode)
     115                 : {
     116                 :     return NS_ERROR_NOT_IMPLEMENTED;
     117                 : }
     118                 : 
     119                 : /* void Reset (); */
     120                 : NS_IMETHODIMP nsURIRefObject::Reset()
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* DOMString GetNextURI (); */
     126                 : NS_IMETHODIMP nsURIRefObject::GetNextURI(nsAString & _retval NS_OUTPARAM)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel); */
     132                 : NS_IMETHODIMP nsURIRefObject::RewriteAllURIs(const nsAString & aOldPat, const nsAString & aNewPat, bool aMakeRel)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* End of implementation class template. */
     138                 : #endif
     139                 : 
     140                 : 
     141                 : #endif /* __gen_nsIURIRefObject_h__ */

Generated by: LCOV version 1.7