/usr/include/thunderbird-11.0.1/nsIDOMXULMultSelectCntrlEl.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 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 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/dom/interfaces/xul/nsIDOMXULMultSelectCntrlEl.idl
*/
#ifndef __gen_nsIDOMXULMultSelectCntrlEl_h__
#define __gen_nsIDOMXULMultSelectCntrlEl_h__
#ifndef __gen_nsIDOMXULSelectCntrlEl_h__
#include "nsIDOMXULSelectCntrlEl.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDOMXULMultiSelectControlElement */
#define NS_IDOMXULMULTISELECTCONTROLELEMENT_IID_STR "98c367ca-ac5b-493c-83e9-1b6a67aee57b"
#define NS_IDOMXULMULTISELECTCONTROLELEMENT_IID \
{0x98c367ca, 0xac5b, 0x493c, \
{ 0x83, 0xe9, 0x1b, 0x6a, 0x67, 0xae, 0xe5, 0x7b }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMXULMultiSelectControlElement : public nsIDOMXULSelectControlElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULMULTISELECTCONTROLELEMENT_IID)
/* attribute DOMString selType; */
NS_SCRIPTABLE NS_IMETHOD GetSelType(nsAString & aSelType) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSelType(const nsAString & aSelType) = 0;
/* attribute nsIDOMXULSelectControlItemElement currentItem; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentItem(nsIDOMXULSelectControlItemElement * *aCurrentItem) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCurrentItem(nsIDOMXULSelectControlItemElement *aCurrentItem) = 0;
/* attribute long currentIndex; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) = 0;
/* readonly attribute nsIDOMNodeList selectedItems; */
NS_SCRIPTABLE NS_IMETHOD GetSelectedItems(nsIDOMNodeList * *aSelectedItems) = 0;
/* void addItemToSelection (in nsIDOMXULSelectControlItemElement item); */
NS_SCRIPTABLE NS_IMETHOD AddItemToSelection(nsIDOMXULSelectControlItemElement *item) = 0;
/* void removeItemFromSelection (in nsIDOMXULSelectControlItemElement item); */
NS_SCRIPTABLE NS_IMETHOD RemoveItemFromSelection(nsIDOMXULSelectControlItemElement *item) = 0;
/* void toggleItemSelection (in nsIDOMXULSelectControlItemElement item); */
NS_SCRIPTABLE NS_IMETHOD ToggleItemSelection(nsIDOMXULSelectControlItemElement *item) = 0;
/* void selectItem (in nsIDOMXULSelectControlItemElement item); */
NS_SCRIPTABLE NS_IMETHOD SelectItem(nsIDOMXULSelectControlItemElement *item) = 0;
/* void selectItemRange (in nsIDOMXULSelectControlItemElement startItem, in nsIDOMXULSelectControlItemElement item); */
NS_SCRIPTABLE NS_IMETHOD SelectItemRange(nsIDOMXULSelectControlItemElement *startItem, nsIDOMXULSelectControlItemElement *item) = 0;
/* void selectAll (); */
NS_SCRIPTABLE NS_IMETHOD SelectAll(void) = 0;
/* void invertSelection (); */
NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) = 0;
/* void clearSelection (); */
NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) = 0;
/* readonly attribute long selectedCount; */
NS_SCRIPTABLE NS_IMETHOD GetSelectedCount(PRInt32 *aSelectedCount) = 0;
/* nsIDOMXULSelectControlItemElement getSelectedItem (in long index); */
NS_SCRIPTABLE NS_IMETHOD GetSelectedItem(PRInt32 index, nsIDOMXULSelectControlItemElement * *_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULMultiSelectControlElement, NS_IDOMXULMULTISELECTCONTROLELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMXULMULTISELECTCONTROLELEMENT \
NS_SCRIPTABLE NS_IMETHOD GetSelType(nsAString & aSelType); \
NS_SCRIPTABLE NS_IMETHOD SetSelType(const nsAString & aSelType); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentItem(nsIDOMXULSelectControlItemElement * *aCurrentItem); \
NS_SCRIPTABLE NS_IMETHOD SetCurrentItem(nsIDOMXULSelectControlItemElement *aCurrentItem); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex); \
NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex); \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItems(nsIDOMNodeList * *aSelectedItems); \
NS_SCRIPTABLE NS_IMETHOD AddItemToSelection(nsIDOMXULSelectControlItemElement *item); \
NS_SCRIPTABLE NS_IMETHOD RemoveItemFromSelection(nsIDOMXULSelectControlItemElement *item); \
NS_SCRIPTABLE NS_IMETHOD ToggleItemSelection(nsIDOMXULSelectControlItemElement *item); \
NS_SCRIPTABLE NS_IMETHOD SelectItem(nsIDOMXULSelectControlItemElement *item); \
NS_SCRIPTABLE NS_IMETHOD SelectItemRange(nsIDOMXULSelectControlItemElement *startItem, nsIDOMXULSelectControlItemElement *item); \
NS_SCRIPTABLE NS_IMETHOD SelectAll(void); \
NS_SCRIPTABLE NS_IMETHOD InvertSelection(void); \
NS_SCRIPTABLE NS_IMETHOD ClearSelection(void); \
NS_SCRIPTABLE NS_IMETHOD GetSelectedCount(PRInt32 *aSelectedCount); \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItem(PRInt32 index, nsIDOMXULSelectControlItemElement * *_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMXULMULTISELECTCONTROLELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetSelType(nsAString & aSelType) { return _to GetSelType(aSelType); } \
NS_SCRIPTABLE NS_IMETHOD SetSelType(const nsAString & aSelType) { return _to SetSelType(aSelType); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentItem(nsIDOMXULSelectControlItemElement * *aCurrentItem) { return _to GetCurrentItem(aCurrentItem); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentItem(nsIDOMXULSelectControlItemElement *aCurrentItem) { return _to SetCurrentItem(aCurrentItem); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) { return _to GetCurrentIndex(aCurrentIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) { return _to SetCurrentIndex(aCurrentIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItems(nsIDOMNodeList * *aSelectedItems) { return _to GetSelectedItems(aSelectedItems); } \
NS_SCRIPTABLE NS_IMETHOD AddItemToSelection(nsIDOMXULSelectControlItemElement *item) { return _to AddItemToSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD RemoveItemFromSelection(nsIDOMXULSelectControlItemElement *item) { return _to RemoveItemFromSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD ToggleItemSelection(nsIDOMXULSelectControlItemElement *item) { return _to ToggleItemSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD SelectItem(nsIDOMXULSelectControlItemElement *item) { return _to SelectItem(item); } \
NS_SCRIPTABLE NS_IMETHOD SelectItemRange(nsIDOMXULSelectControlItemElement *startItem, nsIDOMXULSelectControlItemElement *item) { return _to SelectItemRange(startItem, item); } \
NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return _to SelectAll(); } \
NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) { return _to InvertSelection(); } \
NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return _to ClearSelection(); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedCount(PRInt32 *aSelectedCount) { return _to GetSelectedCount(aSelectedCount); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItem(PRInt32 index, nsIDOMXULSelectControlItemElement * *_retval NS_OUTPARAM) { return _to GetSelectedItem(index, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMXULMULTISELECTCONTROLELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetSelType(nsAString & aSelType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelType(aSelType); } \
NS_SCRIPTABLE NS_IMETHOD SetSelType(const nsAString & aSelType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelType(aSelType); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentItem(nsIDOMXULSelectControlItemElement * *aCurrentItem) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentItem(aCurrentItem); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentItem(nsIDOMXULSelectControlItemElement *aCurrentItem) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentItem(aCurrentItem); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentIndex(aCurrentIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentIndex(aCurrentIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItems(nsIDOMNodeList * *aSelectedItems) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItems(aSelectedItems); } \
NS_SCRIPTABLE NS_IMETHOD AddItemToSelection(nsIDOMXULSelectControlItemElement *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddItemToSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD RemoveItemFromSelection(nsIDOMXULSelectControlItemElement *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveItemFromSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD ToggleItemSelection(nsIDOMXULSelectControlItemElement *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToggleItemSelection(item); } \
NS_SCRIPTABLE NS_IMETHOD SelectItem(nsIDOMXULSelectControlItemElement *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectItem(item); } \
NS_SCRIPTABLE NS_IMETHOD SelectItemRange(nsIDOMXULSelectControlItemElement *startItem, nsIDOMXULSelectControlItemElement *item) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectItemRange(startItem, item); } \
NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvertSelection(); } \
NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearSelection(); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedCount(PRInt32 *aSelectedCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCount(aSelectedCount); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectedItem(PRInt32 index, nsIDOMXULSelectControlItemElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItem(index, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMXULMultiSelectControlElement : public nsIDOMXULMultiSelectControlElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMXULMULTISELECTCONTROLELEMENT
nsDOMXULMultiSelectControlElement();
private:
~nsDOMXULMultiSelectControlElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMXULMultiSelectControlElement, nsIDOMXULMultiSelectControlElement)
nsDOMXULMultiSelectControlElement::nsDOMXULMultiSelectControlElement()
{
/* member initializers and constructor code */
}
nsDOMXULMultiSelectControlElement::~nsDOMXULMultiSelectControlElement()
{
/* destructor code */
}
/* attribute DOMString selType; */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetSelType(nsAString & aSelType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SetSelType(const nsAString & aSelType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIDOMXULSelectControlItemElement currentItem; */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetCurrentItem(nsIDOMXULSelectControlItemElement * *aCurrentItem)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SetCurrentItem(nsIDOMXULSelectControlItemElement *aCurrentItem)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long currentIndex; */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetCurrentIndex(PRInt32 *aCurrentIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SetCurrentIndex(PRInt32 aCurrentIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMNodeList selectedItems; */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetSelectedItems(nsIDOMNodeList * *aSelectedItems)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addItemToSelection (in nsIDOMXULSelectControlItemElement item); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::AddItemToSelection(nsIDOMXULSelectControlItemElement *item)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeItemFromSelection (in nsIDOMXULSelectControlItemElement item); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::RemoveItemFromSelection(nsIDOMXULSelectControlItemElement *item)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void toggleItemSelection (in nsIDOMXULSelectControlItemElement item); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::ToggleItemSelection(nsIDOMXULSelectControlItemElement *item)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectItem (in nsIDOMXULSelectControlItemElement item); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SelectItem(nsIDOMXULSelectControlItemElement *item)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectItemRange (in nsIDOMXULSelectControlItemElement startItem, in nsIDOMXULSelectControlItemElement item); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SelectItemRange(nsIDOMXULSelectControlItemElement *startItem, nsIDOMXULSelectControlItemElement *item)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectAll (); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::SelectAll()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void invertSelection (); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::InvertSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearSelection (); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::ClearSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long selectedCount; */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetSelectedCount(PRInt32 *aSelectedCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMXULSelectControlItemElement getSelectedItem (in long index); */
NS_IMETHODIMP nsDOMXULMultiSelectControlElement::GetSelectedItem(PRInt32 index, nsIDOMXULSelectControlItemElement * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMXULMultSelectCntrlEl_h__ */
|