LCOV - code coverage report
Current view: directory - objdir/dist/include - nsITreeSelection.h (source / functions) Found Hit Coverage
Test: app.info Lines: 2 0 0.0 %
Date: 2012-06-02 Functions: 2 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/xul/base/src/tree/public/nsITreeSelection.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsITreeSelection_h__
       6                 : #define __gen_nsITreeSelection_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 nsITreeBoxObject; /* forward declaration */
      18                 : 
      19                 : class nsITreeColumn; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsITreeSelection */
      23                 : #define NS_ITREESELECTION_IID_STR "ab6fe746-300b-4ab4-abb9-1c0e3977874c"
      24                 : 
      25                 : #define NS_ITREESELECTION_IID \
      26                 :   {0xab6fe746, 0x300b, 0x4ab4, \
      27                 :     { 0xab, 0xb9, 0x1c, 0x0e, 0x39, 0x77, 0x87, 0x4c }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsITreeSelection : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITREESELECTION_IID)
      33                 : 
      34                 :   /* attribute nsITreeBoxObject tree; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) = 0;
      36                 :   NS_SCRIPTABLE NS_IMETHOD SetTree(nsITreeBoxObject *aTree) = 0;
      37                 : 
      38                 :   /* readonly attribute boolean single; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetSingle(bool *aSingle) = 0;
      40                 : 
      41                 :   /* readonly attribute long count; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount) = 0;
      43                 : 
      44                 :   /* boolean isSelected (in long index); */
      45                 :   NS_SCRIPTABLE NS_IMETHOD IsSelected(PRInt32 index, bool *_retval NS_OUTPARAM) = 0;
      46                 : 
      47                 :   /* void select (in long index); */
      48                 :   NS_SCRIPTABLE NS_IMETHOD Select(PRInt32 index) = 0;
      49                 : 
      50                 :   /* void timedSelect (in long index, in long delay); */
      51                 :   NS_SCRIPTABLE NS_IMETHOD TimedSelect(PRInt32 index, PRInt32 delay) = 0;
      52                 : 
      53                 :   /* void toggleSelect (in long index); */
      54                 :   NS_SCRIPTABLE NS_IMETHOD ToggleSelect(PRInt32 index) = 0;
      55                 : 
      56                 :   /* void rangedSelect (in long startIndex, in long endIndex, in boolean augment); */
      57                 :   NS_SCRIPTABLE NS_IMETHOD RangedSelect(PRInt32 startIndex, PRInt32 endIndex, bool augment) = 0;
      58                 : 
      59                 :   /* void clearRange (in long startIndex, in long endIndex); */
      60                 :   NS_SCRIPTABLE NS_IMETHOD ClearRange(PRInt32 startIndex, PRInt32 endIndex) = 0;
      61                 : 
      62                 :   /* void clearSelection (); */
      63                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) = 0;
      64                 : 
      65                 :   /* void invertSelection (); */
      66                 :   NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) = 0;
      67                 : 
      68                 :   /* void selectAll (); */
      69                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) = 0;
      70                 : 
      71                 :   /* long getRangeCount (); */
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeCount(PRInt32 *_retval NS_OUTPARAM) = 0;
      73                 : 
      74                 :   /* void getRangeAt (in long i, out long min, out long max); */
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeAt(PRInt32 i, PRInt32 *min NS_OUTPARAM, PRInt32 *max NS_OUTPARAM) = 0;
      76                 : 
      77                 :   /* void invalidateSelection (); */
      78                 :   NS_SCRIPTABLE NS_IMETHOD InvalidateSelection(void) = 0;
      79                 : 
      80                 :   /* void adjustSelection (in long index, in long count); */
      81                 :   NS_SCRIPTABLE NS_IMETHOD AdjustSelection(PRInt32 index, PRInt32 count) = 0;
      82                 : 
      83                 :   /* attribute boolean selectEventsSuppressed; */
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectEventsSuppressed(bool *aSelectEventsSuppressed) = 0;
      85                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectEventsSuppressed(bool aSelectEventsSuppressed) = 0;
      86                 : 
      87                 :   /* attribute long currentIndex; */
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) = 0;
      89                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) = 0;
      90                 : 
      91                 :   /* attribute nsITreeColumn currentColumn; */
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentColumn(nsITreeColumn * *aCurrentColumn) = 0;
      93                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentColumn(nsITreeColumn *aCurrentColumn) = 0;
      94                 : 
      95                 :   /* readonly attribute long shiftSelectPivot; */
      96                 :   NS_SCRIPTABLE NS_IMETHOD GetShiftSelectPivot(PRInt32 *aShiftSelectPivot) = 0;
      97                 : 
      98                 : };
      99                 : 
     100                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsITreeSelection, NS_ITREESELECTION_IID)
     101                 : 
     102                 : /* Use this macro when declaring classes that implement this interface. */
     103                 : #define NS_DECL_NSITREESELECTION \
     104                 :   NS_SCRIPTABLE NS_IMETHOD GetTree(nsITreeBoxObject * *aTree); \
     105                 :   NS_SCRIPTABLE NS_IMETHOD SetTree(nsITreeBoxObject *aTree); \
     106                 :   NS_SCRIPTABLE NS_IMETHOD GetSingle(bool *aSingle); \
     107                 :   NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount); \
     108                 :   NS_SCRIPTABLE NS_IMETHOD IsSelected(PRInt32 index, bool *_retval NS_OUTPARAM); \
     109                 :   NS_SCRIPTABLE NS_IMETHOD Select(PRInt32 index); \
     110                 :   NS_SCRIPTABLE NS_IMETHOD TimedSelect(PRInt32 index, PRInt32 delay); \
     111                 :   NS_SCRIPTABLE NS_IMETHOD ToggleSelect(PRInt32 index); \
     112                 :   NS_SCRIPTABLE NS_IMETHOD RangedSelect(PRInt32 startIndex, PRInt32 endIndex, bool augment); \
     113                 :   NS_SCRIPTABLE NS_IMETHOD ClearRange(PRInt32 startIndex, PRInt32 endIndex); \
     114                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void); \
     115                 :   NS_SCRIPTABLE NS_IMETHOD InvertSelection(void); \
     116                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void); \
     117                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeCount(PRInt32 *_retval NS_OUTPARAM); \
     118                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeAt(PRInt32 i, PRInt32 *min NS_OUTPARAM, PRInt32 *max NS_OUTPARAM); \
     119                 :   NS_SCRIPTABLE NS_IMETHOD InvalidateSelection(void); \
     120                 :   NS_SCRIPTABLE NS_IMETHOD AdjustSelection(PRInt32 index, PRInt32 count); \
     121                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectEventsSuppressed(bool *aSelectEventsSuppressed); \
     122                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectEventsSuppressed(bool aSelectEventsSuppressed); \
     123                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex); \
     124                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex); \
     125                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentColumn(nsITreeColumn * *aCurrentColumn); \
     126                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentColumn(nsITreeColumn *aCurrentColumn); \
     127                 :   NS_SCRIPTABLE NS_IMETHOD GetShiftSelectPivot(PRInt32 *aShiftSelectPivot); 
     128                 : 
     129                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     130                 : #define NS_FORWARD_NSITREESELECTION(_to) \
     131                 :   NS_SCRIPTABLE NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) { return _to GetTree(aTree); } \
     132                 :   NS_SCRIPTABLE NS_IMETHOD SetTree(nsITreeBoxObject *aTree) { return _to SetTree(aTree); } \
     133                 :   NS_SCRIPTABLE NS_IMETHOD GetSingle(bool *aSingle) { return _to GetSingle(aSingle); } \
     134                 :   NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount) { return _to GetCount(aCount); } \
     135                 :   NS_SCRIPTABLE NS_IMETHOD IsSelected(PRInt32 index, bool *_retval NS_OUTPARAM) { return _to IsSelected(index, _retval); } \
     136                 :   NS_SCRIPTABLE NS_IMETHOD Select(PRInt32 index) { return _to Select(index); } \
     137                 :   NS_SCRIPTABLE NS_IMETHOD TimedSelect(PRInt32 index, PRInt32 delay) { return _to TimedSelect(index, delay); } \
     138                 :   NS_SCRIPTABLE NS_IMETHOD ToggleSelect(PRInt32 index) { return _to ToggleSelect(index); } \
     139                 :   NS_SCRIPTABLE NS_IMETHOD RangedSelect(PRInt32 startIndex, PRInt32 endIndex, bool augment) { return _to RangedSelect(startIndex, endIndex, augment); } \
     140                 :   NS_SCRIPTABLE NS_IMETHOD ClearRange(PRInt32 startIndex, PRInt32 endIndex) { return _to ClearRange(startIndex, endIndex); } \
     141                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return _to ClearSelection(); } \
     142                 :   NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) { return _to InvertSelection(); } \
     143                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return _to SelectAll(); } \
     144                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeCount(PRInt32 *_retval NS_OUTPARAM) { return _to GetRangeCount(_retval); } \
     145                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeAt(PRInt32 i, PRInt32 *min NS_OUTPARAM, PRInt32 *max NS_OUTPARAM) { return _to GetRangeAt(i, min, max); } \
     146                 :   NS_SCRIPTABLE NS_IMETHOD InvalidateSelection(void) { return _to InvalidateSelection(); } \
     147                 :   NS_SCRIPTABLE NS_IMETHOD AdjustSelection(PRInt32 index, PRInt32 count) { return _to AdjustSelection(index, count); } \
     148                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectEventsSuppressed(bool *aSelectEventsSuppressed) { return _to GetSelectEventsSuppressed(aSelectEventsSuppressed); } \
     149                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectEventsSuppressed(bool aSelectEventsSuppressed) { return _to SetSelectEventsSuppressed(aSelectEventsSuppressed); } \
     150                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) { return _to GetCurrentIndex(aCurrentIndex); } \
     151                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) { return _to SetCurrentIndex(aCurrentIndex); } \
     152                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentColumn(nsITreeColumn * *aCurrentColumn) { return _to GetCurrentColumn(aCurrentColumn); } \
     153                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentColumn(nsITreeColumn *aCurrentColumn) { return _to SetCurrentColumn(aCurrentColumn); } \
     154                 :   NS_SCRIPTABLE NS_IMETHOD GetShiftSelectPivot(PRInt32 *aShiftSelectPivot) { return _to GetShiftSelectPivot(aShiftSelectPivot); } 
     155                 : 
     156                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     157                 : #define NS_FORWARD_SAFE_NSITREESELECTION(_to) \
     158                 :   NS_SCRIPTABLE NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTree(aTree); } \
     159                 :   NS_SCRIPTABLE NS_IMETHOD SetTree(nsITreeBoxObject *aTree) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTree(aTree); } \
     160                 :   NS_SCRIPTABLE NS_IMETHOD GetSingle(bool *aSingle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSingle(aSingle); } \
     161                 :   NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
     162                 :   NS_SCRIPTABLE NS_IMETHOD IsSelected(PRInt32 index, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSelected(index, _retval); } \
     163                 :   NS_SCRIPTABLE NS_IMETHOD Select(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(index); } \
     164                 :   NS_SCRIPTABLE NS_IMETHOD TimedSelect(PRInt32 index, PRInt32 delay) { return !_to ? NS_ERROR_NULL_POINTER : _to->TimedSelect(index, delay); } \
     165                 :   NS_SCRIPTABLE NS_IMETHOD ToggleSelect(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToggleSelect(index); } \
     166                 :   NS_SCRIPTABLE NS_IMETHOD RangedSelect(PRInt32 startIndex, PRInt32 endIndex, bool augment) { return !_to ? NS_ERROR_NULL_POINTER : _to->RangedSelect(startIndex, endIndex, augment); } \
     167                 :   NS_SCRIPTABLE NS_IMETHOD ClearRange(PRInt32 startIndex, PRInt32 endIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearRange(startIndex, endIndex); } \
     168                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearSelection(); } \
     169                 :   NS_SCRIPTABLE NS_IMETHOD InvertSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvertSelection(); } \
     170                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
     171                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeCount(PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeCount(_retval); } \
     172                 :   NS_SCRIPTABLE NS_IMETHOD GetRangeAt(PRInt32 i, PRInt32 *min NS_OUTPARAM, PRInt32 *max NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeAt(i, min, max); } \
     173                 :   NS_SCRIPTABLE NS_IMETHOD InvalidateSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateSelection(); } \
     174                 :   NS_SCRIPTABLE NS_IMETHOD AdjustSelection(PRInt32 index, PRInt32 count) { return !_to ? NS_ERROR_NULL_POINTER : _to->AdjustSelection(index, count); } \
     175                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectEventsSuppressed(bool *aSelectEventsSuppressed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectEventsSuppressed(aSelectEventsSuppressed); } \
     176                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectEventsSuppressed(bool aSelectEventsSuppressed) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectEventsSuppressed(aSelectEventsSuppressed); } \
     177                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentIndex(PRInt32 *aCurrentIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentIndex(aCurrentIndex); } \
     178                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentIndex(PRInt32 aCurrentIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentIndex(aCurrentIndex); } \
     179                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentColumn(nsITreeColumn * *aCurrentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentColumn(aCurrentColumn); } \
     180                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentColumn(nsITreeColumn *aCurrentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentColumn(aCurrentColumn); } \
     181                 :   NS_SCRIPTABLE NS_IMETHOD GetShiftSelectPivot(PRInt32 *aShiftSelectPivot) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShiftSelectPivot(aShiftSelectPivot); } 
     182                 : 
     183                 : #if 0
     184                 : /* Use the code below as a template for the implementation class for this interface. */
     185                 : 
     186                 : /* Header file */
     187                 : class nsTreeSelection : public nsITreeSelection
     188                 : {
     189                 : public:
     190                 :   NS_DECL_ISUPPORTS
     191                 :   NS_DECL_NSITREESELECTION
     192                 : 
     193                 :   nsTreeSelection();
     194                 : 
     195                 : private:
     196                 :   ~nsTreeSelection();
     197                 : 
     198                 : protected:
     199                 :   /* additional members */
     200                 : };
     201                 : 
     202                 : /* Implementation file */
     203                 : NS_IMPL_ISUPPORTS1(nsTreeSelection, nsITreeSelection)
     204                 : 
     205                 : nsTreeSelection::nsTreeSelection()
     206                 : {
     207                 :   /* member initializers and constructor code */
     208                 : }
     209                 : 
     210                 : nsTreeSelection::~nsTreeSelection()
     211                 : {
     212                 :   /* destructor code */
     213                 : }
     214                 : 
     215                 : /* attribute nsITreeBoxObject tree; */
     216                 : NS_IMETHODIMP nsTreeSelection::GetTree(nsITreeBoxObject * *aTree)
     217                 : {
     218                 :     return NS_ERROR_NOT_IMPLEMENTED;
     219                 : }
     220                 : NS_IMETHODIMP nsTreeSelection::SetTree(nsITreeBoxObject *aTree)
     221                 : {
     222                 :     return NS_ERROR_NOT_IMPLEMENTED;
     223                 : }
     224                 : 
     225                 : /* readonly attribute boolean single; */
     226                 : NS_IMETHODIMP nsTreeSelection::GetSingle(bool *aSingle)
     227                 : {
     228                 :     return NS_ERROR_NOT_IMPLEMENTED;
     229                 : }
     230                 : 
     231                 : /* readonly attribute long count; */
     232                 : NS_IMETHODIMP nsTreeSelection::GetCount(PRInt32 *aCount)
     233                 : {
     234                 :     return NS_ERROR_NOT_IMPLEMENTED;
     235                 : }
     236                 : 
     237                 : /* boolean isSelected (in long index); */
     238                 : NS_IMETHODIMP nsTreeSelection::IsSelected(PRInt32 index, bool *_retval NS_OUTPARAM)
     239                 : {
     240                 :     return NS_ERROR_NOT_IMPLEMENTED;
     241                 : }
     242                 : 
     243                 : /* void select (in long index); */
     244                 : NS_IMETHODIMP nsTreeSelection::Select(PRInt32 index)
     245                 : {
     246                 :     return NS_ERROR_NOT_IMPLEMENTED;
     247                 : }
     248                 : 
     249                 : /* void timedSelect (in long index, in long delay); */
     250                 : NS_IMETHODIMP nsTreeSelection::TimedSelect(PRInt32 index, PRInt32 delay)
     251                 : {
     252                 :     return NS_ERROR_NOT_IMPLEMENTED;
     253                 : }
     254                 : 
     255                 : /* void toggleSelect (in long index); */
     256                 : NS_IMETHODIMP nsTreeSelection::ToggleSelect(PRInt32 index)
     257                 : {
     258                 :     return NS_ERROR_NOT_IMPLEMENTED;
     259                 : }
     260                 : 
     261                 : /* void rangedSelect (in long startIndex, in long endIndex, in boolean augment); */
     262                 : NS_IMETHODIMP nsTreeSelection::RangedSelect(PRInt32 startIndex, PRInt32 endIndex, bool augment)
     263                 : {
     264                 :     return NS_ERROR_NOT_IMPLEMENTED;
     265                 : }
     266                 : 
     267                 : /* void clearRange (in long startIndex, in long endIndex); */
     268                 : NS_IMETHODIMP nsTreeSelection::ClearRange(PRInt32 startIndex, PRInt32 endIndex)
     269                 : {
     270                 :     return NS_ERROR_NOT_IMPLEMENTED;
     271                 : }
     272                 : 
     273                 : /* void clearSelection (); */
     274                 : NS_IMETHODIMP nsTreeSelection::ClearSelection()
     275                 : {
     276                 :     return NS_ERROR_NOT_IMPLEMENTED;
     277                 : }
     278                 : 
     279                 : /* void invertSelection (); */
     280                 : NS_IMETHODIMP nsTreeSelection::InvertSelection()
     281                 : {
     282                 :     return NS_ERROR_NOT_IMPLEMENTED;
     283                 : }
     284                 : 
     285                 : /* void selectAll (); */
     286                 : NS_IMETHODIMP nsTreeSelection::SelectAll()
     287                 : {
     288                 :     return NS_ERROR_NOT_IMPLEMENTED;
     289                 : }
     290                 : 
     291                 : /* long getRangeCount (); */
     292                 : NS_IMETHODIMP nsTreeSelection::GetRangeCount(PRInt32 *_retval NS_OUTPARAM)
     293                 : {
     294                 :     return NS_ERROR_NOT_IMPLEMENTED;
     295                 : }
     296                 : 
     297                 : /* void getRangeAt (in long i, out long min, out long max); */
     298                 : NS_IMETHODIMP nsTreeSelection::GetRangeAt(PRInt32 i, PRInt32 *min NS_OUTPARAM, PRInt32 *max NS_OUTPARAM)
     299                 : {
     300                 :     return NS_ERROR_NOT_IMPLEMENTED;
     301                 : }
     302                 : 
     303                 : /* void invalidateSelection (); */
     304                 : NS_IMETHODIMP nsTreeSelection::InvalidateSelection()
     305                 : {
     306                 :     return NS_ERROR_NOT_IMPLEMENTED;
     307                 : }
     308                 : 
     309                 : /* void adjustSelection (in long index, in long count); */
     310                 : NS_IMETHODIMP nsTreeSelection::AdjustSelection(PRInt32 index, PRInt32 count)
     311                 : {
     312                 :     return NS_ERROR_NOT_IMPLEMENTED;
     313                 : }
     314                 : 
     315                 : /* attribute boolean selectEventsSuppressed; */
     316                 : NS_IMETHODIMP nsTreeSelection::GetSelectEventsSuppressed(bool *aSelectEventsSuppressed)
     317                 : {
     318                 :     return NS_ERROR_NOT_IMPLEMENTED;
     319                 : }
     320                 : NS_IMETHODIMP nsTreeSelection::SetSelectEventsSuppressed(bool aSelectEventsSuppressed)
     321                 : {
     322                 :     return NS_ERROR_NOT_IMPLEMENTED;
     323                 : }
     324                 : 
     325                 : /* attribute long currentIndex; */
     326                 : NS_IMETHODIMP nsTreeSelection::GetCurrentIndex(PRInt32 *aCurrentIndex)
     327                 : {
     328                 :     return NS_ERROR_NOT_IMPLEMENTED;
     329                 : }
     330                 : NS_IMETHODIMP nsTreeSelection::SetCurrentIndex(PRInt32 aCurrentIndex)
     331                 : {
     332                 :     return NS_ERROR_NOT_IMPLEMENTED;
     333                 : }
     334                 : 
     335                 : /* attribute nsITreeColumn currentColumn; */
     336                 : NS_IMETHODIMP nsTreeSelection::GetCurrentColumn(nsITreeColumn * *aCurrentColumn)
     337                 : {
     338                 :     return NS_ERROR_NOT_IMPLEMENTED;
     339                 : }
     340                 : NS_IMETHODIMP nsTreeSelection::SetCurrentColumn(nsITreeColumn *aCurrentColumn)
     341                 : {
     342                 :     return NS_ERROR_NOT_IMPLEMENTED;
     343                 : }
     344                 : 
     345                 : /* readonly attribute long shiftSelectPivot; */
     346                 : NS_IMETHODIMP nsTreeSelection::GetShiftSelectPivot(PRInt32 *aShiftSelectPivot)
     347                 : {
     348                 :     return NS_ERROR_NOT_IMPLEMENTED;
     349                 : }
     350                 : 
     351                 : /* End of implementation class template. */
     352                 : #endif
     353                 : 
     354                 : 
     355                 : /* starting interface:    nsINativeTreeSelection */
     356                 : #define NS_INATIVETREESELECTION_IID_STR "1bd59678-5cb3-4316-b246-31a91b19aabe"
     357                 : 
     358                 : #define NS_INATIVETREESELECTION_IID \
     359                 :   {0x1bd59678, 0x5cb3, 0x4316, \
     360                 :     { 0xb2, 0x46, 0x31, 0xa9, 0x1b, 0x19, 0xaa, 0xbe }}
     361                 : 
     362               0 : class NS_NO_VTABLE nsINativeTreeSelection : public nsITreeSelection {
     363                 :  public: 
     364                 : 
     365                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_INATIVETREESELECTION_IID)
     366                 : 
     367                 :   /* [noscript] void ensureNative (); */
     368                 :   NS_IMETHOD EnsureNative(void) = 0;
     369                 : 
     370                 : };
     371                 : 
     372                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsINativeTreeSelection, NS_INATIVETREESELECTION_IID)
     373                 : 
     374                 : /* Use this macro when declaring classes that implement this interface. */
     375                 : #define NS_DECL_NSINATIVETREESELECTION \
     376                 :   NS_IMETHOD EnsureNative(void); 
     377                 : 
     378                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     379                 : #define NS_FORWARD_NSINATIVETREESELECTION(_to) \
     380                 :   NS_IMETHOD EnsureNative(void) { return _to EnsureNative(); } 
     381                 : 
     382                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     383                 : #define NS_FORWARD_SAFE_NSINATIVETREESELECTION(_to) \
     384                 :   NS_IMETHOD EnsureNative(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureNative(); } 
     385                 : 
     386                 : #if 0
     387                 : /* Use the code below as a template for the implementation class for this interface. */
     388                 : 
     389                 : /* Header file */
     390                 : class nsNativeTreeSelection : public nsINativeTreeSelection
     391                 : {
     392                 : public:
     393                 :   NS_DECL_ISUPPORTS
     394                 :   NS_DECL_NSINATIVETREESELECTION
     395                 : 
     396                 :   nsNativeTreeSelection();
     397                 : 
     398                 : private:
     399                 :   ~nsNativeTreeSelection();
     400                 : 
     401                 : protected:
     402                 :   /* additional members */
     403                 : };
     404                 : 
     405                 : /* Implementation file */
     406                 : NS_IMPL_ISUPPORTS1(nsNativeTreeSelection, nsINativeTreeSelection)
     407                 : 
     408                 : nsNativeTreeSelection::nsNativeTreeSelection()
     409                 : {
     410                 :   /* member initializers and constructor code */
     411                 : }
     412                 : 
     413                 : nsNativeTreeSelection::~nsNativeTreeSelection()
     414                 : {
     415                 :   /* destructor code */
     416                 : }
     417                 : 
     418                 : /* [noscript] void ensureNative (); */
     419                 : NS_IMETHODIMP nsNativeTreeSelection::EnsureNative()
     420                 : {
     421                 :     return NS_ERROR_NOT_IMPLEMENTED;
     422                 : }
     423                 : 
     424                 : /* End of implementation class template. */
     425                 : #endif
     426                 : 
     427                 : 
     428                 : #endif /* __gen_nsITreeSelection_h__ */

Generated by: LCOV version 1.7