LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMDataContainerEvent.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/dom/interfaces/events/nsIDOMDataContainerEvent.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMDataContainerEvent_h__
       6                 : #define __gen_nsIDOMDataContainerEvent_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMEvent_h__
      10                 : #include "nsIDOMEvent.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIVariant_h__
      14                 : #include "nsIVariant.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:    nsIDOMDataContainerEvent */
      23                 : #define NS_IDOMDATACONTAINEREVENT_IID_STR "ac70e6bd-1f52-45ce-9d63-0aa650480ba1"
      24                 : 
      25                 : #define NS_IDOMDATACONTAINEREVENT_IID \
      26                 :   {0xac70e6bd, 0x1f52, 0x45ce, \
      27                 :     { 0x9d, 0x63, 0x0a, 0xa6, 0x50, 0x48, 0x0b, 0xa1 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMDataContainerEvent : public nsIDOMEvent {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDATACONTAINEREVENT_IID)
      33                 : 
      34                 :   /* nsIVariant getData (in DOMString key); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & key, nsIVariant * *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 :   /* void setData (in DOMString key, in nsIVariant data); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & key, nsIVariant *data) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDataContainerEvent, NS_IDOMDATACONTAINEREVENT_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSIDOMDATACONTAINEREVENT \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & key, nsIVariant * *_retval NS_OUTPARAM); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & key, nsIVariant *data); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIDOMDATACONTAINEREVENT(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & key, nsIVariant * *_retval NS_OUTPARAM) { return _to GetData(key, _retval); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & key, nsIVariant *data) { return _to SetData(key, data); } 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55                 : #define NS_FORWARD_SAFE_NSIDOMDATACONTAINEREVENT(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetData(const nsAString & key, nsIVariant * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(key, _retval); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & key, nsIVariant *data) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(key, data); } 
      58                 : 
      59                 : #if 0
      60                 : /* Use the code below as a template for the implementation class for this interface. */
      61                 : 
      62                 : /* Header file */
      63                 : class nsDOMDataContainerEvent : public nsIDOMDataContainerEvent
      64                 : {
      65                 : public:
      66                 :   NS_DECL_ISUPPORTS
      67                 :   NS_DECL_NSIDOMDATACONTAINEREVENT
      68                 : 
      69                 :   nsDOMDataContainerEvent();
      70                 : 
      71                 : private:
      72                 :   ~nsDOMDataContainerEvent();
      73                 : 
      74                 : protected:
      75                 :   /* additional members */
      76                 : };
      77                 : 
      78                 : /* Implementation file */
      79                 : NS_IMPL_ISUPPORTS1(nsDOMDataContainerEvent, nsIDOMDataContainerEvent)
      80                 : 
      81                 : nsDOMDataContainerEvent::nsDOMDataContainerEvent()
      82                 : {
      83                 :   /* member initializers and constructor code */
      84                 : }
      85                 : 
      86                 : nsDOMDataContainerEvent::~nsDOMDataContainerEvent()
      87                 : {
      88                 :   /* destructor code */
      89                 : }
      90                 : 
      91                 : /* nsIVariant getData (in DOMString key); */
      92                 : NS_IMETHODIMP nsDOMDataContainerEvent::GetData(const nsAString & key, nsIVariant * *_retval NS_OUTPARAM)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* void setData (in DOMString key, in nsIVariant data); */
      98                 : NS_IMETHODIMP nsDOMDataContainerEvent::SetData(const nsAString & key, nsIVariant *data)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* End of implementation class template. */
     104                 : #endif
     105                 : 
     106                 : 
     107                 : #endif /* __gen_nsIDOMDataContainerEvent_h__ */

Generated by: LCOV version 1.7