/usr/include/thunderbird-11.0.1/nsIDOMPopStateEvent.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/dom/interfaces/events/nsIDOMPopStateEvent.idl
*/
#ifndef __gen_nsIDOMPopStateEvent_h__
#define __gen_nsIDOMPopStateEvent_h__
#ifndef __gen_nsIDOMEvent_h__
#include "nsIDOMEvent.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIVariant; /* forward declaration */
/* starting interface: nsIDOMPopStateEvent */
#define NS_IDOMPOPSTATEEVENT_IID_STR "034f5fcc-9b41-433c-9795-64767051926a"
#define NS_IDOMPOPSTATEEVENT_IID \
{0x034f5fcc, 0x9b41, 0x433c, \
{ 0x97, 0x95, 0x64, 0x76, 0x70, 0x51, 0x92, 0x6a }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMPopStateEvent : public nsIDOMEvent {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPOPSTATEEVENT_IID)
/* readonly attribute nsIVariant state; */
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) = 0;
/* void initPopStateEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIVariant stateArg); */
NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPopStateEvent, NS_IDOMPOPSTATEEVENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMPOPSTATEEVENT \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState); \
NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMPOPSTATEEVENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return _to GetState(aState); } \
NS_SCRIPTABLE NS_IMETHOD InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg) { return _to InitPopStateEvent(typeArg, canBubbleArg, cancelableArg, stateArg); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMPOPSTATEEVENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMPopStateEvent : public nsIDOMPopStateEvent
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMPOPSTATEEVENT
nsDOMPopStateEvent();
private:
~nsDOMPopStateEvent();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMPopStateEvent, nsIDOMPopStateEvent)
nsDOMPopStateEvent::nsDOMPopStateEvent()
{
/* member initializers and constructor code */
}
nsDOMPopStateEvent::~nsDOMPopStateEvent()
{
/* destructor code */
}
/* readonly attribute nsIVariant state; */
NS_IMETHODIMP nsDOMPopStateEvent::GetState(nsIVariant * *aState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void initPopStateEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIVariant stateArg); */
NS_IMETHODIMP nsDOMPopStateEvent::InitPopStateEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIVariant *stateArg)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIPopStateEventInit */
#define NS_IPOPSTATEEVENTINIT_IID_STR "2300bd68-f6e0-4c58-a1aa-45f94cdabfbd"
#define NS_IPOPSTATEEVENTINIT_IID \
{0x2300bd68, 0xf6e0, 0x4c58, \
{ 0xa1, 0xaa, 0x45, 0xf9, 0x4c, 0xda, 0xbf, 0xbd }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIPopStateEventInit : public nsIEventInit {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPOPSTATEEVENTINIT_IID)
/* attribute nsIVariant state; */
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) = 0;
NS_SCRIPTABLE NS_IMETHOD SetState(nsIVariant *aState) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIPopStateEventInit, NS_IPOPSTATEEVENTINIT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPOPSTATEEVENTINIT \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState); \
NS_SCRIPTABLE NS_IMETHOD SetState(nsIVariant *aState);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPOPSTATEEVENTINIT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return _to GetState(aState); } \
NS_SCRIPTABLE NS_IMETHOD SetState(nsIVariant *aState) { return _to SetState(aState); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPOPSTATEEVENTINIT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetState(nsIVariant * *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
NS_SCRIPTABLE NS_IMETHOD SetState(nsIVariant *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetState(aState); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsPopStateEventInit : public nsIPopStateEventInit
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPOPSTATEEVENTINIT
nsPopStateEventInit();
private:
~nsPopStateEventInit();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsPopStateEventInit, nsIPopStateEventInit)
nsPopStateEventInit::nsPopStateEventInit()
{
/* member initializers and constructor code */
}
nsPopStateEventInit::~nsPopStateEventInit()
{
/* destructor code */
}
/* attribute nsIVariant state; */
NS_IMETHODIMP nsPopStateEventInit::GetState(nsIVariant * *aState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPopStateEventInit::SetState(nsIVariant *aState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMPopStateEvent_h__ */
|