This file is indexed.

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

#ifndef __gen_calIIcsParser_h__
#define __gen_calIIcsParser_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 calIIcalProperty; /* forward declaration */

class calIIcalComponent; /* forward declaration */

class calIItemBase; /* forward declaration */

class nsIInputStream; /* forward declaration */

class calITimezoneProvider; /* forward declaration */

class calIIcsParser; /* forward declaration */


/* starting interface:    calIIcsParsingListener */
#define CALIICSPARSINGLISTENER_IID_STR "d22527da-b0e2-41b7-b6f4-ee9c243cd285"

#define CALIICSPARSINGLISTENER_IID \
  {0xd22527da, 0xb0e2, 0x41b7, \
    { 0xb6, 0xf4, 0xee, 0x9c, 0x24, 0x3c, 0xd2, 0x85 }}

class NS_NO_VTABLE calIIcsParsingListener : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSPARSINGLISTENER_IID)

  /* void onParsingComplete (in nsresult rc, in calIIcsParser parser); */
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcsParsingListener, CALIICSPARSINGLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSPARSINGLISTENER \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) override { return _to OnParsingComplete(rc, parser); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICSPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnParsingComplete(rc, parser); } 

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

/* Header file */
class _MYCLASS_ : public calIIcsParsingListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIICSPARSINGLISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void onParsingComplete (in nsresult rc, in calIIcsParser parser); */
NS_IMETHODIMP _MYCLASS_::OnParsingComplete(nsresult rc, calIIcsParser *parser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    calIIcsParser */
#define CALIICSPARSER_IID_STR "83e9befe-5e9e-49de-8bc2-d882f464f7e7"

#define CALIICSPARSER_IID \
  {0x83e9befe, 0x5e9e, 0x49de, \
    { 0x8b, 0xc2, 0xd8, 0x82, 0xf4, 0x64, 0xf7, 0xe7 }}

class NS_NO_VTABLE calIIcsParser : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSPARSER_IID)

  /* void parseString (in AString aICSString, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
  NS_IMETHOD ParseString(const nsAString & aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) = 0;

  /* void parseFromStream (in nsIInputStream aStream, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) = 0;

  /* void getItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase * **aItems) = 0;

  /* void getParentlessItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase * **aItems) = 0;

  /* void getProperties (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalProperty aProperties); */
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty * **aProperties) = 0;

  /* void getComponents (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalComponent aComponents); */
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent * **aComponents) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcsParser, CALIICSPARSER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSPARSER \
  NS_IMETHOD ParseString(const nsAString & aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override; \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override; \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase * **aItems) override; \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase * **aItems) override; \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty * **aProperties) override; \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent * **aComponents) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSPARSER(_to) \
  NS_IMETHOD ParseString(const nsAString & aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return _to ParseString(aICSString, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return _to ParseFromStream(aStream, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase * **aItems) override { return _to GetItems(aCount, aItems); } \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase * **aItems) override { return _to GetParentlessItems(aCount, aItems); } \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty * **aProperties) override { return _to GetProperties(aCount, aProperties); } \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent * **aComponents) override { return _to GetComponents(aCount, aComponents); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICSPARSER(_to) \
  NS_IMETHOD ParseString(const nsAString & aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseString(aICSString, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseFromStream(aStream, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase * **aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(aCount, aItems); } \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase * **aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentlessItems(aCount, aItems); } \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty * **aProperties) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperties(aCount, aProperties); } \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent * **aComponents) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComponents(aCount, aComponents); } 

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

/* Header file */
class _MYCLASS_ : public calIIcsParser
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIICSPARSER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void parseString (in AString aICSString, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
NS_IMETHODIMP _MYCLASS_::ParseString(const nsAString & aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void parseFromStream (in nsIInputStream aStream, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
NS_IMETHODIMP _MYCLASS_::ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
NS_IMETHODIMP _MYCLASS_::GetItems(uint32_t *aCount, calIItemBase * **aItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getParentlessItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
NS_IMETHODIMP _MYCLASS_::GetParentlessItems(uint32_t *aCount, calIItemBase * **aItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getProperties (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalProperty aProperties); */
NS_IMETHODIMP _MYCLASS_::GetProperties(uint32_t *aCount, calIIcalProperty * **aProperties)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getComponents (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalComponent aComponents); */
NS_IMETHODIMP _MYCLASS_::GetComponents(uint32_t *aCount, calIIcalComponent * **aComponents)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIIcsParser_h__ */