This file is indexed.

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

#ifndef __gen_calIItipItem_h__
#define __gen_calIItipItem_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 calIItemBase; /* forward declaration */

class calICalendar; /* forward declaration */

class nsISimpleEnumerator; /* forward declaration */


/* starting interface:    calIItipItem */
#define CALIITIPITEM_IID_STR "7539c158-c30d-41d0-90e9-41d315ac3eb1"

#define CALIITIPITEM_IID \
  {0x7539c158, 0xc30d, 0x41d0, \
    { 0x90, 0xe9, 0x41, 0xd3, 0x15, 0xac, 0x3e, 0xb1 }}

class NS_NO_VTABLE calIItipItem : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIITIPITEM_IID)

  /* void init (in AUTF8String icalData); */
  NS_IMETHOD Init(const nsACString & icalData) = 0;

  /* calIItipItem clone (); */
  NS_IMETHOD Clone(calIItipItem * *_retval) = 0;

  /* attribute boolean isSend; */
  NS_IMETHOD GetIsSend(bool *aIsSend) = 0;
  NS_IMETHOD SetIsSend(bool aIsSend) = 0;

  /* attribute AUTF8String sender; */
  NS_IMETHOD GetSender(nsACString & aSender) = 0;
  NS_IMETHOD SetSender(const nsACString & aSender) = 0;

  /* attribute AUTF8String receivedMethod; */
  NS_IMETHOD GetReceivedMethod(nsACString & aReceivedMethod) = 0;
  NS_IMETHOD SetReceivedMethod(const nsACString & aReceivedMethod) = 0;

  /* attribute AUTF8String responseMethod; */
  NS_IMETHOD GetResponseMethod(nsACString & aResponseMethod) = 0;
  NS_IMETHOD SetResponseMethod(const nsACString & aResponseMethod) = 0;

  /* attribute unsigned long autoResponse; */
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) = 0;
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) = 0;

  enum {
    AUTO = 0U,
    USER = 1U,
    NONE = 2U
  };

  /* attribute calICalendar targetCalendar; */
  NS_IMETHOD GetTargetCalendar(calICalendar * *aTargetCalendar) = 0;
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) = 0;

  /* attribute AUTF8String identity; */
  NS_IMETHOD GetIdentity(nsACString & aIdentity) = 0;
  NS_IMETHOD SetIdentity(const nsACString & aIdentity) = 0;

  /* attribute AUTF8String localStatus; */
  NS_IMETHOD GetLocalStatus(nsACString & aLocalStatus) = 0;
  NS_IMETHOD SetLocalStatus(const nsACString & aLocalStatus) = 0;

  /* void getItemList (out unsigned long itemCount, [array, size_is (itemCount), retval] out calIItemBase items); */
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase * **items) = 0;

  /* void setAttendeeStatus (in AString attendeeId, in AString status); */
  NS_IMETHOD SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIItipItem, CALIITIPITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIITIPITEM \
  NS_IMETHOD Init(const nsACString & icalData) override; \
  NS_IMETHOD Clone(calIItipItem * *_retval) override; \
  NS_IMETHOD GetIsSend(bool *aIsSend) override; \
  NS_IMETHOD SetIsSend(bool aIsSend) override; \
  NS_IMETHOD GetSender(nsACString & aSender) override; \
  NS_IMETHOD SetSender(const nsACString & aSender) override; \
  NS_IMETHOD GetReceivedMethod(nsACString & aReceivedMethod) override; \
  NS_IMETHOD SetReceivedMethod(const nsACString & aReceivedMethod) override; \
  NS_IMETHOD GetResponseMethod(nsACString & aResponseMethod) override; \
  NS_IMETHOD SetResponseMethod(const nsACString & aResponseMethod) override; \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override; \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override; \
  NS_IMETHOD GetTargetCalendar(calICalendar * *aTargetCalendar) override; \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override; \
  NS_IMETHOD GetIdentity(nsACString & aIdentity) override; \
  NS_IMETHOD SetIdentity(const nsACString & aIdentity) override; \
  NS_IMETHOD GetLocalStatus(nsACString & aLocalStatus) override; \
  NS_IMETHOD SetLocalStatus(const nsACString & aLocalStatus) override; \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase * **items) override; \
  NS_IMETHOD SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status) 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_CALIITIPITEM \
  NS_METHOD Init(const nsACString & icalData); \
  NS_METHOD Clone(calIItipItem * *_retval); \
  NS_METHOD GetIsSend(bool *aIsSend); \
  NS_METHOD SetIsSend(bool aIsSend); \
  NS_METHOD GetSender(nsACString & aSender); \
  NS_METHOD SetSender(const nsACString & aSender); \
  NS_METHOD GetReceivedMethod(nsACString & aReceivedMethod); \
  NS_METHOD SetReceivedMethod(const nsACString & aReceivedMethod); \
  NS_METHOD GetResponseMethod(nsACString & aResponseMethod); \
  NS_METHOD SetResponseMethod(const nsACString & aResponseMethod); \
  NS_METHOD GetAutoResponse(uint32_t *aAutoResponse); \
  NS_METHOD SetAutoResponse(uint32_t aAutoResponse); \
  NS_METHOD GetTargetCalendar(calICalendar * *aTargetCalendar); \
  NS_METHOD SetTargetCalendar(calICalendar *aTargetCalendar); \
  NS_METHOD GetIdentity(nsACString & aIdentity); \
  NS_METHOD SetIdentity(const nsACString & aIdentity); \
  NS_METHOD GetLocalStatus(nsACString & aLocalStatus); \
  NS_METHOD SetLocalStatus(const nsACString & aLocalStatus); \
  NS_METHOD GetItemList(uint32_t *itemCount, calIItemBase * **items); \
  NS_METHOD SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIITIPITEM(_to) \
  NS_IMETHOD Init(const nsACString & icalData) override { return _to Init(icalData); } \
  NS_IMETHOD Clone(calIItipItem * *_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetIsSend(bool *aIsSend) override { return _to GetIsSend(aIsSend); } \
  NS_IMETHOD SetIsSend(bool aIsSend) override { return _to SetIsSend(aIsSend); } \
  NS_IMETHOD GetSender(nsACString & aSender) override { return _to GetSender(aSender); } \
  NS_IMETHOD SetSender(const nsACString & aSender) override { return _to SetSender(aSender); } \
  NS_IMETHOD GetReceivedMethod(nsACString & aReceivedMethod) override { return _to GetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD SetReceivedMethod(const nsACString & aReceivedMethod) override { return _to SetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD GetResponseMethod(nsACString & aResponseMethod) override { return _to GetResponseMethod(aResponseMethod); } \
  NS_IMETHOD SetResponseMethod(const nsACString & aResponseMethod) override { return _to SetResponseMethod(aResponseMethod); } \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override { return _to GetAutoResponse(aAutoResponse); } \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override { return _to SetAutoResponse(aAutoResponse); } \
  NS_IMETHOD GetTargetCalendar(calICalendar * *aTargetCalendar) override { return _to GetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override { return _to SetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD GetIdentity(nsACString & aIdentity) override { return _to GetIdentity(aIdentity); } \
  NS_IMETHOD SetIdentity(const nsACString & aIdentity) override { return _to SetIdentity(aIdentity); } \
  NS_IMETHOD GetLocalStatus(nsACString & aLocalStatus) override { return _to GetLocalStatus(aLocalStatus); } \
  NS_IMETHOD SetLocalStatus(const nsACString & aLocalStatus) override { return _to SetLocalStatus(aLocalStatus); } \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase * **items) override { return _to GetItemList(itemCount, items); } \
  NS_IMETHOD SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status) override { return _to SetAttendeeStatus(attendeeId, status); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIITIPITEM(_to) \
  NS_IMETHOD Init(const nsACString & icalData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(icalData); } \
  NS_IMETHOD Clone(calIItipItem * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetIsSend(bool *aIsSend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSend(aIsSend); } \
  NS_IMETHOD SetIsSend(bool aIsSend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsSend(aIsSend); } \
  NS_IMETHOD GetSender(nsACString & aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSender(aSender); } \
  NS_IMETHOD SetSender(const nsACString & aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSender(aSender); } \
  NS_IMETHOD GetReceivedMethod(nsACString & aReceivedMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD SetReceivedMethod(const nsACString & aReceivedMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD GetResponseMethod(nsACString & aResponseMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResponseMethod(aResponseMethod); } \
  NS_IMETHOD SetResponseMethod(const nsACString & aResponseMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetResponseMethod(aResponseMethod); } \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoResponse(aAutoResponse); } \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoResponse(aAutoResponse); } \
  NS_IMETHOD GetTargetCalendar(calICalendar * *aTargetCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD GetIdentity(nsACString & aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentity(aIdentity); } \
  NS_IMETHOD SetIdentity(const nsACString & aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentity(aIdentity); } \
  NS_IMETHOD GetLocalStatus(nsACString & aLocalStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalStatus(aLocalStatus); } \
  NS_IMETHOD SetLocalStatus(const nsACString & aLocalStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocalStatus(aLocalStatus); } \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase * **items) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemList(itemCount, items); } \
  NS_IMETHOD SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttendeeStatus(attendeeId, status); } 

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

/* Header file */
class _MYCLASS_ : public calIItipItem
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIITIPITEM

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIItipItem)

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

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

/* void init (in AUTF8String icalData); */
NS_IMETHODIMP _MYCLASS_::Init(const nsACString & icalData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* calIItipItem clone (); */
NS_IMETHODIMP _MYCLASS_::Clone(calIItipItem * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isSend; */
NS_IMETHODIMP _MYCLASS_::GetIsSend(bool *aIsSend)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIsSend(bool aIsSend)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String sender; */
NS_IMETHODIMP _MYCLASS_::GetSender(nsACString & aSender)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetSender(const nsACString & aSender)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String receivedMethod; */
NS_IMETHODIMP _MYCLASS_::GetReceivedMethod(nsACString & aReceivedMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetReceivedMethod(const nsACString & aReceivedMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String responseMethod; */
NS_IMETHODIMP _MYCLASS_::GetResponseMethod(nsACString & aResponseMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetResponseMethod(const nsACString & aResponseMethod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long autoResponse; */
NS_IMETHODIMP _MYCLASS_::GetAutoResponse(uint32_t *aAutoResponse)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetAutoResponse(uint32_t aAutoResponse)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute calICalendar targetCalendar; */
NS_IMETHODIMP _MYCLASS_::GetTargetCalendar(calICalendar * *aTargetCalendar)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTargetCalendar(calICalendar *aTargetCalendar)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String identity; */
NS_IMETHODIMP _MYCLASS_::GetIdentity(nsACString & aIdentity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIdentity(const nsACString & aIdentity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String localStatus; */
NS_IMETHODIMP _MYCLASS_::GetLocalStatus(nsACString & aLocalStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetLocalStatus(const nsACString & aLocalStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getItemList (out unsigned long itemCount, [array, size_is (itemCount), retval] out calIItemBase items); */
NS_IMETHODIMP _MYCLASS_::GetItemList(uint32_t *itemCount, calIItemBase * **items)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setAttendeeStatus (in AString attendeeId, in AString status); */
NS_IMETHODIMP _MYCLASS_::SetAttendeeStatus(const nsAString & attendeeId, const nsAString & status)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIItipItem_h__ */