This file is indexed.

/usr/include/thunderbird/nsITreeColumns.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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsITreeColumns.idl
 */

#ifndef __gen_nsITreeColumns_h__
#define __gen_nsITreeColumns_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 nsITreeColumns; /* forward declaration */

class nsIDOMElement; /* forward declaration */

class nsIAtom; /* forward declaration */


/* starting interface:    nsITreeColumn */
#define NS_ITREECOLUMN_IID_STR "ae835ecf-6b32-4660-9b43-8a270df56e02"

#define NS_ITREECOLUMN_IID \
  {0xae835ecf, 0x6b32, 0x4660, \
    { 0x9b, 0x43, 0x8a, 0x27, 0x0d, 0xf5, 0x6e, 0x02 }}

class NS_NO_VTABLE nsITreeColumn : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITREECOLUMN_IID)

  /* readonly attribute nsIDOMElement element; */
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) = 0;

  /* readonly attribute nsITreeColumns columns; */
  NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) = 0;

  /* readonly attribute long x; */
  NS_IMETHOD GetX(int32_t *aX) = 0;

  /* readonly attribute long width; */
  NS_IMETHOD GetWidth(int32_t *aWidth) = 0;

  /* readonly attribute AString id; */
  NS_IMETHOD GetId(nsAString & aId) = 0;

  /* [noscript] void getIdConst ([shared] out wstring idConst); */
  NS_IMETHOD GetIdConst(const char16_t * *idConst) = 0;

  /* [noscript] readonly attribute nsIAtom atom; */
  NS_IMETHOD GetAtom(nsIAtom * *aAtom) = 0;

  /* readonly attribute long index; */
  NS_IMETHOD GetIndex(int32_t *aIndex) = 0;

  /* readonly attribute boolean primary; */
  NS_IMETHOD GetPrimary(bool *aPrimary) = 0;

  /* readonly attribute boolean cycler; */
  NS_IMETHOD GetCycler(bool *aCycler) = 0;

  /* readonly attribute boolean editable; */
  NS_IMETHOD GetEditable(bool *aEditable) = 0;

  /* readonly attribute boolean selectable; */
  NS_IMETHOD GetSelectable(bool *aSelectable) = 0;

  enum {
    TYPE_TEXT = 1,
    TYPE_CHECKBOX = 2,
    TYPE_PROGRESSMETER = 3,
    TYPE_PASSWORD = 4
  };

  /* readonly attribute short type; */
  NS_IMETHOD GetType(int16_t *aType) = 0;

  /* nsITreeColumn getNext (); */
  NS_IMETHOD GetNext(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getPrevious (); */
  NS_IMETHOD GetPrevious(nsITreeColumn * *_retval) = 0;

  /* void invalidate (); */
  NS_IMETHOD Invalidate(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsITreeColumn, NS_ITREECOLUMN_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITREECOLUMN \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) override; \
  NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) override; \
  NS_IMETHOD GetX(int32_t *aX) override; \
  NS_IMETHOD GetWidth(int32_t *aWidth) override; \
  NS_IMETHOD GetId(nsAString & aId) override; \
  NS_IMETHOD GetIdConst(const char16_t * *idConst) override; \
  NS_IMETHOD GetAtom(nsIAtom * *aAtom) override; \
  NS_IMETHOD GetIndex(int32_t *aIndex) override; \
  NS_IMETHOD GetPrimary(bool *aPrimary) override; \
  NS_IMETHOD GetCycler(bool *aCycler) override; \
  NS_IMETHOD GetEditable(bool *aEditable) override; \
  NS_IMETHOD GetSelectable(bool *aSelectable) override; \
  NS_IMETHOD GetType(int16_t *aType) override; \
  NS_IMETHOD GetNext(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetPrevious(nsITreeColumn * *_retval) override; \
  NS_IMETHOD Invalidate(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSITREECOLUMN \
  NS_METHOD GetElement(nsIDOMElement * *aElement); \
  NS_METHOD GetColumns(nsITreeColumns * *aColumns); \
  NS_METHOD GetX(int32_t *aX); \
  NS_METHOD GetWidth(int32_t *aWidth); \
  NS_METHOD GetId(nsAString & aId); \
  NS_METHOD GetIdConst(const char16_t * *idConst); \
  NS_METHOD GetAtom(nsIAtom * *aAtom); \
  NS_METHOD GetIndex(int32_t *aIndex); \
  NS_METHOD GetPrimary(bool *aPrimary); \
  NS_METHOD GetCycler(bool *aCycler); \
  NS_METHOD GetEditable(bool *aEditable); \
  NS_METHOD GetSelectable(bool *aSelectable); \
  NS_METHOD GetType(int16_t *aType); \
  NS_METHOD GetNext(nsITreeColumn * *_retval); \
  NS_METHOD GetPrevious(nsITreeColumn * *_retval); \
  NS_METHOD Invalidate(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITREECOLUMN(_to) \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) override { return _to GetElement(aElement); } \
  NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) override { return _to GetColumns(aColumns); } \
  NS_IMETHOD GetX(int32_t *aX) override { return _to GetX(aX); } \
  NS_IMETHOD GetWidth(int32_t *aWidth) override { return _to GetWidth(aWidth); } \
  NS_IMETHOD GetId(nsAString & aId) override { return _to GetId(aId); } \
  NS_IMETHOD GetIdConst(const char16_t * *idConst) override { return _to GetIdConst(idConst); } \
  NS_IMETHOD GetAtom(nsIAtom * *aAtom) override { return _to GetAtom(aAtom); } \
  NS_IMETHOD GetIndex(int32_t *aIndex) override { return _to GetIndex(aIndex); } \
  NS_IMETHOD GetPrimary(bool *aPrimary) override { return _to GetPrimary(aPrimary); } \
  NS_IMETHOD GetCycler(bool *aCycler) override { return _to GetCycler(aCycler); } \
  NS_IMETHOD GetEditable(bool *aEditable) override { return _to GetEditable(aEditable); } \
  NS_IMETHOD GetSelectable(bool *aSelectable) override { return _to GetSelectable(aSelectable); } \
  NS_IMETHOD GetType(int16_t *aType) override { return _to GetType(aType); } \
  NS_IMETHOD GetNext(nsITreeColumn * *_retval) override { return _to GetNext(_retval); } \
  NS_IMETHOD GetPrevious(nsITreeColumn * *_retval) override { return _to GetPrevious(_retval); } \
  NS_IMETHOD Invalidate(void) override { return _to Invalidate(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITREECOLUMN(_to) \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElement(aElement); } \
  NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumns(aColumns); } \
  NS_IMETHOD GetX(int32_t *aX) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  NS_IMETHOD GetWidth(int32_t *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  NS_IMETHOD GetId(nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
  NS_IMETHOD GetIdConst(const char16_t * *idConst) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdConst(idConst); } \
  NS_IMETHOD GetAtom(nsIAtom * *aAtom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAtom(aAtom); } \
  NS_IMETHOD GetIndex(int32_t *aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \
  NS_IMETHOD GetPrimary(bool *aPrimary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrimary(aPrimary); } \
  NS_IMETHOD GetCycler(bool *aCycler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCycler(aCycler); } \
  NS_IMETHOD GetEditable(bool *aEditable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEditable(aEditable); } \
  NS_IMETHOD GetSelectable(bool *aSelectable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectable(aSelectable); } \
  NS_IMETHOD GetType(int16_t *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD GetNext(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNext(_retval); } \
  NS_IMETHOD GetPrevious(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrevious(_retval); } \
  NS_IMETHOD Invalidate(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Invalidate(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsTreeColumn : public nsITreeColumn
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSITREECOLUMN

  nsTreeColumn();

private:
  ~nsTreeColumn();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsTreeColumn, nsITreeColumn)

nsTreeColumn::nsTreeColumn()
{
  /* member initializers and constructor code */
}

nsTreeColumn::~nsTreeColumn()
{
  /* destructor code */
}

/* readonly attribute nsIDOMElement element; */
NS_IMETHODIMP nsTreeColumn::GetElement(nsIDOMElement * *aElement)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsITreeColumns columns; */
NS_IMETHODIMP nsTreeColumn::GetColumns(nsITreeColumns * *aColumns)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long x; */
NS_IMETHODIMP nsTreeColumn::GetX(int32_t *aX)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long width; */
NS_IMETHODIMP nsTreeColumn::GetWidth(int32_t *aWidth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString id; */
NS_IMETHODIMP nsTreeColumn::GetId(nsAString & aId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void getIdConst ([shared] out wstring idConst); */
NS_IMETHODIMP nsTreeColumn::GetIdConst(const char16_t * *idConst)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] readonly attribute nsIAtom atom; */
NS_IMETHODIMP nsTreeColumn::GetAtom(nsIAtom * *aAtom)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long index; */
NS_IMETHODIMP nsTreeColumn::GetIndex(int32_t *aIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean primary; */
NS_IMETHODIMP nsTreeColumn::GetPrimary(bool *aPrimary)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean cycler; */
NS_IMETHODIMP nsTreeColumn::GetCycler(bool *aCycler)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean editable; */
NS_IMETHODIMP nsTreeColumn::GetEditable(bool *aEditable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean selectable; */
NS_IMETHODIMP nsTreeColumn::GetSelectable(bool *aSelectable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute short type; */
NS_IMETHODIMP nsTreeColumn::GetType(int16_t *aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getNext (); */
NS_IMETHODIMP nsTreeColumn::GetNext(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getPrevious (); */
NS_IMETHODIMP nsTreeColumn::GetPrevious(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void invalidate (); */
NS_IMETHODIMP nsTreeColumn::Invalidate()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif

class nsITreeBoxObject; /* forward declaration */


/* starting interface:    nsITreeColumns */
#define NS_ITREECOLUMNS_IID_STR "f8a8d6b4-6788-438d-9009-7142798767ab"

#define NS_ITREECOLUMNS_IID \
  {0xf8a8d6b4, 0x6788, 0x438d, \
    { 0x90, 0x09, 0x71, 0x42, 0x79, 0x87, 0x67, 0xab }}

class NS_NO_VTABLE nsITreeColumns : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITREECOLUMNS_IID)

  /* readonly attribute nsITreeBoxObject tree; */
  NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) = 0;

  /* readonly attribute long count; */
  NS_IMETHOD GetCount(int32_t *aCount) = 0;

  /* readonly attribute long length; */
  NS_IMETHOD GetLength(int32_t *aLength) = 0;

  /* nsITreeColumn getFirstColumn (); */
  NS_IMETHOD GetFirstColumn(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getLastColumn (); */
  NS_IMETHOD GetLastColumn(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getPrimaryColumn (); */
  NS_IMETHOD GetPrimaryColumn(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getSortedColumn (); */
  NS_IMETHOD GetSortedColumn(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getKeyColumn (); */
  NS_IMETHOD GetKeyColumn(nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getColumnFor (in nsIDOMElement element); */
  NS_IMETHOD GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getNamedColumn (in AString id); */
  NS_IMETHOD GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval) = 0;

  /* nsITreeColumn getColumnAt (in long index); */
  NS_IMETHOD GetColumnAt(int32_t index, nsITreeColumn * *_retval) = 0;

  /* void invalidateColumns (); */
  NS_IMETHOD InvalidateColumns(void) = 0;

  /* void restoreNaturalOrder (); */
  NS_IMETHOD RestoreNaturalOrder(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsITreeColumns, NS_ITREECOLUMNS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITREECOLUMNS \
  NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) override; \
  NS_IMETHOD GetCount(int32_t *aCount) override; \
  NS_IMETHOD GetLength(int32_t *aLength) override; \
  NS_IMETHOD GetFirstColumn(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetLastColumn(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetPrimaryColumn(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetSortedColumn(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetKeyColumn(nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval) override; \
  NS_IMETHOD GetColumnAt(int32_t index, nsITreeColumn * *_retval) override; \
  NS_IMETHOD InvalidateColumns(void) override; \
  NS_IMETHOD RestoreNaturalOrder(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSITREECOLUMNS \
  NS_METHOD GetTree(nsITreeBoxObject * *aTree); \
  NS_METHOD GetCount(int32_t *aCount); \
  NS_METHOD GetLength(int32_t *aLength); \
  NS_METHOD GetFirstColumn(nsITreeColumn * *_retval); \
  NS_METHOD GetLastColumn(nsITreeColumn * *_retval); \
  NS_METHOD GetPrimaryColumn(nsITreeColumn * *_retval); \
  NS_METHOD GetSortedColumn(nsITreeColumn * *_retval); \
  NS_METHOD GetKeyColumn(nsITreeColumn * *_retval); \
  NS_METHOD GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval); \
  NS_METHOD GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval); \
  NS_METHOD GetColumnAt(int32_t index, nsITreeColumn * *_retval); \
  NS_METHOD InvalidateColumns(void); \
  NS_METHOD RestoreNaturalOrder(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITREECOLUMNS(_to) \
  NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) override { return _to GetTree(aTree); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return _to GetCount(aCount); } \
  NS_IMETHOD GetLength(int32_t *aLength) override { return _to GetLength(aLength); } \
  NS_IMETHOD GetFirstColumn(nsITreeColumn * *_retval) override { return _to GetFirstColumn(_retval); } \
  NS_IMETHOD GetLastColumn(nsITreeColumn * *_retval) override { return _to GetLastColumn(_retval); } \
  NS_IMETHOD GetPrimaryColumn(nsITreeColumn * *_retval) override { return _to GetPrimaryColumn(_retval); } \
  NS_IMETHOD GetSortedColumn(nsITreeColumn * *_retval) override { return _to GetSortedColumn(_retval); } \
  NS_IMETHOD GetKeyColumn(nsITreeColumn * *_retval) override { return _to GetKeyColumn(_retval); } \
  NS_IMETHOD GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval) override { return _to GetColumnFor(element, _retval); } \
  NS_IMETHOD GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval) override { return _to GetNamedColumn(id, _retval); } \
  NS_IMETHOD GetColumnAt(int32_t index, nsITreeColumn * *_retval) override { return _to GetColumnAt(index, _retval); } \
  NS_IMETHOD InvalidateColumns(void) override { return _to InvalidateColumns(); } \
  NS_IMETHOD RestoreNaturalOrder(void) override { return _to RestoreNaturalOrder(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITREECOLUMNS(_to) \
  NS_IMETHOD GetTree(nsITreeBoxObject * *aTree) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTree(aTree); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
  NS_IMETHOD GetLength(int32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
  NS_IMETHOD GetFirstColumn(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstColumn(_retval); } \
  NS_IMETHOD GetLastColumn(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastColumn(_retval); } \
  NS_IMETHOD GetPrimaryColumn(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrimaryColumn(_retval); } \
  NS_IMETHOD GetSortedColumn(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortedColumn(_retval); } \
  NS_IMETHOD GetKeyColumn(nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyColumn(_retval); } \
  NS_IMETHOD GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnFor(element, _retval); } \
  NS_IMETHOD GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamedColumn(id, _retval); } \
  NS_IMETHOD GetColumnAt(int32_t index, nsITreeColumn * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnAt(index, _retval); } \
  NS_IMETHOD InvalidateColumns(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateColumns(); } \
  NS_IMETHOD RestoreNaturalOrder(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RestoreNaturalOrder(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsTreeColumns : public nsITreeColumns
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSITREECOLUMNS

  nsTreeColumns();

private:
  ~nsTreeColumns();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsTreeColumns, nsITreeColumns)

nsTreeColumns::nsTreeColumns()
{
  /* member initializers and constructor code */
}

nsTreeColumns::~nsTreeColumns()
{
  /* destructor code */
}

/* readonly attribute nsITreeBoxObject tree; */
NS_IMETHODIMP nsTreeColumns::GetTree(nsITreeBoxObject * *aTree)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long count; */
NS_IMETHODIMP nsTreeColumns::GetCount(int32_t *aCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long length; */
NS_IMETHODIMP nsTreeColumns::GetLength(int32_t *aLength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getFirstColumn (); */
NS_IMETHODIMP nsTreeColumns::GetFirstColumn(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getLastColumn (); */
NS_IMETHODIMP nsTreeColumns::GetLastColumn(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getPrimaryColumn (); */
NS_IMETHODIMP nsTreeColumns::GetPrimaryColumn(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getSortedColumn (); */
NS_IMETHODIMP nsTreeColumns::GetSortedColumn(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getKeyColumn (); */
NS_IMETHODIMP nsTreeColumns::GetKeyColumn(nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getColumnFor (in nsIDOMElement element); */
NS_IMETHODIMP nsTreeColumns::GetColumnFor(nsIDOMElement *element, nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getNamedColumn (in AString id); */
NS_IMETHODIMP nsTreeColumns::GetNamedColumn(const nsAString & id, nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsITreeColumn getColumnAt (in long index); */
NS_IMETHODIMP nsTreeColumns::GetColumnAt(int32_t index, nsITreeColumn * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void invalidateColumns (); */
NS_IMETHODIMP nsTreeColumns::InvalidateColumns()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void restoreNaturalOrder (); */
NS_IMETHODIMP nsTreeColumns::RestoreNaturalOrder()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsITreeColumns_h__ */