LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIRDFPurgeableDataSource.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/rdf/base/idl/nsIRDFPurgeableDataSource.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIRDFPurgeableDataSource_h__
       6                 : #define __gen_nsIRDFPurgeableDataSource_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIRDFResource_h__
      14                 : #include "nsIRDFResource.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsIRDFNode_h__
      18                 : #include "nsIRDFNode.h"
      19                 : #endif
      20                 : 
      21                 : /* For IDL files that don't want to include root IDL files. */
      22                 : #ifndef NS_NO_VTABLE
      23                 : #define NS_NO_VTABLE
      24                 : #endif
      25                 : 
      26                 : /* starting interface:    nsIRDFPurgeableDataSource */
      27                 : #define NS_IRDFPURGEABLEDATASOURCE_IID_STR "951700f0-fed0-11d2-bdd9-00104bde6048"
      28                 : 
      29                 : #define NS_IRDFPURGEABLEDATASOURCE_IID \
      30                 :   {0x951700f0, 0xfed0, 0x11d2, \
      31                 :     { 0xbd, 0xd9, 0x00, 0x10, 0x4b, 0xde, 0x60, 0x48 }}
      32                 : 
      33            2072 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFPurgeableDataSource : public nsISupports {
      34                 :  public: 
      35                 : 
      36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFPURGEABLEDATASOURCE_IID)
      37                 : 
      38                 :   /* boolean Mark (in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD Mark(nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget, bool aTruthValue, bool *_retval NS_OUTPARAM) = 0;
      40                 : 
      41                 :   /* void Sweep (); */
      42                 :   NS_SCRIPTABLE NS_IMETHOD Sweep(void) = 0;
      43                 : 
      44                 : };
      45                 : 
      46                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFPurgeableDataSource, NS_IRDFPURGEABLEDATASOURCE_IID)
      47                 : 
      48                 : /* Use this macro when declaring classes that implement this interface. */
      49                 : #define NS_DECL_NSIRDFPURGEABLEDATASOURCE \
      50                 :   NS_SCRIPTABLE NS_IMETHOD Mark(nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget, bool aTruthValue, bool *_retval NS_OUTPARAM); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD Sweep(void); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIRDFPURGEABLEDATASOURCE(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD Mark(nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget, bool aTruthValue, bool *_retval NS_OUTPARAM) { return _to Mark(aSource, aProperty, aTarget, aTruthValue, _retval); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD Sweep(void) { return _to Sweep(); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSIRDFPURGEABLEDATASOURCE(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD Mark(nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget, bool aTruthValue, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Mark(aSource, aProperty, aTarget, aTruthValue, _retval); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD Sweep(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Sweep(); } 
      62                 : 
      63                 : #if 0
      64                 : /* Use the code below as a template for the implementation class for this interface. */
      65                 : 
      66                 : /* Header file */
      67                 : class nsRDFPurgeableDataSource : public nsIRDFPurgeableDataSource
      68                 : {
      69                 : public:
      70                 :   NS_DECL_ISUPPORTS
      71                 :   NS_DECL_NSIRDFPURGEABLEDATASOURCE
      72                 : 
      73                 :   nsRDFPurgeableDataSource();
      74                 : 
      75                 : private:
      76                 :   ~nsRDFPurgeableDataSource();
      77                 : 
      78                 : protected:
      79                 :   /* additional members */
      80                 : };
      81                 : 
      82                 : /* Implementation file */
      83                 : NS_IMPL_ISUPPORTS1(nsRDFPurgeableDataSource, nsIRDFPurgeableDataSource)
      84                 : 
      85                 : nsRDFPurgeableDataSource::nsRDFPurgeableDataSource()
      86                 : {
      87                 :   /* member initializers and constructor code */
      88                 : }
      89                 : 
      90                 : nsRDFPurgeableDataSource::~nsRDFPurgeableDataSource()
      91                 : {
      92                 :   /* destructor code */
      93                 : }
      94                 : 
      95                 : /* boolean Mark (in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue); */
      96                 : NS_IMETHODIMP nsRDFPurgeableDataSource::Mark(nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget, bool aTruthValue, bool *_retval NS_OUTPARAM)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* void Sweep (); */
     102                 : NS_IMETHODIMP nsRDFPurgeableDataSource::Sweep()
     103                 : {
     104                 :     return NS_ERROR_NOT_IMPLEMENTED;
     105                 : }
     106                 : 
     107                 : /* End of implementation class template. */
     108                 : #endif
     109                 : 
     110                 : 
     111                 : #endif /* __gen_nsIRDFPurgeableDataSource_h__ */

Generated by: LCOV version 1.7