LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAccessibleTable.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleTable.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAccessibleTable_h__
       6             : #define __gen_nsIAccessibleTable_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : class nsIAccessible; /* forward declaration */
      18             : 
      19             : class nsIArray; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIAccessibleTable */
      23             : #define NS_IACCESSIBLETABLE_IID_STR "cb0bf7b9-117e-40e2-9e46-189c3d43ce4a"
      24             : 
      25             : #define NS_IACCESSIBLETABLE_IID \
      26             :   {0xcb0bf7b9, 0x117e, 0x40e2, \
      27             :     { 0x9e, 0x46, 0x18, 0x9c, 0x3d, 0x43, 0xce, 0x4a }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIAccessibleTable : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETABLE_IID)
      33             : 
      34             :   /* readonly attribute nsIAccessible caption; */
      35             :   NS_IMETHOD GetCaption(nsIAccessible * *aCaption) = 0;
      36             : 
      37             :   /* readonly attribute AString summary; */
      38             :   NS_IMETHOD GetSummary(nsAString & aSummary) = 0;
      39             : 
      40             :   /* readonly attribute long columnCount; */
      41             :   NS_IMETHOD GetColumnCount(int32_t *aColumnCount) = 0;
      42             : 
      43             :   /* readonly attribute long rowCount; */
      44             :   NS_IMETHOD GetRowCount(int32_t *aRowCount) = 0;
      45             : 
      46             :   /* nsIAccessible getCellAt (in long rowIndex, in long columnIndex); */
      47             :   NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) = 0;
      48             : 
      49             :   /* long getCellIndexAt (in long rowIndex, in long columnIndex); */
      50             :   NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) = 0;
      51             : 
      52             :   /* long getColumnIndexAt (in long cellIndex); */
      53             :   NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) = 0;
      54             : 
      55             :   /* long getRowIndexAt (in long cellIndex); */
      56             :   NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) = 0;
      57             : 
      58             :   /* void getRowAndColumnIndicesAt (in long cellIndex, out long rowIndex, out long columnIndex); */
      59             :   NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) = 0;
      60             : 
      61             :   /* long getColumnExtentAt (in long row, in long column); */
      62             :   NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) = 0;
      63             : 
      64             :   /* long getRowExtentAt (in long row, in long column); */
      65             :   NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) = 0;
      66             : 
      67             :   /* AString getColumnDescription (in long columnIndex); */
      68             :   NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) = 0;
      69             : 
      70             :   /* AString getRowDescription (in long rowIndex); */
      71             :   NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) = 0;
      72             : 
      73             :   /* boolean isColumnSelected (in long columnIndex); */
      74             :   NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) = 0;
      75             : 
      76             :   /* boolean isRowSelected (in long rowIndex); */
      77             :   NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) = 0;
      78             : 
      79             :   /* boolean isCellSelected (in long rowIndex, in long columnIndex); */
      80             :   NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) = 0;
      81             : 
      82             :   /* readonly attribute unsigned long selectedCellCount; */
      83             :   NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) = 0;
      84             : 
      85             :   /* readonly attribute unsigned long selectedColumnCount; */
      86             :   NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) = 0;
      87             : 
      88             :   /* readonly attribute unsigned long selectedRowCount; */
      89             :   NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) = 0;
      90             : 
      91             :   /* readonly attribute nsIArray selectedCells; */
      92             :   NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) = 0;
      93             : 
      94             :   /* void getSelectedCellIndices (out unsigned long cellsArraySize, [array, size_is (cellsArraySize), retval] out long cellsArray); */
      95             :   NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) = 0;
      96             : 
      97             :   /* void getSelectedColumnIndices (out unsigned long columnsArraySize, [array, size_is (columnsArraySize), retval] out long columnsArray); */
      98             :   NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) = 0;
      99             : 
     100             :   /* void getSelectedRowIndices (out unsigned long rowsArraySize, [array, size_is (rowsArraySize), retval] out long rowsArray); */
     101             :   NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) = 0;
     102             : 
     103             :   /* void selectRow (in long rowIndex); */
     104             :   NS_IMETHOD SelectRow(int32_t rowIndex) = 0;
     105             : 
     106             :   /* void selectColumn (in long columnIndex); */
     107             :   NS_IMETHOD SelectColumn(int32_t columnIndex) = 0;
     108             : 
     109             :   /* void unselectRow (in long rowIndex); */
     110             :   NS_IMETHOD UnselectRow(int32_t rowIndex) = 0;
     111             : 
     112             :   /* void unselectColumn (in long columnIndex); */
     113             :   NS_IMETHOD UnselectColumn(int32_t columnIndex) = 0;
     114             : 
     115             :   /* boolean isProbablyForLayout (); */
     116             :   NS_IMETHOD IsProbablyForLayout(bool *_retval) = 0;
     117             : 
     118             : };
     119             : 
     120             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTable, NS_IACCESSIBLETABLE_IID)
     121             : 
     122             : /* Use this macro when declaring classes that implement this interface. */
     123             : #define NS_DECL_NSIACCESSIBLETABLE \
     124             :   NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override; \
     125             :   NS_IMETHOD GetSummary(nsAString & aSummary) override; \
     126             :   NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override; \
     127             :   NS_IMETHOD GetRowCount(int32_t *aRowCount) override; \
     128             :   NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override; \
     129             :   NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override; \
     130             :   NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override; \
     131             :   NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override; \
     132             :   NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override; \
     133             :   NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override; \
     134             :   NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override; \
     135             :   NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override; \
     136             :   NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override; \
     137             :   NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override; \
     138             :   NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override; \
     139             :   NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override; \
     140             :   NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override; \
     141             :   NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override; \
     142             :   NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override; \
     143             :   NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override; \
     144             :   NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override; \
     145             :   NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override; \
     146             :   NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override; \
     147             :   NS_IMETHOD SelectRow(int32_t rowIndex) override; \
     148             :   NS_IMETHOD SelectColumn(int32_t columnIndex) override; \
     149             :   NS_IMETHOD UnselectRow(int32_t rowIndex) override; \
     150             :   NS_IMETHOD UnselectColumn(int32_t columnIndex) override; \
     151             :   NS_IMETHOD IsProbablyForLayout(bool *_retval) override; 
     152             : 
     153             : /* Use this macro when declaring the members of this interface when the
     154             :    class doesn't implement the interface. This is useful for forwarding. */
     155             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLETABLE \
     156             :   nsresult GetCaption(nsIAccessible * *aCaption); \
     157             :   nsresult GetSummary(nsAString & aSummary); \
     158             :   nsresult GetColumnCount(int32_t *aColumnCount); \
     159             :   nsresult GetRowCount(int32_t *aRowCount); \
     160             :   nsresult GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval); \
     161             :   nsresult GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval); \
     162             :   nsresult GetColumnIndexAt(int32_t cellIndex, int32_t *_retval); \
     163             :   nsresult GetRowIndexAt(int32_t cellIndex, int32_t *_retval); \
     164             :   nsresult GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex); \
     165             :   nsresult GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval); \
     166             :   nsresult GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval); \
     167             :   nsresult GetColumnDescription(int32_t columnIndex, nsAString & _retval); \
     168             :   nsresult GetRowDescription(int32_t rowIndex, nsAString & _retval); \
     169             :   nsresult IsColumnSelected(int32_t columnIndex, bool *_retval); \
     170             :   nsresult IsRowSelected(int32_t rowIndex, bool *_retval); \
     171             :   nsresult IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval); \
     172             :   nsresult GetSelectedCellCount(uint32_t *aSelectedCellCount); \
     173             :   nsresult GetSelectedColumnCount(uint32_t *aSelectedColumnCount); \
     174             :   nsresult GetSelectedRowCount(uint32_t *aSelectedRowCount); \
     175             :   nsresult GetSelectedCells(nsIArray * *aSelectedCells); \
     176             :   nsresult GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray); \
     177             :   nsresult GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray); \
     178             :   nsresult GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray); \
     179             :   nsresult SelectRow(int32_t rowIndex); \
     180             :   nsresult SelectColumn(int32_t columnIndex); \
     181             :   nsresult UnselectRow(int32_t rowIndex); \
     182             :   nsresult UnselectColumn(int32_t columnIndex); \
     183             :   nsresult IsProbablyForLayout(bool *_retval); 
     184             : 
     185             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     186             : #define NS_FORWARD_NSIACCESSIBLETABLE(_to) \
     187             :   NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override { return _to GetCaption(aCaption); } \
     188             :   NS_IMETHOD GetSummary(nsAString & aSummary) override { return _to GetSummary(aSummary); } \
     189             :   NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override { return _to GetColumnCount(aColumnCount); } \
     190             :   NS_IMETHOD GetRowCount(int32_t *aRowCount) override { return _to GetRowCount(aRowCount); } \
     191             :   NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override { return _to GetCellAt(rowIndex, columnIndex, _retval); } \
     192             :   NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override { return _to GetCellIndexAt(rowIndex, columnIndex, _retval); } \
     193             :   NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override { return _to GetColumnIndexAt(cellIndex, _retval); } \
     194             :   NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override { return _to GetRowIndexAt(cellIndex, _retval); } \
     195             :   NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override { return _to GetRowAndColumnIndicesAt(cellIndex, rowIndex, columnIndex); } \
     196             :   NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return _to GetColumnExtentAt(row, column, _retval); } \
     197             :   NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return _to GetRowExtentAt(row, column, _retval); } \
     198             :   NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override { return _to GetColumnDescription(columnIndex, _retval); } \
     199             :   NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override { return _to GetRowDescription(rowIndex, _retval); } \
     200             :   NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override { return _to IsColumnSelected(columnIndex, _retval); } \
     201             :   NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override { return _to IsRowSelected(rowIndex, _retval); } \
     202             :   NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override { return _to IsCellSelected(rowIndex, columnIndex, _retval); } \
     203             :   NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override { return _to GetSelectedCellCount(aSelectedCellCount); } \
     204             :   NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override { return _to GetSelectedColumnCount(aSelectedColumnCount); } \
     205             :   NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override { return _to GetSelectedRowCount(aSelectedRowCount); } \
     206             :   NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override { return _to GetSelectedCells(aSelectedCells); } \
     207             :   NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override { return _to GetSelectedCellIndices(cellsArraySize, cellsArray); } \
     208             :   NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override { return _to GetSelectedColumnIndices(columnsArraySize, columnsArray); } \
     209             :   NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override { return _to GetSelectedRowIndices(rowsArraySize, rowsArray); } \
     210             :   NS_IMETHOD SelectRow(int32_t rowIndex) override { return _to SelectRow(rowIndex); } \
     211             :   NS_IMETHOD SelectColumn(int32_t columnIndex) override { return _to SelectColumn(columnIndex); } \
     212             :   NS_IMETHOD UnselectRow(int32_t rowIndex) override { return _to UnselectRow(rowIndex); } \
     213             :   NS_IMETHOD UnselectColumn(int32_t columnIndex) override { return _to UnselectColumn(columnIndex); } \
     214             :   NS_IMETHOD IsProbablyForLayout(bool *_retval) override { return _to IsProbablyForLayout(_retval); } 
     215             : 
     216             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     217             : #define NS_FORWARD_SAFE_NSIACCESSIBLETABLE(_to) \
     218             :   NS_IMETHOD GetCaption(nsIAccessible * *aCaption) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaption(aCaption); } \
     219             :   NS_IMETHOD GetSummary(nsAString & aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSummary(aSummary); } \
     220             :   NS_IMETHOD GetColumnCount(int32_t *aColumnCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnCount(aColumnCount); } \
     221             :   NS_IMETHOD GetRowCount(int32_t *aRowCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowCount(aRowCount); } \
     222             :   NS_IMETHOD GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellAt(rowIndex, columnIndex, _retval); } \
     223             :   NS_IMETHOD GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellIndexAt(rowIndex, columnIndex, _retval); } \
     224             :   NS_IMETHOD GetColumnIndexAt(int32_t cellIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnIndexAt(cellIndex, _retval); } \
     225             :   NS_IMETHOD GetRowIndexAt(int32_t cellIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndexAt(cellIndex, _retval); } \
     226             :   NS_IMETHOD GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowAndColumnIndicesAt(cellIndex, rowIndex, columnIndex); } \
     227             :   NS_IMETHOD GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnExtentAt(row, column, _retval); } \
     228             :   NS_IMETHOD GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowExtentAt(row, column, _retval); } \
     229             :   NS_IMETHOD GetColumnDescription(int32_t columnIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnDescription(columnIndex, _retval); } \
     230             :   NS_IMETHOD GetRowDescription(int32_t rowIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowDescription(rowIndex, _retval); } \
     231             :   NS_IMETHOD IsColumnSelected(int32_t columnIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsColumnSelected(columnIndex, _retval); } \
     232             :   NS_IMETHOD IsRowSelected(int32_t rowIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRowSelected(rowIndex, _retval); } \
     233             :   NS_IMETHOD IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCellSelected(rowIndex, columnIndex, _retval); } \
     234             :   NS_IMETHOD GetSelectedCellCount(uint32_t *aSelectedCellCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCellCount(aSelectedCellCount); } \
     235             :   NS_IMETHOD GetSelectedColumnCount(uint32_t *aSelectedColumnCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedColumnCount(aSelectedColumnCount); } \
     236             :   NS_IMETHOD GetSelectedRowCount(uint32_t *aSelectedRowCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedRowCount(aSelectedRowCount); } \
     237             :   NS_IMETHOD GetSelectedCells(nsIArray * *aSelectedCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCells(aSelectedCells); } \
     238             :   NS_IMETHOD GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedCellIndices(cellsArraySize, cellsArray); } \
     239             :   NS_IMETHOD GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedColumnIndices(columnsArraySize, columnsArray); } \
     240             :   NS_IMETHOD GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedRowIndices(rowsArraySize, rowsArray); } \
     241             :   NS_IMETHOD SelectRow(int32_t rowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectRow(rowIndex); } \
     242             :   NS_IMETHOD SelectColumn(int32_t columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectColumn(columnIndex); } \
     243             :   NS_IMETHOD UnselectRow(int32_t rowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnselectRow(rowIndex); } \
     244             :   NS_IMETHOD UnselectColumn(int32_t columnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnselectColumn(columnIndex); } \
     245             :   NS_IMETHOD IsProbablyForLayout(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsProbablyForLayout(_retval); } 
     246             : 
     247             : #if 0
     248             : /* Use the code below as a template for the implementation class for this interface. */
     249             : 
     250             : /* Header file */
     251             : class nsAccessibleTable : public nsIAccessibleTable
     252             : {
     253             : public:
     254             :   NS_DECL_ISUPPORTS
     255             :   NS_DECL_NSIACCESSIBLETABLE
     256             : 
     257             :   nsAccessibleTable();
     258             : 
     259             : private:
     260             :   ~nsAccessibleTable();
     261             : 
     262             : protected:
     263             :   /* additional members */
     264             : };
     265             : 
     266             : /* Implementation file */
     267             : NS_IMPL_ISUPPORTS(nsAccessibleTable, nsIAccessibleTable)
     268             : 
     269             : nsAccessibleTable::nsAccessibleTable()
     270             : {
     271             :   /* member initializers and constructor code */
     272             : }
     273             : 
     274             : nsAccessibleTable::~nsAccessibleTable()
     275             : {
     276             :   /* destructor code */
     277             : }
     278             : 
     279             : /* readonly attribute nsIAccessible caption; */
     280             : NS_IMETHODIMP nsAccessibleTable::GetCaption(nsIAccessible * *aCaption)
     281             : {
     282             :     return NS_ERROR_NOT_IMPLEMENTED;
     283             : }
     284             : 
     285             : /* readonly attribute AString summary; */
     286             : NS_IMETHODIMP nsAccessibleTable::GetSummary(nsAString & aSummary)
     287             : {
     288             :     return NS_ERROR_NOT_IMPLEMENTED;
     289             : }
     290             : 
     291             : /* readonly attribute long columnCount; */
     292             : NS_IMETHODIMP nsAccessibleTable::GetColumnCount(int32_t *aColumnCount)
     293             : {
     294             :     return NS_ERROR_NOT_IMPLEMENTED;
     295             : }
     296             : 
     297             : /* readonly attribute long rowCount; */
     298             : NS_IMETHODIMP nsAccessibleTable::GetRowCount(int32_t *aRowCount)
     299             : {
     300             :     return NS_ERROR_NOT_IMPLEMENTED;
     301             : }
     302             : 
     303             : /* nsIAccessible getCellAt (in long rowIndex, in long columnIndex); */
     304             : NS_IMETHODIMP nsAccessibleTable::GetCellAt(int32_t rowIndex, int32_t columnIndex, nsIAccessible * *_retval)
     305             : {
     306             :     return NS_ERROR_NOT_IMPLEMENTED;
     307             : }
     308             : 
     309             : /* long getCellIndexAt (in long rowIndex, in long columnIndex); */
     310             : NS_IMETHODIMP nsAccessibleTable::GetCellIndexAt(int32_t rowIndex, int32_t columnIndex, int32_t *_retval)
     311             : {
     312             :     return NS_ERROR_NOT_IMPLEMENTED;
     313             : }
     314             : 
     315             : /* long getColumnIndexAt (in long cellIndex); */
     316             : NS_IMETHODIMP nsAccessibleTable::GetColumnIndexAt(int32_t cellIndex, int32_t *_retval)
     317             : {
     318             :     return NS_ERROR_NOT_IMPLEMENTED;
     319             : }
     320             : 
     321             : /* long getRowIndexAt (in long cellIndex); */
     322             : NS_IMETHODIMP nsAccessibleTable::GetRowIndexAt(int32_t cellIndex, int32_t *_retval)
     323             : {
     324             :     return NS_ERROR_NOT_IMPLEMENTED;
     325             : }
     326             : 
     327             : /* void getRowAndColumnIndicesAt (in long cellIndex, out long rowIndex, out long columnIndex); */
     328             : NS_IMETHODIMP nsAccessibleTable::GetRowAndColumnIndicesAt(int32_t cellIndex, int32_t *rowIndex, int32_t *columnIndex)
     329             : {
     330             :     return NS_ERROR_NOT_IMPLEMENTED;
     331             : }
     332             : 
     333             : /* long getColumnExtentAt (in long row, in long column); */
     334             : NS_IMETHODIMP nsAccessibleTable::GetColumnExtentAt(int32_t row, int32_t column, int32_t *_retval)
     335             : {
     336             :     return NS_ERROR_NOT_IMPLEMENTED;
     337             : }
     338             : 
     339             : /* long getRowExtentAt (in long row, in long column); */
     340             : NS_IMETHODIMP nsAccessibleTable::GetRowExtentAt(int32_t row, int32_t column, int32_t *_retval)
     341             : {
     342             :     return NS_ERROR_NOT_IMPLEMENTED;
     343             : }
     344             : 
     345             : /* AString getColumnDescription (in long columnIndex); */
     346             : NS_IMETHODIMP nsAccessibleTable::GetColumnDescription(int32_t columnIndex, nsAString & _retval)
     347             : {
     348             :     return NS_ERROR_NOT_IMPLEMENTED;
     349             : }
     350             : 
     351             : /* AString getRowDescription (in long rowIndex); */
     352             : NS_IMETHODIMP nsAccessibleTable::GetRowDescription(int32_t rowIndex, nsAString & _retval)
     353             : {
     354             :     return NS_ERROR_NOT_IMPLEMENTED;
     355             : }
     356             : 
     357             : /* boolean isColumnSelected (in long columnIndex); */
     358             : NS_IMETHODIMP nsAccessibleTable::IsColumnSelected(int32_t columnIndex, bool *_retval)
     359             : {
     360             :     return NS_ERROR_NOT_IMPLEMENTED;
     361             : }
     362             : 
     363             : /* boolean isRowSelected (in long rowIndex); */
     364             : NS_IMETHODIMP nsAccessibleTable::IsRowSelected(int32_t rowIndex, bool *_retval)
     365             : {
     366             :     return NS_ERROR_NOT_IMPLEMENTED;
     367             : }
     368             : 
     369             : /* boolean isCellSelected (in long rowIndex, in long columnIndex); */
     370             : NS_IMETHODIMP nsAccessibleTable::IsCellSelected(int32_t rowIndex, int32_t columnIndex, bool *_retval)
     371             : {
     372             :     return NS_ERROR_NOT_IMPLEMENTED;
     373             : }
     374             : 
     375             : /* readonly attribute unsigned long selectedCellCount; */
     376             : NS_IMETHODIMP nsAccessibleTable::GetSelectedCellCount(uint32_t *aSelectedCellCount)
     377             : {
     378             :     return NS_ERROR_NOT_IMPLEMENTED;
     379             : }
     380             : 
     381             : /* readonly attribute unsigned long selectedColumnCount; */
     382             : NS_IMETHODIMP nsAccessibleTable::GetSelectedColumnCount(uint32_t *aSelectedColumnCount)
     383             : {
     384             :     return NS_ERROR_NOT_IMPLEMENTED;
     385             : }
     386             : 
     387             : /* readonly attribute unsigned long selectedRowCount; */
     388             : NS_IMETHODIMP nsAccessibleTable::GetSelectedRowCount(uint32_t *aSelectedRowCount)
     389             : {
     390             :     return NS_ERROR_NOT_IMPLEMENTED;
     391             : }
     392             : 
     393             : /* readonly attribute nsIArray selectedCells; */
     394             : NS_IMETHODIMP nsAccessibleTable::GetSelectedCells(nsIArray * *aSelectedCells)
     395             : {
     396             :     return NS_ERROR_NOT_IMPLEMENTED;
     397             : }
     398             : 
     399             : /* void getSelectedCellIndices (out unsigned long cellsArraySize, [array, size_is (cellsArraySize), retval] out long cellsArray); */
     400             : NS_IMETHODIMP nsAccessibleTable::GetSelectedCellIndices(uint32_t *cellsArraySize, int32_t **cellsArray)
     401             : {
     402             :     return NS_ERROR_NOT_IMPLEMENTED;
     403             : }
     404             : 
     405             : /* void getSelectedColumnIndices (out unsigned long columnsArraySize, [array, size_is (columnsArraySize), retval] out long columnsArray); */
     406             : NS_IMETHODIMP nsAccessibleTable::GetSelectedColumnIndices(uint32_t *columnsArraySize, int32_t **columnsArray)
     407             : {
     408             :     return NS_ERROR_NOT_IMPLEMENTED;
     409             : }
     410             : 
     411             : /* void getSelectedRowIndices (out unsigned long rowsArraySize, [array, size_is (rowsArraySize), retval] out long rowsArray); */
     412             : NS_IMETHODIMP nsAccessibleTable::GetSelectedRowIndices(uint32_t *rowsArraySize, int32_t **rowsArray)
     413             : {
     414             :     return NS_ERROR_NOT_IMPLEMENTED;
     415             : }
     416             : 
     417             : /* void selectRow (in long rowIndex); */
     418             : NS_IMETHODIMP nsAccessibleTable::SelectRow(int32_t rowIndex)
     419             : {
     420             :     return NS_ERROR_NOT_IMPLEMENTED;
     421             : }
     422             : 
     423             : /* void selectColumn (in long columnIndex); */
     424             : NS_IMETHODIMP nsAccessibleTable::SelectColumn(int32_t columnIndex)
     425             : {
     426             :     return NS_ERROR_NOT_IMPLEMENTED;
     427             : }
     428             : 
     429             : /* void unselectRow (in long rowIndex); */
     430             : NS_IMETHODIMP nsAccessibleTable::UnselectRow(int32_t rowIndex)
     431             : {
     432             :     return NS_ERROR_NOT_IMPLEMENTED;
     433             : }
     434             : 
     435             : /* void unselectColumn (in long columnIndex); */
     436             : NS_IMETHODIMP nsAccessibleTable::UnselectColumn(int32_t columnIndex)
     437             : {
     438             :     return NS_ERROR_NOT_IMPLEMENTED;
     439             : }
     440             : 
     441             : /* boolean isProbablyForLayout (); */
     442             : NS_IMETHODIMP nsAccessibleTable::IsProbablyForLayout(bool *_retval)
     443             : {
     444             :     return NS_ERROR_NOT_IMPLEMENTED;
     445             : }
     446             : 
     447             : /* End of implementation class template. */
     448             : #endif
     449             : 
     450             : 
     451             : /* starting interface:    nsIAccessibleTableCell */
     452             : #define NS_IACCESSIBLETABLECELL_IID_STR "654e296d-fae6-452b-987d-746b20b9514b"
     453             : 
     454             : #define NS_IACCESSIBLETABLECELL_IID \
     455             :   {0x654e296d, 0xfae6, 0x452b, \
     456             :     { 0x98, 0x7d, 0x74, 0x6b, 0x20, 0xb9, 0x51, 0x4b }}
     457             : 
     458           0 : class NS_NO_VTABLE nsIAccessibleTableCell : public nsISupports {
     459             :  public:
     460             : 
     461             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETABLECELL_IID)
     462             : 
     463             :   /* readonly attribute nsIAccessibleTable table; */
     464             :   NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) = 0;
     465             : 
     466             :   /* readonly attribute long columnIndex; */
     467             :   NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) = 0;
     468             : 
     469             :   /* readonly attribute long rowIndex; */
     470             :   NS_IMETHOD GetRowIndex(int32_t *aRowIndex) = 0;
     471             : 
     472             :   /* readonly attribute long columnExtent; */
     473             :   NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) = 0;
     474             : 
     475             :   /* readonly attribute long rowExtent; */
     476             :   NS_IMETHOD GetRowExtent(int32_t *aRowExtent) = 0;
     477             : 
     478             :   /* readonly attribute nsIArray columnHeaderCells; */
     479             :   NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) = 0;
     480             : 
     481             :   /* readonly attribute nsIArray rowHeaderCells; */
     482             :   NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) = 0;
     483             : 
     484             :   /* boolean isSelected (); */
     485             :   NS_IMETHOD IsSelected(bool *_retval) = 0;
     486             : 
     487             : };
     488             : 
     489             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTableCell, NS_IACCESSIBLETABLECELL_IID)
     490             : 
     491             : /* Use this macro when declaring classes that implement this interface. */
     492             : #define NS_DECL_NSIACCESSIBLETABLECELL \
     493             :   NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override; \
     494             :   NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override; \
     495             :   NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override; \
     496             :   NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override; \
     497             :   NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override; \
     498             :   NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override; \
     499             :   NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override; \
     500             :   NS_IMETHOD IsSelected(bool *_retval) override; 
     501             : 
     502             : /* Use this macro when declaring the members of this interface when the
     503             :    class doesn't implement the interface. This is useful for forwarding. */
     504             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLETABLECELL \
     505             :   nsresult GetTable(nsIAccessibleTable * *aTable); \
     506             :   nsresult GetColumnIndex(int32_t *aColumnIndex); \
     507             :   nsresult GetRowIndex(int32_t *aRowIndex); \
     508             :   nsresult GetColumnExtent(int32_t *aColumnExtent); \
     509             :   nsresult GetRowExtent(int32_t *aRowExtent); \
     510             :   nsresult GetColumnHeaderCells(nsIArray * *aColumnHeaderCells); \
     511             :   nsresult GetRowHeaderCells(nsIArray * *aRowHeaderCells); \
     512             :   nsresult IsSelected(bool *_retval); 
     513             : 
     514             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     515             : #define NS_FORWARD_NSIACCESSIBLETABLECELL(_to) \
     516             :   NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override { return _to GetTable(aTable); } \
     517             :   NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override { return _to GetColumnIndex(aColumnIndex); } \
     518             :   NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override { return _to GetRowIndex(aRowIndex); } \
     519             :   NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override { return _to GetColumnExtent(aColumnExtent); } \
     520             :   NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override { return _to GetRowExtent(aRowExtent); } \
     521             :   NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override { return _to GetColumnHeaderCells(aColumnHeaderCells); } \
     522             :   NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override { return _to GetRowHeaderCells(aRowHeaderCells); } \
     523             :   NS_IMETHOD IsSelected(bool *_retval) override { return _to IsSelected(_retval); } 
     524             : 
     525             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     526             : #define NS_FORWARD_SAFE_NSIACCESSIBLETABLECELL(_to) \
     527             :   NS_IMETHOD GetTable(nsIAccessibleTable * *aTable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTable(aTable); } \
     528             :   NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnIndex(aColumnIndex); } \
     529             :   NS_IMETHOD GetRowIndex(int32_t *aRowIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndex(aRowIndex); } \
     530             :   NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnExtent(aColumnExtent); } \
     531             :   NS_IMETHOD GetRowExtent(int32_t *aRowExtent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowExtent(aRowExtent); } \
     532             :   NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnHeaderCells(aColumnHeaderCells); } \
     533             :   NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowHeaderCells(aRowHeaderCells); } \
     534             :   NS_IMETHOD IsSelected(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSelected(_retval); } 
     535             : 
     536             : #if 0
     537             : /* Use the code below as a template for the implementation class for this interface. */
     538             : 
     539             : /* Header file */
     540             : class nsAccessibleTableCell : public nsIAccessibleTableCell
     541             : {
     542             : public:
     543             :   NS_DECL_ISUPPORTS
     544             :   NS_DECL_NSIACCESSIBLETABLECELL
     545             : 
     546             :   nsAccessibleTableCell();
     547             : 
     548             : private:
     549             :   ~nsAccessibleTableCell();
     550             : 
     551             : protected:
     552             :   /* additional members */
     553             : };
     554             : 
     555             : /* Implementation file */
     556             : NS_IMPL_ISUPPORTS(nsAccessibleTableCell, nsIAccessibleTableCell)
     557             : 
     558             : nsAccessibleTableCell::nsAccessibleTableCell()
     559             : {
     560             :   /* member initializers and constructor code */
     561             : }
     562             : 
     563             : nsAccessibleTableCell::~nsAccessibleTableCell()
     564             : {
     565             :   /* destructor code */
     566             : }
     567             : 
     568             : /* readonly attribute nsIAccessibleTable table; */
     569             : NS_IMETHODIMP nsAccessibleTableCell::GetTable(nsIAccessibleTable * *aTable)
     570             : {
     571             :     return NS_ERROR_NOT_IMPLEMENTED;
     572             : }
     573             : 
     574             : /* readonly attribute long columnIndex; */
     575             : NS_IMETHODIMP nsAccessibleTableCell::GetColumnIndex(int32_t *aColumnIndex)
     576             : {
     577             :     return NS_ERROR_NOT_IMPLEMENTED;
     578             : }
     579             : 
     580             : /* readonly attribute long rowIndex; */
     581             : NS_IMETHODIMP nsAccessibleTableCell::GetRowIndex(int32_t *aRowIndex)
     582             : {
     583             :     return NS_ERROR_NOT_IMPLEMENTED;
     584             : }
     585             : 
     586             : /* readonly attribute long columnExtent; */
     587             : NS_IMETHODIMP nsAccessibleTableCell::GetColumnExtent(int32_t *aColumnExtent)
     588             : {
     589             :     return NS_ERROR_NOT_IMPLEMENTED;
     590             : }
     591             : 
     592             : /* readonly attribute long rowExtent; */
     593             : NS_IMETHODIMP nsAccessibleTableCell::GetRowExtent(int32_t *aRowExtent)
     594             : {
     595             :     return NS_ERROR_NOT_IMPLEMENTED;
     596             : }
     597             : 
     598             : /* readonly attribute nsIArray columnHeaderCells; */
     599             : NS_IMETHODIMP nsAccessibleTableCell::GetColumnHeaderCells(nsIArray * *aColumnHeaderCells)
     600             : {
     601             :     return NS_ERROR_NOT_IMPLEMENTED;
     602             : }
     603             : 
     604             : /* readonly attribute nsIArray rowHeaderCells; */
     605             : NS_IMETHODIMP nsAccessibleTableCell::GetRowHeaderCells(nsIArray * *aRowHeaderCells)
     606             : {
     607             :     return NS_ERROR_NOT_IMPLEMENTED;
     608             : }
     609             : 
     610             : /* boolean isSelected (); */
     611             : NS_IMETHODIMP nsAccessibleTableCell::IsSelected(bool *_retval)
     612             : {
     613             :     return NS_ERROR_NOT_IMPLEMENTED;
     614             : }
     615             : 
     616             : /* End of implementation class template. */
     617             : #endif
     618             : 
     619             : 
     620             : #endif /* __gen_nsIAccessibleTable_h__ */

Generated by: LCOV version 1.13