LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMHashChangeEvent.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/nsIDOMHashChangeEvent.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMHashChangeEvent_h__
       6                 : #define __gen_nsIDOMHashChangeEvent_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:    nsIDOMHashChangeEvent */
      19                 : #define NS_IDOMHASHCHANGEEVENT_IID_STR "9fc4785c-b769-40e5-8f79-586e01413afd"
      20                 : 
      21                 : #define NS_IDOMHASHCHANGEEVENT_IID \
      22                 :   {0x9fc4785c, 0xb769, 0x40e5, \
      23                 :     { 0x8f, 0x79, 0x58, 0x6e, 0x01, 0x41, 0x3a, 0xfd }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHashChangeEvent : public nsIDOMEvent {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHASHCHANGEEVENT_IID)
      29                 : 
      30                 :   /* readonly attribute DOMString oldURL; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetOldURL(nsAString & aOldURL) = 0;
      32                 : 
      33                 :   /* readonly attribute DOMString newURL; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetNewURL(nsAString & aNewURL) = 0;
      35                 : 
      36                 :   /* void initHashChangeEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString oldURLArg, in DOMString newURLArg); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD InitHashChangeEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & oldURLArg, const nsAString & newURLArg) = 0;
      38                 : 
      39                 : };
      40                 : 
      41                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHashChangeEvent, NS_IDOMHASHCHANGEEVENT_IID)
      42                 : 
      43                 : /* Use this macro when declaring classes that implement this interface. */
      44                 : #define NS_DECL_NSIDOMHASHCHANGEEVENT \
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetOldURL(nsAString & aOldURL); \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetNewURL(nsAString & aNewURL); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD InitHashChangeEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & oldURLArg, const nsAString & newURLArg); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIDOMHASHCHANGEEVENT(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetOldURL(nsAString & aOldURL) { return _to GetOldURL(aOldURL); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetNewURL(nsAString & aNewURL) { return _to GetNewURL(aNewURL); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD InitHashChangeEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & oldURLArg, const nsAString & newURLArg) { return _to InitHashChangeEvent(typeArg, canBubbleArg, cancelableArg, oldURLArg, newURLArg); } 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      56                 : #define NS_FORWARD_SAFE_NSIDOMHASHCHANGEEVENT(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetOldURL(nsAString & aOldURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOldURL(aOldURL); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetNewURL(nsAString & aNewURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewURL(aNewURL); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD InitHashChangeEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & oldURLArg, const nsAString & newURLArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitHashChangeEvent(typeArg, canBubbleArg, cancelableArg, oldURLArg, newURLArg); } 
      60                 : 
      61                 : #if 0
      62                 : /* Use the code below as a template for the implementation class for this interface. */
      63                 : 
      64                 : /* Header file */
      65                 : class nsDOMHashChangeEvent : public nsIDOMHashChangeEvent
      66                 : {
      67                 : public:
      68                 :   NS_DECL_ISUPPORTS
      69                 :   NS_DECL_NSIDOMHASHCHANGEEVENT
      70                 : 
      71                 :   nsDOMHashChangeEvent();
      72                 : 
      73                 : private:
      74                 :   ~nsDOMHashChangeEvent();
      75                 : 
      76                 : protected:
      77                 :   /* additional members */
      78                 : };
      79                 : 
      80                 : /* Implementation file */
      81                 : NS_IMPL_ISUPPORTS1(nsDOMHashChangeEvent, nsIDOMHashChangeEvent)
      82                 : 
      83                 : nsDOMHashChangeEvent::nsDOMHashChangeEvent()
      84                 : {
      85                 :   /* member initializers and constructor code */
      86                 : }
      87                 : 
      88                 : nsDOMHashChangeEvent::~nsDOMHashChangeEvent()
      89                 : {
      90                 :   /* destructor code */
      91                 : }
      92                 : 
      93                 : /* readonly attribute DOMString oldURL; */
      94                 : NS_IMETHODIMP nsDOMHashChangeEvent::GetOldURL(nsAString & aOldURL)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* readonly attribute DOMString newURL; */
     100                 : NS_IMETHODIMP nsDOMHashChangeEvent::GetNewURL(nsAString & aNewURL)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* void initHashChangeEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString oldURLArg, in DOMString newURLArg); */
     106                 : NS_IMETHODIMP nsDOMHashChangeEvent::InitHashChangeEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & oldURLArg, const nsAString & newURLArg)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* End of implementation class template. */
     112                 : #endif
     113                 : 
     114                 : 
     115                 : #endif /* __gen_nsIDOMHashChangeEvent_h__ */

Generated by: LCOV version 1.7