This file is indexed.

/usr/include/thunderbird/nsIFeed.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

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

#ifndef __gen_nsIFeed_h__
#define __gen_nsIFeed_h__


#ifndef __gen_nsIFeedContainer_h__
#include "nsIFeedContainer.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 nsIFeedGenerator; /* forward declaration */


/* starting interface:    nsIFeed */
#define NS_IFEED_IID_STR "3b8aae33-80e2-4efa-99c8-a6c5b99f76ea"

#define NS_IFEED_IID \
  {0x3b8aae33, 0x80e2, 0x4efa, \
    { 0x99, 0xc8, 0xa6, 0xc5, 0xb9, 0x9f, 0x76, 0xea }}

class NS_NO_VTABLE nsIFeed : public nsIFeedContainer {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFEED_IID)

  /* attribute nsIFeedTextConstruct subtitle; */
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct * *aSubtitle) = 0;
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) = 0;

  enum {
    TYPE_FEED = 0U,
    TYPE_AUDIO = 1U,
    TYPE_IMAGE = 2U,
    TYPE_VIDEO = 4U
  };

  /* readonly attribute unsigned long type; */
  NS_IMETHOD GetType(uint32_t *aType) = 0;

  /* attribute long enclosureCount; */
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) = 0;
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) = 0;

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

  /* attribute nsIWritablePropertyBag2 cloud; */
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 * *aCloud) = 0;
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) = 0;

  /* attribute nsIFeedGenerator generator; */
  NS_IMETHOD GetGenerator(nsIFeedGenerator * *aGenerator) = 0;
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) = 0;

  /* attribute nsIWritablePropertyBag2 image; */
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 * *aImage) = 0;
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) = 0;

  /* attribute nsIWritablePropertyBag2 textInput; */
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 * *aTextInput) = 0;
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) = 0;

  /* attribute nsIArray skipDays; */
  NS_IMETHOD GetSkipDays(nsIArray * *aSkipDays) = 0;
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) = 0;

  /* attribute nsIArray skipHours; */
  NS_IMETHOD GetSkipHours(nsIArray * *aSkipHours) = 0;
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFeed, NS_IFEED_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFEED \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct * *aSubtitle) override; \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override; \
  NS_IMETHOD GetType(uint32_t *aType) override; \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override; \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override; \
  NS_IMETHOD GetItems(nsIArray * *aItems) override; \
  NS_IMETHOD SetItems(nsIArray *aItems) override; \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 * *aCloud) override; \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override; \
  NS_IMETHOD GetGenerator(nsIFeedGenerator * *aGenerator) override; \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override; \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 * *aImage) override; \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override; \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 * *aTextInput) override; \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override; \
  NS_IMETHOD GetSkipDays(nsIArray * *aSkipDays) override; \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override; \
  NS_IMETHOD GetSkipHours(nsIArray * *aSkipHours) override; \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFEED(_to) \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct * *aSubtitle) override { return _to GetSubtitle(aSubtitle); } \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override { return _to SetSubtitle(aSubtitle); } \
  NS_IMETHOD GetType(uint32_t *aType) override { return _to GetType(aType); } \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override { return _to GetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override { return _to SetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD GetItems(nsIArray * *aItems) override { return _to GetItems(aItems); } \
  NS_IMETHOD SetItems(nsIArray *aItems) override { return _to SetItems(aItems); } \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 * *aCloud) override { return _to GetCloud(aCloud); } \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override { return _to SetCloud(aCloud); } \
  NS_IMETHOD GetGenerator(nsIFeedGenerator * *aGenerator) override { return _to GetGenerator(aGenerator); } \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override { return _to SetGenerator(aGenerator); } \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 * *aImage) override { return _to GetImage(aImage); } \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override { return _to SetImage(aImage); } \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 * *aTextInput) override { return _to GetTextInput(aTextInput); } \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override { return _to SetTextInput(aTextInput); } \
  NS_IMETHOD GetSkipDays(nsIArray * *aSkipDays) override { return _to GetSkipDays(aSkipDays); } \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override { return _to SetSkipDays(aSkipDays); } \
  NS_IMETHOD GetSkipHours(nsIArray * *aSkipHours) override { return _to GetSkipHours(aSkipHours); } \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) override { return _to SetSkipHours(aSkipHours); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFEED(_to) \
  NS_IMETHOD GetSubtitle(nsIFeedTextConstruct * *aSubtitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubtitle(aSubtitle); } \
  NS_IMETHOD SetSubtitle(nsIFeedTextConstruct *aSubtitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSubtitle(aSubtitle); } \
  NS_IMETHOD GetType(uint32_t *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD GetEnclosureCount(int32_t *aEnclosureCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD SetEnclosureCount(int32_t aEnclosureCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnclosureCount(aEnclosureCount); } \
  NS_IMETHOD GetItems(nsIArray * *aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(aItems); } \
  NS_IMETHOD SetItems(nsIArray *aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetItems(aItems); } \
  NS_IMETHOD GetCloud(nsIWritablePropertyBag2 * *aCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCloud(aCloud); } \
  NS_IMETHOD SetCloud(nsIWritablePropertyBag2 *aCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCloud(aCloud); } \
  NS_IMETHOD GetGenerator(nsIFeedGenerator * *aGenerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGenerator(aGenerator); } \
  NS_IMETHOD SetGenerator(nsIFeedGenerator *aGenerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGenerator(aGenerator); } \
  NS_IMETHOD GetImage(nsIWritablePropertyBag2 * *aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(aImage); } \
  NS_IMETHOD SetImage(nsIWritablePropertyBag2 *aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImage(aImage); } \
  NS_IMETHOD GetTextInput(nsIWritablePropertyBag2 * *aTextInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextInput(aTextInput); } \
  NS_IMETHOD SetTextInput(nsIWritablePropertyBag2 *aTextInput) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextInput(aTextInput); } \
  NS_IMETHOD GetSkipDays(nsIArray * *aSkipDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSkipDays(aSkipDays); } \
  NS_IMETHOD SetSkipDays(nsIArray *aSkipDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSkipDays(aSkipDays); } \
  NS_IMETHOD GetSkipHours(nsIArray * *aSkipHours) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSkipHours(aSkipHours); } \
  NS_IMETHOD SetSkipHours(nsIArray *aSkipHours) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSkipHours(aSkipHours); } 

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

/* Header file */
class nsFeed : public nsIFeed
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFEED

  nsFeed();

private:
  ~nsFeed();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsFeed, nsIFeed)

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

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

/* attribute nsIFeedTextConstruct subtitle; */
NS_IMETHODIMP nsFeed::GetSubtitle(nsIFeedTextConstruct * *aSubtitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetSubtitle(nsIFeedTextConstruct *aSubtitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long type; */
NS_IMETHODIMP nsFeed::GetType(uint32_t *aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long enclosureCount; */
NS_IMETHODIMP nsFeed::GetEnclosureCount(int32_t *aEnclosureCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetEnclosureCount(int32_t aEnclosureCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute nsIWritablePropertyBag2 cloud; */
NS_IMETHODIMP nsFeed::GetCloud(nsIWritablePropertyBag2 * *aCloud)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetCloud(nsIWritablePropertyBag2 *aCloud)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIFeedGenerator generator; */
NS_IMETHODIMP nsFeed::GetGenerator(nsIFeedGenerator * *aGenerator)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetGenerator(nsIFeedGenerator *aGenerator)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIWritablePropertyBag2 image; */
NS_IMETHODIMP nsFeed::GetImage(nsIWritablePropertyBag2 * *aImage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetImage(nsIWritablePropertyBag2 *aImage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIWritablePropertyBag2 textInput; */
NS_IMETHODIMP nsFeed::GetTextInput(nsIWritablePropertyBag2 * *aTextInput)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetTextInput(nsIWritablePropertyBag2 *aTextInput)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIArray skipDays; */
NS_IMETHODIMP nsFeed::GetSkipDays(nsIArray * *aSkipDays)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetSkipDays(nsIArray *aSkipDays)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIArray skipHours; */
NS_IMETHODIMP nsFeed::GetSkipHours(nsIArray * *aSkipHours)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFeed::SetSkipHours(nsIArray *aSkipHours)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIFeed_h__ */