/usr/include/thunderbird/nsIAccessibleTable.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 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 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleTable.idl
*/
#ifndef __gen_nsIAccessibleTable_h__
#define __gen_nsIAccessibleTable_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: nsIAccessibleTable */
#define NS_IACCESSIBLETABLE_IID_STR "cb0bf7b9-117e-40e2-9e46-189c3d43ce4a"
#define NS_IACCESSIBLETABLE_IID \
{0xcb0bf7b9, 0x117e, 0x40e2, \
{ 0x9e, 0x46, 0x18, 0x9c, 0x3d, 0x43, 0xce, 0x4a }}
class NS_NO_VTABLE nsIAccessibleTable : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETABLE_IID)
/* readonly attribute nsIAccessible caption; */
NS_IMETHOD GetCaption(nsIAccessible * *aCaption) = 0;
/* readonly attribute AString summary; */
NS_IMETHOD GetSummary(nsAString & aSummary) = 0;
/* readonly attribute long columnCount; */
NS_IMETHOD GetColumnCount(int32_t *aColumnCount) = 0;
/* readonly attribute long rowCount; */
NS_IMETHOD GetRowCount(int32_t *aRowCount) = 0;
/* nsIAccessible getCellAt (in long rowIndex, in long columnIndex); */
NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) = 0;
/* long getCellIndexAt (in long rowIndex, in long columnIndex); */
NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) = 0;
/* long getColumnIndexAt (in long cellIndex); */
NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) = 0;
/* long getRowIndexAt (in long cellIndex); */
NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) = 0;
/* void getRowAndColumnIndicesAt (in long cellIndex, out long rowIndex, out long columnIndex); */
NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) = 0;
/* long getColumnExtentAt (in long row, in long column); */
NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) = 0;
/* long getRowExtentAt (in long row, in long column); */
NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) = 0;
/* AString getColumnDescription (in long columnIndex); */
NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) = 0;
/* AString getRowDescription (in long rowIndex); */
NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) = 0;
/* boolean isColumnSelected (in long columnIndex); */
NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) = 0;
/* boolean isRowSelected (in long rowIndex); */
NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) = 0;
/* boolean isCellSelected (in long rowIndex, in long columnIndex); */
NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) = 0;
/* readonly attribute unsigned long selectedCellCount; */
NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) = 0;
/* readonly attribute unsigned long selectedColumnCount; */
NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) = 0;
/* readonly attribute unsigned long selectedRowCount; */
NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) = 0;
/* readonly attribute nsIArray selectedCells; */
NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) = 0;
/* void getSelectedCellIndices (out unsigned long cellsArraySize, [array, size_is (cellsArraySize), retval] out long cellsArray); */
NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) = 0;
/* void getSelectedColumnIndices (out unsigned long columnsArraySize, [array, size_is (columnsArraySize), retval] out long columnsArray); */
NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) = 0;
/* void getSelectedRowIndices (out unsigned long rowsArraySize, [array, size_is (rowsArraySize), retval] out long rowsArray); */
NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) = 0;
/* void selectRow (in long rowIndex); */
NS_IMETHOD SelectRow(int32_t rowIndex) = 0;
/* void selectColumn (in long columnIndex); */
NS_IMETHOD SelectColumn(int32_t columnIndex) = 0;
/* void unselectRow (in long rowIndex); */
NS_IMETHOD UnselectRow(int32_t rowIndex) = 0;
/* void unselectColumn (in long columnIndex); */
NS_IMETHOD UnselectColumn(int32_t columnIndex) = 0;
/* boolean isProbablyForLayout (); */
NS_IMETHOD IsProbablyForLayout(bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTable, NS_IACCESSIBLETABLE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLETABLE \
NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override; \
NS_IMETHOD GetSummary(nsAString & aSummary) override; \
NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override; \
NS_IMETHOD GetRowCount(int32_t *aRowCount) override; \
NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override; \
NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override; \
NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override; \
NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override; \
NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override; \
NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override; \
NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override; \
NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override; \
NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override; \
NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override; \
NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override; \
NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override; \
NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override; \
NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override; \
NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override; \
NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override; \
NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override; \
NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override; \
NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override; \
NS_IMETHOD SelectRow(int32_t rowIndex) override; \
NS_IMETHOD SelectColumn(int32_t columnIndex) override; \
NS_IMETHOD UnselectRow(int32_t rowIndex) override; \
NS_IMETHOD UnselectColumn(int32_t columnIndex) override; \
NS_IMETHOD IsProbablyForLayout(bool *_retval) 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_NSIACCESSIBLETABLE \
NS_METHOD GetCaption(nsIAccessible * *aCaption); \
NS_METHOD GetSummary(nsAString & aSummary); \
NS_METHOD GetColumnCount(int32_t *aColumnCount); \
NS_METHOD GetRowCount(int32_t *aRowCount); \
NS_METHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval); \
NS_METHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval); \
NS_METHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval); \
NS_METHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval); \
NS_METHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex); \
NS_METHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval); \
NS_METHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval); \
NS_METHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval); \
NS_METHOD GetRowDescription(int32_t rowIndex, nsAString & _retval); \
NS_METHOD IsColumnSelected(int32_t columnIndex, bool *_retval); \
NS_METHOD IsRowSelected(int32_t rowIndex, bool *_retval); \
NS_METHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval); \
NS_METHOD GetSelectedCellCount(uint32_t *aSelectedCellCount); \
NS_METHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount); \
NS_METHOD GetSelectedRowCount(uint32_t *aSelectedRowCount); \
NS_METHOD GetSelectedCells(nsIArray * *aSelectedCells); \
NS_METHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray); \
NS_METHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray); \
NS_METHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray); \
NS_METHOD SelectRow(int32_t rowIndex); \
NS_METHOD SelectColumn(int32_t columnIndex); \
NS_METHOD UnselectRow(int32_t rowIndex); \
NS_METHOD UnselectColumn(int32_t columnIndex); \
NS_METHOD IsProbablyForLayout(bool *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLETABLE(_to) \
NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override { return _to GetCaption(aCaption); } \
NS_IMETHOD GetSummary(nsAString & aSummary) override { return _to GetSummary(aSummary); } \
NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override { return _to GetColumnCount(aColumnCount); } \
NS_IMETHOD GetRowCount(int32_t *aRowCount) override { return _to GetRowCount(aRowCount); } \
NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override { return _to GetCellAt(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override { return _to GetCellIndexAt(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override { return _to GetColumnIndexAt(cellIndex, _retval); } \
NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override { return _to GetRowIndexAt(cellIndex, _retval); } \
NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override { return _to GetRowAndColumnIndicesAt(cellIndex, rowIndex, columnIndex); } \
NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return _to GetColumnExtentAt(row, column, _retval); } \
NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return _to GetRowExtentAt(row, column, _retval); } \
NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override { return _to GetColumnDescription(columnIndex, _retval); } \
NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override { return _to GetRowDescription(rowIndex, _retval); } \
NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override { return _to IsColumnSelected(columnIndex, _retval); } \
NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override { return _to IsRowSelected(rowIndex, _retval); } \
NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override { return _to IsCellSelected(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override { return _to GetSelectedCellCount(aSelectedCellCount); } \
NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override { return _to GetSelectedColumnCount(aSelectedColumnCount); } \
NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override { return _to GetSelectedRowCount(aSelectedRowCount); } \
NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override { return _to GetSelectedCells(aSelectedCells); } \
NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override { return _to GetSelectedCellIndices(cellsArraySize, cellsArray); } \
NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override { return _to GetSelectedColumnIndices(columnsArraySize, columnsArray); } \
NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override { return _to GetSelectedRowIndices(rowsArraySize, rowsArray); } \
NS_IMETHOD SelectRow(int32_t rowIndex) override { return _to SelectRow(rowIndex); } \
NS_IMETHOD SelectColumn(int32_t columnIndex) override { return _to SelectColumn(columnIndex); } \
NS_IMETHOD UnselectRow(int32_t rowIndex) override { return _to UnselectRow(rowIndex); } \
NS_IMETHOD UnselectColumn(int32_t columnIndex) override { return _to UnselectColumn(columnIndex); } \
NS_IMETHOD IsProbablyForLayout(bool *_retval) override { return _to IsProbablyForLayout(_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_NSIACCESSIBLETABLE(_to) \
NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaption(aCaption); } \
NS_IMETHOD GetSummary(nsAString & aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSummary(aSummary); } \
NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnCount(aColumnCount); } \
NS_IMETHOD GetRowCount(int32_t *aRowCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowCount(aRowCount); } \
NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellAt(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellIndexAt(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnIndexAt(cellIndex, _retval); } \
NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndexAt(cellIndex, _retval); } \
NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowAndColumnIndicesAt(cellIndex, rowIndex, columnIndex); } \
NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnExtentAt(row, column, _retval); } \
NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowExtentAt(row, column, _retval); } \
NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnDescription(columnIndex, _retval); } \
NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowDescription(rowIndex, _retval); } \
NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsColumnSelected(columnIndex, _retval); } \
NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRowSelected(rowIndex, _retval); } \
NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCellSelected(rowIndex, columnIndex, _retval); } \
NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCellCount(aSelectedCellCount); } \
NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedColumnCount(aSelectedColumnCount); } \
NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedRowCount(aSelectedRowCount); } \
NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCells(aSelectedCells); } \
NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCellIndices(cellsArraySize, cellsArray); } \
NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedColumnIndices(columnsArraySize, columnsArray); } \
NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedRowIndices(rowsArraySize, rowsArray); } \
NS_IMETHOD SelectRow(int32_t rowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectRow(rowIndex); } \
NS_IMETHOD SelectColumn(int32_t columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectColumn(columnIndex); } \
NS_IMETHOD UnselectRow(int32_t rowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnselectRow(rowIndex); } \
NS_IMETHOD UnselectColumn(int32_t columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnselectColumn(columnIndex); } \
NS_IMETHOD IsProbablyForLayout(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsProbablyForLayout(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAccessibleTable : public nsIAccessibleTable
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLETABLE
nsAccessibleTable();
private:
~nsAccessibleTable();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsAccessibleTable, nsIAccessibleTable)
nsAccessibleTable::nsAccessibleTable()
{
/* member initializers and constructor code */
}
nsAccessibleTable::~nsAccessibleTable()
{
/* destructor code */
}
/* readonly attribute nsIAccessible caption; */
NS_IMETHODIMP nsAccessibleTable::GetCaption(nsIAccessible * *aCaption)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString summary; */
NS_IMETHODIMP nsAccessibleTable::GetSummary(nsAString & aSummary)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long columnCount; */
NS_IMETHODIMP nsAccessibleTable::GetColumnCount(int32_t *aColumnCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long rowCount; */
NS_IMETHODIMP nsAccessibleTable::GetRowCount(int32_t *aRowCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getCellAt (in long rowIndex, in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getCellIndexAt (in long rowIndex, in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getColumnIndexAt (in long cellIndex); */
NS_IMETHODIMP nsAccessibleTable::GetColumnIndexAt(int32_t cellIndex, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getRowIndexAt (in long cellIndex); */
NS_IMETHODIMP nsAccessibleTable::GetRowIndexAt(int32_t cellIndex, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getRowAndColumnIndicesAt (in long cellIndex, out long rowIndex, out long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getColumnExtentAt (in long row, in long column); */
NS_IMETHODIMP nsAccessibleTable::GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getRowExtentAt (in long row, in long column); */
NS_IMETHODIMP nsAccessibleTable::GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getColumnDescription (in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::GetColumnDescription(int32_t columnIndex, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getRowDescription (in long rowIndex); */
NS_IMETHODIMP nsAccessibleTable::GetRowDescription(int32_t rowIndex, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isColumnSelected (in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::IsColumnSelected(int32_t columnIndex, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isRowSelected (in long rowIndex); */
NS_IMETHODIMP nsAccessibleTable::IsRowSelected(int32_t rowIndex, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isCellSelected (in long rowIndex, in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long selectedCellCount; */
NS_IMETHODIMP nsAccessibleTable::GetSelectedCellCount(uint32_t *aSelectedCellCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long selectedColumnCount; */
NS_IMETHODIMP nsAccessibleTable::GetSelectedColumnCount(uint32_t *aSelectedColumnCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long selectedRowCount; */
NS_IMETHODIMP nsAccessibleTable::GetSelectedRowCount(uint32_t *aSelectedRowCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIArray selectedCells; */
NS_IMETHODIMP nsAccessibleTable::GetSelectedCells(nsIArray * *aSelectedCells)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSelectedCellIndices (out unsigned long cellsArraySize, [array, size_is (cellsArraySize), retval] out long cellsArray); */
NS_IMETHODIMP nsAccessibleTable::GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSelectedColumnIndices (out unsigned long columnsArraySize, [array, size_is (columnsArraySize), retval] out long columnsArray); */
NS_IMETHODIMP nsAccessibleTable::GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSelectedRowIndices (out unsigned long rowsArraySize, [array, size_is (rowsArraySize), retval] out long rowsArray); */
NS_IMETHODIMP nsAccessibleTable::GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectRow (in long rowIndex); */
NS_IMETHODIMP nsAccessibleTable::SelectRow(int32_t rowIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectColumn (in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::SelectColumn(int32_t columnIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unselectRow (in long rowIndex); */
NS_IMETHODIMP nsAccessibleTable::UnselectRow(int32_t rowIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unselectColumn (in long columnIndex); */
NS_IMETHODIMP nsAccessibleTable::UnselectColumn(int32_t columnIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isProbablyForLayout (); */
NS_IMETHODIMP nsAccessibleTable::IsProbablyForLayout(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIAccessibleTableCell */
#define NS_IACCESSIBLETABLECELL_IID_STR "654e296d-fae6-452b-987d-746b20b9514b"
#define NS_IACCESSIBLETABLECELL_IID \
{0x654e296d, 0xfae6, 0x452b, \
{ 0x98, 0x7d, 0x74, 0x6b, 0x20, 0xb9, 0x51, 0x4b }}
class NS_NO_VTABLE nsIAccessibleTableCell : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETABLECELL_IID)
/* readonly attribute nsIAccessibleTable table; */
NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) = 0;
/* readonly attribute long columnIndex; */
NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) = 0;
/* readonly attribute long rowIndex; */
NS_IMETHOD GetRowIndex(int32_t *aRowIndex) = 0;
/* readonly attribute long columnExtent; */
NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) = 0;
/* readonly attribute long rowExtent; */
NS_IMETHOD GetRowExtent(int32_t *aRowExtent) = 0;
/* readonly attribute nsIArray columnHeaderCells; */
NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) = 0;
/* readonly attribute nsIArray rowHeaderCells; */
NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) = 0;
/* boolean isSelected (); */
NS_IMETHOD IsSelected(bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTableCell, NS_IACCESSIBLETABLECELL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLETABLECELL \
NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override; \
NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override; \
NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override; \
NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override; \
NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override; \
NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override; \
NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override; \
NS_IMETHOD IsSelected(bool *_retval) 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_NSIACCESSIBLETABLECELL \
NS_METHOD GetTable(nsIAccessibleTable * *aTable); \
NS_METHOD GetColumnIndex(int32_t *aColumnIndex); \
NS_METHOD GetRowIndex(int32_t *aRowIndex); \
NS_METHOD GetColumnExtent(int32_t *aColumnExtent); \
NS_METHOD GetRowExtent(int32_t *aRowExtent); \
NS_METHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells); \
NS_METHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells); \
NS_METHOD IsSelected(bool *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLETABLECELL(_to) \
NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override { return _to GetTable(aTable); } \
NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override { return _to GetColumnIndex(aColumnIndex); } \
NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override { return _to GetRowIndex(aRowIndex); } \
NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override { return _to GetColumnExtent(aColumnExtent); } \
NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override { return _to GetRowExtent(aRowExtent); } \
NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override { return _to GetColumnHeaderCells(aColumnHeaderCells); } \
NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override { return _to GetRowHeaderCells(aRowHeaderCells); } \
NS_IMETHOD IsSelected(bool *_retval) override { return _to IsSelected(_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_NSIACCESSIBLETABLECELL(_to) \
NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTable(aTable); } \
NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnIndex(aColumnIndex); } \
NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndex(aRowIndex); } \
NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnExtent(aColumnExtent); } \
NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowExtent(aRowExtent); } \
NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnHeaderCells(aColumnHeaderCells); } \
NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowHeaderCells(aRowHeaderCells); } \
NS_IMETHOD IsSelected(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSelected(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAccessibleTableCell : public nsIAccessibleTableCell
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLETABLECELL
nsAccessibleTableCell();
private:
~nsAccessibleTableCell();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsAccessibleTableCell, nsIAccessibleTableCell)
nsAccessibleTableCell::nsAccessibleTableCell()
{
/* member initializers and constructor code */
}
nsAccessibleTableCell::~nsAccessibleTableCell()
{
/* destructor code */
}
/* readonly attribute nsIAccessibleTable table; */
NS_IMETHODIMP nsAccessibleTableCell::GetTable(nsIAccessibleTable * *aTable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long columnIndex; */
NS_IMETHODIMP nsAccessibleTableCell::GetColumnIndex(int32_t *aColumnIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long rowIndex; */
NS_IMETHODIMP nsAccessibleTableCell::GetRowIndex(int32_t *aRowIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long columnExtent; */
NS_IMETHODIMP nsAccessibleTableCell::GetColumnExtent(int32_t *aColumnExtent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long rowExtent; */
NS_IMETHODIMP nsAccessibleTableCell::GetRowExtent(int32_t *aRowExtent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIArray columnHeaderCells; */
NS_IMETHODIMP nsAccessibleTableCell::GetColumnHeaderCells(nsIArray * *aColumnHeaderCells)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIArray rowHeaderCells; */
NS_IMETHODIMP nsAccessibleTableCell::GetRowHeaderCells(nsIArray * *aRowHeaderCells)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isSelected (); */
NS_IMETHODIMP nsAccessibleTableCell::IsSelected(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAccessibleTable_h__ */
|