This file is indexed.

/usr/include/thunderbird-11.0.1/nsIFileView.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/toolkit/components/filepicker/nsIFileView.idl
 */

#ifndef __gen_nsIFileView_h__
#define __gen_nsIFileView_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 nsIArray; /* forward declaration */

class nsIFile; /* forward declaration */


/* starting interface:    nsIFileView */
#define NS_IFILEVIEW_IID_STR "60b320d2-1dd2-11b2-bd73-dc3575f78ddd"

#define NS_IFILEVIEW_IID \
  {0x60b320d2, 0x1dd2, 0x11b2, \
    { 0xbd, 0x73, 0xdc, 0x35, 0x75, 0xf7, 0x8d, 0xdd }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIFileView : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFILEVIEW_IID)

  enum {
    sortName = 0,
    sortSize = 1,
    sortDate = 2
  };

  /* attribute boolean showHiddenFiles; */
  NS_SCRIPTABLE NS_IMETHOD GetShowHiddenFiles(bool *aShowHiddenFiles) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetShowHiddenFiles(bool aShowHiddenFiles) = 0;

  /* attribute boolean showOnlyDirectories; */
  NS_SCRIPTABLE NS_IMETHOD GetShowOnlyDirectories(bool *aShowOnlyDirectories) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetShowOnlyDirectories(bool aShowOnlyDirectories) = 0;

  /* readonly attribute short sortType; */
  NS_SCRIPTABLE NS_IMETHOD GetSortType(PRInt16 *aSortType) = 0;

  /* readonly attribute boolean reverseSort; */
  NS_SCRIPTABLE NS_IMETHOD GetReverseSort(bool *aReverseSort) = 0;

  /* void sort (in short sortType, in boolean reverseSort); */
  NS_SCRIPTABLE NS_IMETHOD Sort(PRInt16 sortType, bool reverseSort) = 0;

  /* void setDirectory (in nsIFile directory); */
  NS_SCRIPTABLE NS_IMETHOD SetDirectory(nsIFile *directory) = 0;

  /* void setFilter (in AString filterString); */
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsAString & filterString) = 0;

  /* readonly attribute nsIArray selectedFiles; */
  NS_SCRIPTABLE NS_IMETHOD GetSelectedFiles(nsIArray * *aSelectedFiles) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFileView, NS_IFILEVIEW_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFILEVIEW \
  NS_SCRIPTABLE NS_IMETHOD GetShowHiddenFiles(bool *aShowHiddenFiles); \
  NS_SCRIPTABLE NS_IMETHOD SetShowHiddenFiles(bool aShowHiddenFiles); \
  NS_SCRIPTABLE NS_IMETHOD GetShowOnlyDirectories(bool *aShowOnlyDirectories); \
  NS_SCRIPTABLE NS_IMETHOD SetShowOnlyDirectories(bool aShowOnlyDirectories); \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(PRInt16 *aSortType); \
  NS_SCRIPTABLE NS_IMETHOD GetReverseSort(bool *aReverseSort); \
  NS_SCRIPTABLE NS_IMETHOD Sort(PRInt16 sortType, bool reverseSort); \
  NS_SCRIPTABLE NS_IMETHOD SetDirectory(nsIFile *directory); \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsAString & filterString); \
  NS_SCRIPTABLE NS_IMETHOD GetSelectedFiles(nsIArray * *aSelectedFiles); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFILEVIEW(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetShowHiddenFiles(bool *aShowHiddenFiles) { return _to GetShowHiddenFiles(aShowHiddenFiles); } \
  NS_SCRIPTABLE NS_IMETHOD SetShowHiddenFiles(bool aShowHiddenFiles) { return _to SetShowHiddenFiles(aShowHiddenFiles); } \
  NS_SCRIPTABLE NS_IMETHOD GetShowOnlyDirectories(bool *aShowOnlyDirectories) { return _to GetShowOnlyDirectories(aShowOnlyDirectories); } \
  NS_SCRIPTABLE NS_IMETHOD SetShowOnlyDirectories(bool aShowOnlyDirectories) { return _to SetShowOnlyDirectories(aShowOnlyDirectories); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(PRInt16 *aSortType) { return _to GetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD GetReverseSort(bool *aReverseSort) { return _to GetReverseSort(aReverseSort); } \
  NS_SCRIPTABLE NS_IMETHOD Sort(PRInt16 sortType, bool reverseSort) { return _to Sort(sortType, reverseSort); } \
  NS_SCRIPTABLE NS_IMETHOD SetDirectory(nsIFile *directory) { return _to SetDirectory(directory); } \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsAString & filterString) { return _to SetFilter(filterString); } \
  NS_SCRIPTABLE NS_IMETHOD GetSelectedFiles(nsIArray * *aSelectedFiles) { return _to GetSelectedFiles(aSelectedFiles); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFILEVIEW(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetShowHiddenFiles(bool *aShowHiddenFiles) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowHiddenFiles(aShowHiddenFiles); } \
  NS_SCRIPTABLE NS_IMETHOD SetShowHiddenFiles(bool aShowHiddenFiles) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowHiddenFiles(aShowHiddenFiles); } \
  NS_SCRIPTABLE NS_IMETHOD GetShowOnlyDirectories(bool *aShowOnlyDirectories) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowOnlyDirectories(aShowOnlyDirectories); } \
  NS_SCRIPTABLE NS_IMETHOD SetShowOnlyDirectories(bool aShowOnlyDirectories) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowOnlyDirectories(aShowOnlyDirectories); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(PRInt16 *aSortType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD GetReverseSort(bool *aReverseSort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReverseSort(aReverseSort); } \
  NS_SCRIPTABLE NS_IMETHOD Sort(PRInt16 sortType, bool reverseSort) { return !_to ? NS_ERROR_NULL_POINTER : _to->Sort(sortType, reverseSort); } \
  NS_SCRIPTABLE NS_IMETHOD SetDirectory(nsIFile *directory) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDirectory(directory); } \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsAString & filterString) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilter(filterString); } \
  NS_SCRIPTABLE NS_IMETHOD GetSelectedFiles(nsIArray * *aSelectedFiles) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedFiles(aSelectedFiles); } 

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

/* Header file */
class nsFileView : public nsIFileView
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFILEVIEW

  nsFileView();

private:
  ~nsFileView();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsFileView, nsIFileView)

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

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

/* attribute boolean showHiddenFiles; */
NS_IMETHODIMP nsFileView::GetShowHiddenFiles(bool *aShowHiddenFiles)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFileView::SetShowHiddenFiles(bool aShowHiddenFiles)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean showOnlyDirectories; */
NS_IMETHODIMP nsFileView::GetShowOnlyDirectories(bool *aShowOnlyDirectories)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFileView::SetShowOnlyDirectories(bool aShowOnlyDirectories)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute short sortType; */
NS_IMETHODIMP nsFileView::GetSortType(PRInt16 *aSortType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean reverseSort; */
NS_IMETHODIMP nsFileView::GetReverseSort(bool *aReverseSort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void sort (in short sortType, in boolean reverseSort); */
NS_IMETHODIMP nsFileView::Sort(PRInt16 sortType, bool reverseSort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setDirectory (in nsIFile directory); */
NS_IMETHODIMP nsFileView::SetDirectory(nsIFile *directory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFilter (in AString filterString); */
NS_IMETHODIMP nsFileView::SetFilter(const nsAString & filterString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIArray selectedFiles; */
NS_IMETHODIMP nsFileView::GetSelectedFiles(nsIArray * *aSelectedFiles)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#define NS_FILEVIEW_CONTRACTID "@mozilla.org/filepicker/fileview;1"

#endif /* __gen_nsIFileView_h__ */