/usr/include/thunderbird/nsIAccessibleSelectable.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleSelectable.idl
*/
#ifndef __gen_nsIAccessibleSelectable_h__
#define __gen_nsIAccessibleSelectable_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 nsIArray; /* forward declaration */
/* starting interface: nsIAccessibleSelectable */
#define NS_IACCESSIBLESELECTABLE_IID_STR "8efb03d4-1354-4875-94cf-261336057626"
#define NS_IACCESSIBLESELECTABLE_IID \
{0x8efb03d4, 0x1354, 0x4875, \
{ 0x94, 0xcf, 0x26, 0x13, 0x36, 0x05, 0x76, 0x26 }}
class NS_NO_VTABLE nsIAccessibleSelectable : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLESELECTABLE_IID)
/* readonly attribute nsIArray selectedItems; */
NS_IMETHOD GetSelectedItems(nsIArray * *aSelectedItems) = 0;
/* readonly attribute unsigned long selectedItemCount; */
NS_IMETHOD GetSelectedItemCount(uint32_t *aSelectedItemCount) = 0;
/* nsIAccessible getSelectedItemAt (in unsigned long index); */
NS_IMETHOD GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval) = 0;
/* boolean isItemSelected (in unsigned long index); */
NS_IMETHOD IsItemSelected(uint32_t index, bool *_retval) = 0;
/* void addItemToSelection (in unsigned long index); */
NS_IMETHOD AddItemToSelection(uint32_t index) = 0;
/* void removeItemFromSelection (in unsigned long index); */
NS_IMETHOD RemoveItemFromSelection(uint32_t index) = 0;
/* boolean selectAll (); */
NS_IMETHOD SelectAll(bool *_retval) = 0;
/* void unselectAll (); */
NS_IMETHOD UnselectAll(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleSelectable, NS_IACCESSIBLESELECTABLE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLESELECTABLE \
NS_IMETHOD GetSelectedItems(nsIArray * *aSelectedItems) override; \
NS_IMETHOD GetSelectedItemCount(uint32_t *aSelectedItemCount) override; \
NS_IMETHOD GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval) override; \
NS_IMETHOD IsItemSelected(uint32_t index, bool *_retval) override; \
NS_IMETHOD AddItemToSelection(uint32_t index) override; \
NS_IMETHOD RemoveItemFromSelection(uint32_t index) override; \
NS_IMETHOD SelectAll(bool *_retval) override; \
NS_IMETHOD UnselectAll(void) 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_NSIACCESSIBLESELECTABLE \
NS_METHOD GetSelectedItems(nsIArray * *aSelectedItems); \
NS_METHOD GetSelectedItemCount(uint32_t *aSelectedItemCount); \
NS_METHOD GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval); \
NS_METHOD IsItemSelected(uint32_t index, bool *_retval); \
NS_METHOD AddItemToSelection(uint32_t index); \
NS_METHOD RemoveItemFromSelection(uint32_t index); \
NS_METHOD SelectAll(bool *_retval); \
NS_METHOD UnselectAll(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLESELECTABLE(_to) \
NS_IMETHOD GetSelectedItems(nsIArray * *aSelectedItems) override { return _to GetSelectedItems(aSelectedItems); } \
NS_IMETHOD GetSelectedItemCount(uint32_t *aSelectedItemCount) override { return _to GetSelectedItemCount(aSelectedItemCount); } \
NS_IMETHOD GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval) override { return _to GetSelectedItemAt(index, _retval); } \
NS_IMETHOD IsItemSelected(uint32_t index, bool *_retval) override { return _to IsItemSelected(index, _retval); } \
NS_IMETHOD AddItemToSelection(uint32_t index) override { return _to AddItemToSelection(index); } \
NS_IMETHOD RemoveItemFromSelection(uint32_t index) override { return _to RemoveItemFromSelection(index); } \
NS_IMETHOD SelectAll(bool *_retval) override { return _to SelectAll(_retval); } \
NS_IMETHOD UnselectAll(void) override { return _to UnselectAll(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIACCESSIBLESELECTABLE(_to) \
NS_IMETHOD GetSelectedItems(nsIArray * *aSelectedItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItems(aSelectedItems); } \
NS_IMETHOD GetSelectedItemCount(uint32_t *aSelectedItemCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItemCount(aSelectedItemCount); } \
NS_IMETHOD GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItemAt(index, _retval); } \
NS_IMETHOD IsItemSelected(uint32_t index, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsItemSelected(index, _retval); } \
NS_IMETHOD AddItemToSelection(uint32_t index) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddItemToSelection(index); } \
NS_IMETHOD RemoveItemFromSelection(uint32_t index) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveItemFromSelection(index); } \
NS_IMETHOD SelectAll(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(_retval); } \
NS_IMETHOD UnselectAll(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnselectAll(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAccessibleSelectable : public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLESELECTABLE
nsAccessibleSelectable();
private:
~nsAccessibleSelectable();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsAccessibleSelectable, nsIAccessibleSelectable)
nsAccessibleSelectable::nsAccessibleSelectable()
{
/* member initializers and constructor code */
}
nsAccessibleSelectable::~nsAccessibleSelectable()
{
/* destructor code */
}
/* readonly attribute nsIArray selectedItems; */
NS_IMETHODIMP nsAccessibleSelectable::GetSelectedItems(nsIArray * *aSelectedItems)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long selectedItemCount; */
NS_IMETHODIMP nsAccessibleSelectable::GetSelectedItemCount(uint32_t *aSelectedItemCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getSelectedItemAt (in unsigned long index); */
NS_IMETHODIMP nsAccessibleSelectable::GetSelectedItemAt(uint32_t index, nsIAccessible * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isItemSelected (in unsigned long index); */
NS_IMETHODIMP nsAccessibleSelectable::IsItemSelected(uint32_t index, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addItemToSelection (in unsigned long index); */
NS_IMETHODIMP nsAccessibleSelectable::AddItemToSelection(uint32_t index)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeItemFromSelection (in unsigned long index); */
NS_IMETHODIMP nsAccessibleSelectable::RemoveItemFromSelection(uint32_t index)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean selectAll (); */
NS_IMETHODIMP nsAccessibleSelectable::SelectAll(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unselectAll (); */
NS_IMETHODIMP nsAccessibleSelectable::UnselectAll()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAccessibleSelectable_h__ */
|