LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIRDFObserver.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/rdf/base/idl/nsIRDFObserver.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIRDFObserver_h__
       6                 : #define __gen_nsIRDFObserver_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                 : class nsIRDFDataSource; /* forward declaration */
      26                 : 
      27                 : 
      28                 : /* starting interface:    nsIRDFObserver */
      29                 : #define NS_IRDFOBSERVER_IID_STR "3cc75360-484a-11d2-bc16-00805f912fe7"
      30                 : 
      31                 : #define NS_IRDFOBSERVER_IID \
      32                 :   {0x3cc75360, 0x484a, 0x11d2, \
      33                 :     { 0xbc, 0x16, 0x00, 0x80, 0x5f, 0x91, 0x2f, 0xe7 }}
      34                 : 
      35               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFObserver : public nsISupports {
      36                 :  public: 
      37                 : 
      38                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFOBSERVER_IID)
      39                 : 
      40                 :   /* void onAssert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      42                 : 
      43                 :   /* void onUnassert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      45                 : 
      46                 :   /* void onChange (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget); */
      47                 :   NS_SCRIPTABLE NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) = 0;
      48                 : 
      49                 :   /* void onMove (in nsIRDFDataSource aDataSource, in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      51                 : 
      52                 :   /* void onBeginUpdateBatch (in nsIRDFDataSource aDataSource); */
      53                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) = 0;
      54                 : 
      55                 :   /* void onEndUpdateBatch (in nsIRDFDataSource aDataSource); */
      56                 :   NS_SCRIPTABLE NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) = 0;
      57                 : 
      58                 : };
      59                 : 
      60                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFObserver, NS_IRDFOBSERVER_IID)
      61                 : 
      62                 : /* Use this macro when declaring classes that implement this interface. */
      63                 : #define NS_DECL_NSIRDFOBSERVER \
      64                 :   NS_SCRIPTABLE NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource); 
      70                 : 
      71                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72                 : #define NS_FORWARD_NSIRDFOBSERVER(_to) \
      73                 :   NS_SCRIPTABLE NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return _to OnAssert(aDataSource, aSource, aProperty, aTarget); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return _to OnUnassert(aDataSource, aSource, aProperty, aTarget); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) { return _to OnChange(aDataSource, aSource, aProperty, aOldTarget, aNewTarget); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return _to OnMove(aDataSource, aOldSource, aNewSource, aProperty, aTarget); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) { return _to OnBeginUpdateBatch(aDataSource); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) { return _to OnEndUpdateBatch(aDataSource); } 
      79                 : 
      80                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      81                 : #define NS_FORWARD_SAFE_NSIRDFOBSERVER(_to) \
      82                 :   NS_SCRIPTABLE NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAssert(aDataSource, aSource, aProperty, aTarget); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUnassert(aDataSource, aSource, aProperty, aTarget); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnChange(aDataSource, aSource, aProperty, aOldTarget, aNewTarget); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnMove(aDataSource, aOldSource, aNewSource, aProperty, aTarget); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnBeginUpdateBatch(aDataSource); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndUpdateBatch(aDataSource); } 
      88                 : 
      89                 : #if 0
      90                 : /* Use the code below as a template for the implementation class for this interface. */
      91                 : 
      92                 : /* Header file */
      93                 : class nsRDFObserver : public nsIRDFObserver
      94                 : {
      95                 : public:
      96                 :   NS_DECL_ISUPPORTS
      97                 :   NS_DECL_NSIRDFOBSERVER
      98                 : 
      99                 :   nsRDFObserver();
     100                 : 
     101                 : private:
     102                 :   ~nsRDFObserver();
     103                 : 
     104                 : protected:
     105                 :   /* additional members */
     106                 : };
     107                 : 
     108                 : /* Implementation file */
     109                 : NS_IMPL_ISUPPORTS1(nsRDFObserver, nsIRDFObserver)
     110                 : 
     111                 : nsRDFObserver::nsRDFObserver()
     112                 : {
     113                 :   /* member initializers and constructor code */
     114                 : }
     115                 : 
     116                 : nsRDFObserver::~nsRDFObserver()
     117                 : {
     118                 :   /* destructor code */
     119                 : }
     120                 : 
     121                 : /* void onAssert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     122                 : NS_IMETHODIMP nsRDFObserver::OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* void onUnassert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     128                 : NS_IMETHODIMP nsRDFObserver::OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* void onChange (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget); */
     134                 : NS_IMETHODIMP nsRDFObserver::OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* void onMove (in nsIRDFDataSource aDataSource, in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     140                 : NS_IMETHODIMP nsRDFObserver::OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* void onBeginUpdateBatch (in nsIRDFDataSource aDataSource); */
     146                 : NS_IMETHODIMP nsRDFObserver::OnBeginUpdateBatch(nsIRDFDataSource *aDataSource)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* void onEndUpdateBatch (in nsIRDFDataSource aDataSource); */
     152                 : NS_IMETHODIMP nsRDFObserver::OnEndUpdateBatch(nsIRDFDataSource *aDataSource)
     153                 : {
     154                 :     return NS_ERROR_NOT_IMPLEMENTED;
     155                 : }
     156                 : 
     157                 : /* End of implementation class template. */
     158                 : #endif
     159                 : 
     160                 : 
     161                 : #endif /* __gen_nsIRDFObserver_h__ */

Generated by: LCOV version 1.7