/usr/include/firefox/nsIDOMNSEvent.h is in firefox-dev 11.0+build1-0ubuntu4.
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 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/dom/interfaces/events/nsIDOMNSEvent.idl
*/
#ifndef __gen_nsIDOMNSEvent_h__
#define __gen_nsIDOMNSEvent_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
#ifdef ERROR
#undef ERROR
#endif
/* starting interface: nsIDOMNSEvent */
#define NS_IDOMNSEVENT_IID_STR "9be8096b-f795-4045-9664-0c275f36fe5b"
#define NS_IDOMNSEVENT_IID \
{0x9be8096b, 0xf795, 0x4045, \
{ 0x96, 0x64, 0x0c, 0x27, 0x5f, 0x36, 0xfe, 0x5b }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMNSEvent : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNSEVENT_IID)
enum {
MOUSEDOWN = 1,
MOUSEUP = 2,
MOUSEOVER = 4,
MOUSEOUT = 8,
MOUSEMOVE = 16,
MOUSEDRAG = 32,
CLICK = 64,
DBLCLICK = 128,
KEYDOWN = 256,
KEYUP = 512,
KEYPRESS = 1024,
DRAGDROP = 2048,
FOCUS = 4096,
BLUR = 8192,
SELECT = 16384,
CHANGE = 32768,
RESET = 65536,
SUBMIT = 131072,
SCROLL = 262144,
LOAD = 524288,
UNLOAD = 1048576,
XFER_DONE = 2097152,
ABORT = 4194304,
ERROR = 8388608,
LOCATE = 16777216,
MOVE = 33554432,
RESIZE = 67108864,
FORWARD = 134217728,
HELP = 268435456,
BACK = 536870912,
TEXT = 1073741824,
ALT_MASK = 1,
CONTROL_MASK = 2,
SHIFT_MASK = 4,
META_MASK = 8
};
/* readonly attribute nsIDOMEventTarget originalTarget; */
NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) = 0;
/* readonly attribute nsIDOMEventTarget explicitOriginalTarget; */
NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) = 0;
/* [noscript] readonly attribute nsIDOMEventTarget tmpRealOriginalTarget; */
NS_IMETHOD GetTmpRealOriginalTarget(nsIDOMEventTarget * *aTmpRealOriginalTarget) = 0;
/* void preventBubble (); */
NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) = 0;
/* void preventCapture (); */
NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) = 0;
/* boolean getPreventDefault (); */
NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) = 0;
/* readonly attribute boolean isTrusted; */
NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNSEvent, NS_IDOMNSEVENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMNSEVENT \
NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget); \
NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget); \
NS_IMETHOD GetTmpRealOriginalTarget(nsIDOMEventTarget * *aTmpRealOriginalTarget); \
NS_SCRIPTABLE NS_IMETHOD PreventBubble(void); \
NS_SCRIPTABLE NS_IMETHOD PreventCapture(void); \
NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMNSEVENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) { return _to GetOriginalTarget(aOriginalTarget); } \
NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) { return _to GetExplicitOriginalTarget(aExplicitOriginalTarget); } \
NS_IMETHOD GetTmpRealOriginalTarget(nsIDOMEventTarget * *aTmpRealOriginalTarget) { return _to GetTmpRealOriginalTarget(aTmpRealOriginalTarget); } \
NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) { return _to PreventBubble(); } \
NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) { return _to PreventCapture(); } \
NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) { return _to GetPreventDefault(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) { return _to GetIsTrusted(aIsTrusted); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMNSEVENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalTarget(aOriginalTarget); } \
NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExplicitOriginalTarget(aExplicitOriginalTarget); } \
NS_IMETHOD GetTmpRealOriginalTarget(nsIDOMEventTarget * *aTmpRealOriginalTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTmpRealOriginalTarget(aTmpRealOriginalTarget); } \
NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PreventBubble(); } \
NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PreventCapture(); } \
NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreventDefault(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsTrusted(aIsTrusted); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMNSEvent : public nsIDOMNSEvent
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMNSEVENT
nsDOMNSEvent();
private:
~nsDOMNSEvent();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMNSEvent, nsIDOMNSEvent)
nsDOMNSEvent::nsDOMNSEvent()
{
/* member initializers and constructor code */
}
nsDOMNSEvent::~nsDOMNSEvent()
{
/* destructor code */
}
/* readonly attribute nsIDOMEventTarget originalTarget; */
NS_IMETHODIMP nsDOMNSEvent::GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMEventTarget explicitOriginalTarget; */
NS_IMETHODIMP nsDOMNSEvent::GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] readonly attribute nsIDOMEventTarget tmpRealOriginalTarget; */
NS_IMETHODIMP nsDOMNSEvent::GetTmpRealOriginalTarget(nsIDOMEventTarget * *aTmpRealOriginalTarget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void preventBubble (); */
NS_IMETHODIMP nsDOMNSEvent::PreventBubble()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void preventCapture (); */
NS_IMETHODIMP nsDOMNSEvent::PreventCapture()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean getPreventDefault (); */
NS_IMETHODIMP nsDOMNSEvent::GetPreventDefault(bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isTrusted; */
NS_IMETHODIMP nsDOMNSEvent::GetIsTrusted(bool *aIsTrusted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMNSEvent_h__ */
|