/usr/include/thunderbird/nsIAccessibleEvent.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleEvent.idl
*/
#ifndef __gen_nsIAccessibleEvent_h__
#define __gen_nsIAccessibleEvent_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIAccessible; /* forward declaration */
class nsIAccessibleDocument; /* forward declaration */
class nsIDOMNode; /* forward declaration */
#define NS_ACCESSIBLE_EVENT_TOPIC "accessible-event"
/* starting interface: nsIAccessibleEvent */
#define NS_IACCESSIBLEEVENT_IID_STR "20c69a40-6c2c-42a3-a578-6f4473aab9dd"
#define NS_IACCESSIBLEEVENT_IID \
{0x20c69a40, 0x6c2c, 0x42a3, \
{ 0xa5, 0x78, 0x6f, 0x44, 0x73, 0xaa, 0xb9, 0xdd }}
class NS_NO_VTABLE nsIAccessibleEvent : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEEVENT_IID)
enum {
EVENT_SHOW = 1U,
EVENT_HIDE = 2U,
EVENT_REORDER = 3U,
EVENT_ACTIVE_DECENDENT_CHANGED = 4U,
EVENT_FOCUS = 5U,
EVENT_STATE_CHANGE = 6U,
EVENT_LOCATION_CHANGE = 7U,
EVENT_NAME_CHANGE = 8U,
EVENT_DESCRIPTION_CHANGE = 9U,
EVENT_VALUE_CHANGE = 10U,
EVENT_HELP_CHANGE = 11U,
EVENT_DEFACTION_CHANGE = 12U,
EVENT_ACTION_CHANGE = 13U,
EVENT_ACCELERATOR_CHANGE = 14U,
EVENT_SELECTION = 15U,
EVENT_SELECTION_ADD = 16U,
EVENT_SELECTION_REMOVE = 17U,
EVENT_SELECTION_WITHIN = 18U,
EVENT_ALERT = 19U,
EVENT_FOREGROUND = 20U,
EVENT_MENU_START = 21U,
EVENT_MENU_END = 22U,
EVENT_MENUPOPUP_START = 23U,
EVENT_MENUPOPUP_END = 24U,
EVENT_CAPTURE_START = 25U,
EVENT_CAPTURE_END = 26U,
EVENT_MOVESIZE_START = 27U,
EVENT_MOVESIZE_END = 28U,
EVENT_CONTEXTHELP_START = 29U,
EVENT_CONTEXTHELP_END = 30U,
EVENT_DRAGDROP_START = 31U,
EVENT_DRAGDROP_END = 32U,
EVENT_DIALOG_START = 33U,
EVENT_DIALOG_END = 34U,
EVENT_SCROLLING_START = 35U,
EVENT_SCROLLING_END = 36U,
EVENT_MINIMIZE_START = 37U,
EVENT_MINIMIZE_END = 38U,
EVENT_DOCUMENT_LOAD_COMPLETE = 39U,
EVENT_DOCUMENT_RELOAD = 40U,
EVENT_DOCUMENT_LOAD_STOPPED = 41U,
EVENT_DOCUMENT_ATTRIBUTES_CHANGED = 42U,
EVENT_DOCUMENT_CONTENT_CHANGED = 43U,
EVENT_PROPERTY_CHANGED = 44U,
EVENT_PAGE_CHANGED = 45U,
EVENT_TEXT_ATTRIBUTE_CHANGED = 46U,
EVENT_TEXT_CARET_MOVED = 47U,
EVENT_TEXT_CHANGED = 48U,
EVENT_TEXT_INSERTED = 49U,
EVENT_TEXT_REMOVED = 50U,
EVENT_TEXT_UPDATED = 51U,
EVENT_TEXT_SELECTION_CHANGED = 52U,
EVENT_VISIBLE_DATA_CHANGED = 53U,
EVENT_TEXT_COLUMN_CHANGED = 54U,
EVENT_SECTION_CHANGED = 55U,
EVENT_TABLE_CAPTION_CHANGED = 56U,
EVENT_TABLE_MODEL_CHANGED = 57U,
EVENT_TABLE_SUMMARY_CHANGED = 58U,
EVENT_TABLE_ROW_DESCRIPTION_CHANGED = 59U,
EVENT_TABLE_ROW_HEADER_CHANGED = 60U,
EVENT_TABLE_ROW_INSERT = 61U,
EVENT_TABLE_ROW_DELETE = 62U,
EVENT_TABLE_ROW_REORDER = 63U,
EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED = 64U,
EVENT_TABLE_COLUMN_HEADER_CHANGED = 65U,
EVENT_TABLE_COLUMN_INSERT = 66U,
EVENT_TABLE_COLUMN_DELETE = 67U,
EVENT_TABLE_COLUMN_REORDER = 68U,
EVENT_WINDOW_ACTIVATE = 69U,
EVENT_WINDOW_CREATE = 70U,
EVENT_WINDOW_DEACTIVATE = 71U,
EVENT_WINDOW_DESTROY = 72U,
EVENT_WINDOW_MAXIMIZE = 73U,
EVENT_WINDOW_MINIMIZE = 74U,
EVENT_WINDOW_RESIZE = 75U,
EVENT_WINDOW_RESTORE = 76U,
EVENT_HYPERLINK_END_INDEX_CHANGED = 77U,
EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED = 78U,
EVENT_HYPERLINK_SELECTED_LINK_CHANGED = 79U,
EVENT_HYPERTEXT_LINK_ACTIVATED = 80U,
EVENT_HYPERTEXT_LINK_SELECTED = 81U,
EVENT_HYPERLINK_START_INDEX_CHANGED = 82U,
EVENT_HYPERTEXT_CHANGED = 83U,
EVENT_HYPERTEXT_NLINKS_CHANGED = 84U,
EVENT_OBJECT_ATTRIBUTE_CHANGED = 85U,
EVENT_VIRTUALCURSOR_CHANGED = 86U,
EVENT_TEXT_VALUE_CHANGE = 87U,
EVENT_LAST_ENTRY = 88U
};
/* readonly attribute unsigned long eventType; */
NS_IMETHOD GetEventType(uint32_t *aEventType) = 0;
/* readonly attribute nsIAccessible accessible; */
NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) = 0;
/* readonly attribute nsIAccessibleDocument accessibleDocument; */
NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) = 0;
/* readonly attribute nsIDOMNode DOMNode; */
NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) = 0;
/* readonly attribute boolean isFromUserInput; */
NS_IMETHOD GetIsFromUserInput(bool *aIsFromUserInput) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleEvent, NS_IACCESSIBLEEVENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLEEVENT \
NS_IMETHOD GetEventType(uint32_t *aEventType) override; \
NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) override; \
NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) override; \
NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) override; \
NS_IMETHOD GetIsFromUserInput(bool *aIsFromUserInput) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIACCESSIBLEEVENT \
NS_METHOD GetEventType(uint32_t *aEventType); \
NS_METHOD GetAccessible(nsIAccessible * *aAccessible); \
NS_METHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument); \
NS_METHOD GetDOMNode(nsIDOMNode * *aDOMNode); \
NS_METHOD GetIsFromUserInput(bool *aIsFromUserInput);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLEEVENT(_to) \
NS_IMETHOD GetEventType(uint32_t *aEventType) override { return _to GetEventType(aEventType); } \
NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) override { return _to GetAccessible(aAccessible); } \
NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) override { return _to GetAccessibleDocument(aAccessibleDocument); } \
NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) override { return _to GetDOMNode(aDOMNode); } \
NS_IMETHOD GetIsFromUserInput(bool *aIsFromUserInput) override { return _to GetIsFromUserInput(aIsFromUserInput); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIACCESSIBLEEVENT(_to) \
NS_IMETHOD GetEventType(uint32_t *aEventType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEventType(aEventType); } \
NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessible(aAccessible); } \
NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleDocument(aAccessibleDocument); } \
NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMNode(aDOMNode); } \
NS_IMETHOD GetIsFromUserInput(bool *aIsFromUserInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFromUserInput(aIsFromUserInput); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAccessibleEvent : public nsIAccessibleEvent
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLEEVENT
nsAccessibleEvent();
private:
~nsAccessibleEvent();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsAccessibleEvent, nsIAccessibleEvent)
nsAccessibleEvent::nsAccessibleEvent()
{
/* member initializers and constructor code */
}
nsAccessibleEvent::~nsAccessibleEvent()
{
/* destructor code */
}
/* readonly attribute unsigned long eventType; */
NS_IMETHODIMP nsAccessibleEvent::GetEventType(uint32_t *aEventType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIAccessible accessible; */
NS_IMETHODIMP nsAccessibleEvent::GetAccessible(nsIAccessible * *aAccessible)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIAccessibleDocument accessibleDocument; */
NS_IMETHODIMP nsAccessibleEvent::GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMNode DOMNode; */
NS_IMETHODIMP nsAccessibleEvent::GetDOMNode(nsIDOMNode * *aDOMNode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isFromUserInput; */
NS_IMETHODIMP nsAccessibleEvent::GetIsFromUserInput(bool *aIsFromUserInput)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAccessibleEvent_h__ */
|