LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMPopStateEvent.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/nsIDOMPopStateEvent.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMPopStateEvent_h__
       6                 : #define __gen_nsIDOMPopStateEvent_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                 : class nsIVariant; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIDOMPopStateEvent */
      21                 : #define NS_IDOMPOPSTATEEVENT_IID_STR "034f5fcc-9b41-433c-9795-64767051926a"
      22                 : 
      23                 : #define NS_IDOMPOPSTATEEVENT_IID \
      24                 :   {0x034f5fcc, 0x9b41, 0x433c, \
      25                 :     { 0x97, 0x95, 0x64, 0x76, 0x70, 0x51, 0x92, 0x6a }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMPopStateEvent : public nsIDOMEvent {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPOPSTATEEVENT_IID)
      31                 : 
      32                 :   /* readonly attribute nsIVariant state; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) = 0;
      34                 : 
      35                 :   /* void initPopStateEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIVariant stateArg); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg) = 0;
      37                 : 
      38                 : };
      39                 : 
      40                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPopStateEvent, NS_IDOMPOPSTATEEVENT_IID)
      41                 : 
      42                 : /* Use this macro when declaring classes that implement this interface. */
      43                 : #define NS_DECL_NSIDOMPOPSTATEEVENT \
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState); \
      45                 :   NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg); 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      48                 : #define NS_FORWARD_NSIDOMPOPSTATEEVENT(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return _to GetState(aState); } \
      50                 :   NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg) { return _to InitPopStateEvent(typeArg, canBubbleArg, cancelableArg, stateArg); } 
      51                 : 
      52                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      53                 : #define NS_FORWARD_SAFE_NSIDOMPOPSTATEEVENT(_to) \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitPopStateEvent(typeArg, canBubbleArg, cancelableArg, stateArg); } 
      56                 : 
      57                 : #if 0
      58                 : /* Use the code below as a template for the implementation class for this interface. */
      59                 : 
      60                 : /* Header file */
      61                 : class nsDOMPopStateEvent : public nsIDOMPopStateEvent
      62                 : {
      63                 : public:
      64                 :   NS_DECL_ISUPPORTS
      65                 :   NS_DECL_NSIDOMPOPSTATEEVENT
      66                 : 
      67                 :   nsDOMPopStateEvent();
      68                 : 
      69                 : private:
      70                 :   ~nsDOMPopStateEvent();
      71                 : 
      72                 : protected:
      73                 :   /* additional members */
      74                 : };
      75                 : 
      76                 : /* Implementation file */
      77                 : NS_IMPL_ISUPPORTS1(nsDOMPopStateEvent, nsIDOMPopStateEvent)
      78                 : 
      79                 : nsDOMPopStateEvent::nsDOMPopStateEvent()
      80                 : {
      81                 :   /* member initializers and constructor code */
      82                 : }
      83                 : 
      84                 : nsDOMPopStateEvent::~nsDOMPopStateEvent()
      85                 : {
      86                 :   /* destructor code */
      87                 : }
      88                 : 
      89                 : /* readonly attribute nsIVariant state; */
      90                 : NS_IMETHODIMP nsDOMPopStateEvent::GetState(nsIVariant * *aState)
      91                 : {
      92                 :     return NS_ERROR_NOT_IMPLEMENTED;
      93                 : }
      94                 : 
      95                 : /* void initPopStateEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIVariant stateArg); */
      96                 : NS_IMETHODIMP nsDOMPopStateEvent::InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* End of implementation class template. */
     102                 : #endif
     103                 : 
     104                 : 
     105                 : #endif /* __gen_nsIDOMPopStateEvent_h__ */

Generated by: LCOV version 1.7