This file is indexed.

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

#ifndef __gen_calIRecurrenceRule_h__
#define __gen_calIRecurrenceRule_h__


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

#ifndef __gen_calIRecurrenceItem_h__
#include "calIRecurrenceItem.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 calIDateTime; /* forward declaration */


/* starting interface:    calIRecurrenceRule */
#define CALIRECURRENCERULE_IID_STR "e965a91a-49fa-41b5-b668-1a824a73bdbf"

#define CALIRECURRENCERULE_IID \
  {0xe965a91a, 0x49fa, 0x41b5, \
    { 0xb6, 0x68, 0x1a, 0x82, 0x4a, 0x73, 0xbd, 0xbf }}

class NS_NO_VTABLE calIRecurrenceRule : public calIRecurrenceItem {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIRECURRENCERULE_IID)

  /* attribute AUTF8String type; */
  NS_IMETHOD GetType(nsACString & aType) = 0;
  NS_IMETHOD SetType(const nsACString & aType) = 0;

  /* attribute long interval; */
  NS_IMETHOD GetInterval(int32_t *aInterval) = 0;
  NS_IMETHOD SetInterval(int32_t aInterval) = 0;

  /* attribute long count; */
  NS_IMETHOD GetCount(int32_t *aCount) = 0;
  NS_IMETHOD SetCount(int32_t aCount) = 0;

  /* attribute calIDateTime untilDate; */
  NS_IMETHOD GetUntilDate(calIDateTime * *aUntilDate) = 0;
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) = 0;

  /* readonly attribute boolean isByCount; */
  NS_IMETHOD GetIsByCount(bool *aIsByCount) = 0;

  /* attribute short weekStart; */
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) = 0;
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) = 0;

  /* void getComponent (in AUTF8String aComponentType, out unsigned long aCount, [array, size_is (aCount), retval] out short aValues); */
  NS_IMETHOD GetComponent(const nsACString & aComponentType, uint32_t *aCount, int16_t **aValues) = 0;

  /* void setComponent (in AUTF8String aComponentType, in unsigned long aCount, [array, size_is (aCount)] in short aValues); */
  NS_IMETHOD SetComponent(const nsACString & aComponentType, uint32_t aCount, int16_t *aValues) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIRecurrenceRule, CALIRECURRENCERULE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIRECURRENCERULE \
  NS_IMETHOD GetType(nsACString & aType) override; \
  NS_IMETHOD SetType(const nsACString & aType) override; \
  NS_IMETHOD GetInterval(int32_t *aInterval) override; \
  NS_IMETHOD SetInterval(int32_t aInterval) override; \
  NS_IMETHOD GetCount(int32_t *aCount) override; \
  NS_IMETHOD SetCount(int32_t aCount) override; \
  NS_IMETHOD GetUntilDate(calIDateTime * *aUntilDate) override; \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override; \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override; \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override; \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override; \
  NS_IMETHOD GetComponent(const nsACString & aComponentType, uint32_t *aCount, int16_t **aValues) override; \
  NS_IMETHOD SetComponent(const nsACString & aComponentType, uint32_t aCount, int16_t *aValues) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIRECURRENCERULE(_to) \
  NS_IMETHOD GetType(nsACString & aType) override { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsACString & aType) override { return _to SetType(aType); } \
  NS_IMETHOD GetInterval(int32_t *aInterval) override { return _to GetInterval(aInterval); } \
  NS_IMETHOD SetInterval(int32_t aInterval) override { return _to SetInterval(aInterval); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return _to GetCount(aCount); } \
  NS_IMETHOD SetCount(int32_t aCount) override { return _to SetCount(aCount); } \
  NS_IMETHOD GetUntilDate(calIDateTime * *aUntilDate) override { return _to GetUntilDate(aUntilDate); } \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override { return _to SetUntilDate(aUntilDate); } \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override { return _to GetIsByCount(aIsByCount); } \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override { return _to GetWeekStart(aWeekStart); } \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override { return _to SetWeekStart(aWeekStart); } \
  NS_IMETHOD GetComponent(const nsACString & aComponentType, uint32_t *aCount, int16_t **aValues) override { return _to GetComponent(aComponentType, aCount, aValues); } \
  NS_IMETHOD SetComponent(const nsACString & aComponentType, uint32_t aCount, int16_t *aValues) override { return _to SetComponent(aComponentType, aCount, aValues); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIRECURRENCERULE(_to) \
  NS_IMETHOD GetType(nsACString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsACString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetInterval(int32_t *aInterval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterval(aInterval); } \
  NS_IMETHOD SetInterval(int32_t aInterval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInterval(aInterval); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
  NS_IMETHOD SetCount(int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCount(aCount); } \
  NS_IMETHOD GetUntilDate(calIDateTime * *aUntilDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUntilDate(aUntilDate); } \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUntilDate(aUntilDate); } \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsByCount(aIsByCount); } \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWeekStart(aWeekStart); } \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWeekStart(aWeekStart); } \
  NS_IMETHOD GetComponent(const nsACString & aComponentType, uint32_t *aCount, int16_t **aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComponent(aComponentType, aCount, aValues); } \
  NS_IMETHOD SetComponent(const nsACString & aComponentType, uint32_t aCount, int16_t *aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComponent(aComponentType, aCount, aValues); } 

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

/* Header file */
class _MYCLASS_ : public calIRecurrenceRule
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIRECURRENCERULE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AUTF8String type; */
NS_IMETHODIMP _MYCLASS_::GetType(nsACString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetType(const nsACString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long interval; */
NS_IMETHODIMP _MYCLASS_::GetInterval(int32_t *aInterval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetInterval(int32_t aInterval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long count; */
NS_IMETHODIMP _MYCLASS_::GetCount(int32_t *aCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetCount(int32_t aCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute calIDateTime untilDate; */
NS_IMETHODIMP _MYCLASS_::GetUntilDate(calIDateTime * *aUntilDate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetUntilDate(calIDateTime *aUntilDate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isByCount; */
NS_IMETHODIMP _MYCLASS_::GetIsByCount(bool *aIsByCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute short weekStart; */
NS_IMETHODIMP _MYCLASS_::GetWeekStart(int16_t *aWeekStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetWeekStart(int16_t aWeekStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getComponent (in AUTF8String aComponentType, out unsigned long aCount, [array, size_is (aCount), retval] out short aValues); */
NS_IMETHODIMP _MYCLASS_::GetComponent(const nsACString & aComponentType, uint32_t *aCount, int16_t **aValues)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setComponent (in AUTF8String aComponentType, in unsigned long aCount, [array, size_is (aCount)] in short aValues); */
NS_IMETHODIMP _MYCLASS_::SetComponent(const nsACString & aComponentType, uint32_t aCount, int16_t *aValues)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIRecurrenceRule_h__ */