This file is indexed.

/usr/include/thunderbird-11.0.1/nsIAutoCompleteResults.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
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/xpfe/components/autocomplete/public/nsIAutoCompleteResults.idl
 */

#ifndef __gen_nsIAutoCompleteResults_h__
#define __gen_nsIAutoCompleteResults_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_nsISupportsArray_h__
#include "nsISupportsArray.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIAutoCompleteItem */
#define NS_IAUTOCOMPLETEITEM_IID_STR "88dcfa80-062f-11d4-a449-b36a1a94c0fc"

#define NS_IAUTOCOMPLETEITEM_IID \
  {0x88dcfa80, 0x062f, 0x11d4, \
    { 0xa4, 0x49, 0xb3, 0x6a, 0x1a, 0x94, 0xc0, 0xfc }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIAutoCompleteItem : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCOMPLETEITEM_IID)

  /* attribute AString value; */
  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;

  /* attribute wstring comment; */
  NS_SCRIPTABLE NS_IMETHOD GetComment(PRUnichar * *aComment) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetComment(const PRUnichar * aComment) = 0;

  /* attribute string className; */
  NS_SCRIPTABLE NS_IMETHOD GetClassName(char * *aClassName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetClassName(const char * aClassName) = 0;

  /* attribute nsISupports param; */
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoCompleteItem, NS_IAUTOCOMPLETEITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIAUTOCOMPLETEITEM \
  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
  NS_SCRIPTABLE NS_IMETHOD GetComment(PRUnichar * *aComment); \
  NS_SCRIPTABLE NS_IMETHOD SetComment(const PRUnichar * aComment); \
  NS_SCRIPTABLE NS_IMETHOD GetClassName(char * *aClassName); \
  NS_SCRIPTABLE NS_IMETHOD SetClassName(const char * aClassName); \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam); \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIAUTOCOMPLETEITEM(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetComment(PRUnichar * *aComment) { return _to GetComment(aComment); } \
  NS_SCRIPTABLE NS_IMETHOD SetComment(const PRUnichar * aComment) { return _to SetComment(aComment); } \
  NS_SCRIPTABLE NS_IMETHOD GetClassName(char * *aClassName) { return _to GetClassName(aClassName); } \
  NS_SCRIPTABLE NS_IMETHOD SetClassName(const char * aClassName) { return _to SetClassName(aClassName); } \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) { return _to GetParam(aParam); } \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) { return _to SetParam(aParam); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIAUTOCOMPLETEITEM(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetComment(PRUnichar * *aComment) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComment(aComment); } \
  NS_SCRIPTABLE NS_IMETHOD SetComment(const PRUnichar * aComment) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComment(aComment); } \
  NS_SCRIPTABLE NS_IMETHOD GetClassName(char * *aClassName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClassName(aClassName); } \
  NS_SCRIPTABLE NS_IMETHOD SetClassName(const char * aClassName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetClassName(aClassName); } \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParam(aParam); } \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParam(aParam); } 

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

/* Header file */
class nsAutoCompleteItem : public nsIAutoCompleteItem
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIAUTOCOMPLETEITEM

  nsAutoCompleteItem();

private:
  ~nsAutoCompleteItem();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAutoCompleteItem, nsIAutoCompleteItem)

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

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

/* attribute AString value; */
NS_IMETHODIMP nsAutoCompleteItem::GetValue(nsAString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteItem::SetValue(const nsAString & aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring comment; */
NS_IMETHODIMP nsAutoCompleteItem::GetComment(PRUnichar * *aComment)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteItem::SetComment(const PRUnichar * aComment)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string className; */
NS_IMETHODIMP nsAutoCompleteItem::GetClassName(char * *aClassName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteItem::SetClassName(const char * aClassName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupports param; */
NS_IMETHODIMP nsAutoCompleteItem::GetParam(nsISupports * *aParam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteItem::SetParam(nsISupports *aParam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIAutoCompleteResults */
#define NS_IAUTOCOMPLETERESULTS_IID_STR "88dcfa81-062f-11d4-a449-b36a1a94c0fc"

#define NS_IAUTOCOMPLETERESULTS_IID \
  {0x88dcfa81, 0x062f, 0x11d4, \
    { 0xa4, 0x49, 0xb3, 0x6a, 0x1a, 0x94, 0xc0, 0xfc }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIAutoCompleteResults : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCOMPLETERESULTS_IID)

  /* attribute wstring searchString; */
  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) = 0;

  /* attribute nsISupportsArray items; */
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISupportsArray * *aItems) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetItems(nsISupportsArray *aItems) = 0;

  /* attribute long defaultItemIndex; */
  NS_SCRIPTABLE NS_IMETHOD GetDefaultItemIndex(PRInt32 *aDefaultItemIndex) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetDefaultItemIndex(PRInt32 aDefaultItemIndex) = 0;

  /* attribute nsISupports param; */
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoCompleteResults, NS_IAUTOCOMPLETERESULTS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIAUTOCOMPLETERESULTS \
  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString); \
  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString); \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISupportsArray * *aItems); \
  NS_SCRIPTABLE NS_IMETHOD SetItems(nsISupportsArray *aItems); \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultItemIndex(PRInt32 *aDefaultItemIndex); \
  NS_SCRIPTABLE NS_IMETHOD SetDefaultItemIndex(PRInt32 aDefaultItemIndex); \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam); \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIAUTOCOMPLETERESULTS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return _to GetSearchString(aSearchString); } \
  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return _to SetSearchString(aSearchString); } \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISupportsArray * *aItems) { return _to GetItems(aItems); } \
  NS_SCRIPTABLE NS_IMETHOD SetItems(nsISupportsArray *aItems) { return _to SetItems(aItems); } \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultItemIndex(PRInt32 *aDefaultItemIndex) { return _to GetDefaultItemIndex(aDefaultItemIndex); } \
  NS_SCRIPTABLE NS_IMETHOD SetDefaultItemIndex(PRInt32 aDefaultItemIndex) { return _to SetDefaultItemIndex(aDefaultItemIndex); } \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) { return _to GetParam(aParam); } \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) { return _to SetParam(aParam); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIAUTOCOMPLETERESULTS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchString(aSearchString); } \
  NS_SCRIPTABLE NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchString(aSearchString); } \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISupportsArray * *aItems) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(aItems); } \
  NS_SCRIPTABLE NS_IMETHOD SetItems(nsISupportsArray *aItems) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetItems(aItems); } \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultItemIndex(PRInt32 *aDefaultItemIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultItemIndex(aDefaultItemIndex); } \
  NS_SCRIPTABLE NS_IMETHOD SetDefaultItemIndex(PRInt32 aDefaultItemIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultItemIndex(aDefaultItemIndex); } \
  NS_SCRIPTABLE NS_IMETHOD GetParam(nsISupports * *aParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParam(aParam); } \
  NS_SCRIPTABLE NS_IMETHOD SetParam(nsISupports *aParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParam(aParam); } 

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

/* Header file */
class nsAutoCompleteResults : public nsIAutoCompleteResults
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIAUTOCOMPLETERESULTS

  nsAutoCompleteResults();

private:
  ~nsAutoCompleteResults();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAutoCompleteResults, nsIAutoCompleteResults)

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

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

/* attribute wstring searchString; */
NS_IMETHODIMP nsAutoCompleteResults::GetSearchString(PRUnichar * *aSearchString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteResults::SetSearchString(const PRUnichar * aSearchString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupportsArray items; */
NS_IMETHODIMP nsAutoCompleteResults::GetItems(nsISupportsArray * *aItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteResults::SetItems(nsISupportsArray *aItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long defaultItemIndex; */
NS_IMETHODIMP nsAutoCompleteResults::GetDefaultItemIndex(PRInt32 *aDefaultItemIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteResults::SetDefaultItemIndex(PRInt32 aDefaultItemIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupports param; */
NS_IMETHODIMP nsAutoCompleteResults::GetParam(nsISupports * *aParam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteResults::SetParam(nsISupports *aParam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// {FE4FC780-063D-11d4-A449-D45A120774BC}
#define NS_AUTOCOMPLETERESULTS_CID \
{ 0xfe4fc780, 0x063d, 0x11d4, { 0xa4, 0x49, 0xd4, 0x5a, 0x12, 0x07, 0x74, 0xbc } }
#define NS_AUTOCOMPLETERESULTS_CONTRACTID  "@mozilla.org/autocomplete/results;1"
// {FE4FC781-063D-11d4-A449-D45A120774BC}
#define NS_AUTOCOMPLETEITEM_CID \
{ 0xfe4fc781, 0x063d, 0x11d4, { 0xa4, 0x49, 0xd4, 0x5a, 0x12, 0x07, 0x74, 0xbc } }
#define NS_AUTOCOMPLETEITEM_CONTRACTID  "@mozilla.org/autocomplete/item;1"

#endif /* __gen_nsIAutoCompleteResults_h__ */