LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMMutationEvent.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/dom/interfaces/events/nsIDOMMutationEvent.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMMutationEvent_h__
       6                 : #define __gen_nsIDOMMutationEvent_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMEvent_h__
      10                 : #include "nsIDOMEvent.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : 
      18                 : /* starting interface:    nsIDOMMutationEvent */
      19                 : #define NS_IDOMMUTATIONEVENT_IID_STR "72b3ddba-6cbb-4011-ac3b-50bd900b223d"
      20                 : 
      21                 : #define NS_IDOMMUTATIONEVENT_IID \
      22                 :   {0x72b3ddba, 0x6cbb, 0x4011, \
      23                 :     { 0xac, 0x3b, 0x50, 0xbd, 0x90, 0x0b, 0x22, 0x3d }}
      24                 : 
      25              44 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMutationEvent : public nsIDOMEvent {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMUTATIONEVENT_IID)
      29                 : 
      30                 :   enum {
      31                 :     MODIFICATION = 1U,
      32                 :     ADDITION = 2U,
      33                 :     REMOVAL = 3U
      34                 :   };
      35                 : 
      36                 :   /* readonly attribute nsIDOMNode relatedNode; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) = 0;
      38                 : 
      39                 :   /* readonly attribute DOMString prevValue; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) = 0;
      41                 : 
      42                 :   /* readonly attribute DOMString newValue; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) = 0;
      44                 : 
      45                 :   /* readonly attribute DOMString attrName; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) = 0;
      47                 : 
      48                 :   /* readonly attribute unsigned short attrChange; */
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) = 0;
      50                 : 
      51                 :   /* void initMutationEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMNode relatedNodeArg, in DOMString prevValueArg, in DOMString newValueArg, in DOMString attrNameArg, in unsigned short attrChangeArg); */
      52                 :   NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) = 0;
      53                 : 
      54                 : };
      55                 : 
      56                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMutationEvent, NS_IDOMMUTATIONEVENT_IID)
      57                 : 
      58                 : /* Use this macro when declaring classes that implement this interface. */
      59                 : #define NS_DECL_NSIDOMMUTATIONEVENT \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg); 
      66                 : 
      67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      68                 : #define NS_FORWARD_NSIDOMMUTATIONEVENT(_to) \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) { return _to GetRelatedNode(aRelatedNode); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) { return _to GetPrevValue(aPrevValue); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) { return _to GetNewValue(aNewValue); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) { return _to GetAttrName(aAttrName); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) { return _to GetAttrChange(aAttrChange); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) { return _to InitMutationEvent(typeArg, canBubbleArg, cancelableArg, relatedNodeArg, prevValueArg, newValueArg, attrNameArg, attrChangeArg); } 
      75                 : 
      76                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      77                 : #define NS_FORWARD_SAFE_NSIDOMMUTATIONEVENT(_to) \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelatedNode(aRelatedNode); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrevValue(aPrevValue); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewValue(aNewValue); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttrName(aAttrName); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttrChange(aAttrChange); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitMutationEvent(typeArg, canBubbleArg, cancelableArg, relatedNodeArg, prevValueArg, newValueArg, attrNameArg, attrChangeArg); } 
      84                 : 
      85                 : #if 0
      86                 : /* Use the code below as a template for the implementation class for this interface. */
      87                 : 
      88                 : /* Header file */
      89                 : class nsDOMMutationEvent : public nsIDOMMutationEvent
      90                 : {
      91                 : public:
      92                 :   NS_DECL_ISUPPORTS
      93                 :   NS_DECL_NSIDOMMUTATIONEVENT
      94                 : 
      95                 :   nsDOMMutationEvent();
      96                 : 
      97                 : private:
      98                 :   ~nsDOMMutationEvent();
      99                 : 
     100                 : protected:
     101                 :   /* additional members */
     102                 : };
     103                 : 
     104                 : /* Implementation file */
     105                 : NS_IMPL_ISUPPORTS1(nsDOMMutationEvent, nsIDOMMutationEvent)
     106                 : 
     107                 : nsDOMMutationEvent::nsDOMMutationEvent()
     108                 : {
     109                 :   /* member initializers and constructor code */
     110                 : }
     111                 : 
     112                 : nsDOMMutationEvent::~nsDOMMutationEvent()
     113                 : {
     114                 :   /* destructor code */
     115                 : }
     116                 : 
     117                 : /* readonly attribute nsIDOMNode relatedNode; */
     118                 : NS_IMETHODIMP nsDOMMutationEvent::GetRelatedNode(nsIDOMNode * *aRelatedNode)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* readonly attribute DOMString prevValue; */
     124                 : NS_IMETHODIMP nsDOMMutationEvent::GetPrevValue(nsAString & aPrevValue)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* readonly attribute DOMString newValue; */
     130                 : NS_IMETHODIMP nsDOMMutationEvent::GetNewValue(nsAString & aNewValue)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* readonly attribute DOMString attrName; */
     136                 : NS_IMETHODIMP nsDOMMutationEvent::GetAttrName(nsAString & aAttrName)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* readonly attribute unsigned short attrChange; */
     142                 : NS_IMETHODIMP nsDOMMutationEvent::GetAttrChange(PRUint16 *aAttrChange)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* void initMutationEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMNode relatedNodeArg, in DOMString prevValueArg, in DOMString newValueArg, in DOMString attrNameArg, in unsigned short attrChangeArg); */
     148                 : NS_IMETHODIMP nsDOMMutationEvent::InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* End of implementation class template. */
     154                 : #endif
     155                 : 
     156                 : 
     157                 : #endif /* __gen_nsIDOMMutationEvent_h__ */

Generated by: LCOV version 1.7