This file is indexed.

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

#ifndef __gen_calIRecurrenceItem_h__
#define __gen_calIRecurrenceItem_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 calIDateTime; /* forward declaration */

class calIIcalProperty; /* forward declaration */


/* starting interface:    calIRecurrenceItem */
#define CALIRECURRENCEITEM_IID_STR "918a243b-d887-41b0-8b4b-9cd56a9dd55f"

#define CALIRECURRENCEITEM_IID \
  {0x918a243b, 0xd887, 0x41b0, \
    { 0x8b, 0x4b, 0x9c, 0xd5, 0x6a, 0x9d, 0xd5, 0x5f }}

class NS_NO_VTABLE calIRecurrenceItem : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIRECURRENCEITEM_IID)

  /* readonly attribute boolean isMutable; */
  NS_IMETHOD GetIsMutable(bool *aIsMutable) = 0;

  /* void makeImmutable (); */
  NS_IMETHOD MakeImmutable(void) = 0;

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

  /* attribute boolean isNegative; */
  NS_IMETHOD GetIsNegative(bool *aIsNegative) = 0;
  NS_IMETHOD SetIsNegative(bool aIsNegative) = 0;

  /* readonly attribute boolean isFinite; */
  NS_IMETHOD GetIsFinite(bool *aIsFinite) = 0;

  /* calIDateTime getNextOccurrence (in calIDateTime aRecurrenceId, in calIDateTime aTime); */
  NS_IMETHOD GetNextOccurrence(calIDateTime *aRecurrenceId, calIDateTime *aTime, calIDateTime * *_retval) = 0;

  /* void getOccurrences (in calIDateTime aStartTime, in calIDateTime aRangeStart, in calIDateTime aRangeEnd, in unsigned long aMaxCount, out unsigned long aCount, [array, size_is (aCount), retval] out calIDateTime aDates); */
  NS_IMETHOD GetOccurrences(calIDateTime *aStartTime, calIDateTime *aRangeStart, calIDateTime *aRangeEnd, uint32_t aMaxCount, uint32_t *aCount, calIDateTime * **aDates) = 0;

  /* attribute calIIcalProperty icalProperty; */
  NS_IMETHOD GetIcalProperty(calIIcalProperty * *aIcalProperty) = 0;
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) = 0;

  /* attribute AUTF8String icalString; */
  NS_IMETHOD GetIcalString(nsACString & aIcalString) = 0;
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIRecurrenceItem, CALIRECURRENCEITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIRECURRENCEITEM \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIRecurrenceItem * *_retval) override; \
  NS_IMETHOD GetIsNegative(bool *aIsNegative) override; \
  NS_IMETHOD SetIsNegative(bool aIsNegative) override; \
  NS_IMETHOD GetIsFinite(bool *aIsFinite) override; \
  NS_IMETHOD GetNextOccurrence(calIDateTime *aRecurrenceId, calIDateTime *aTime, calIDateTime * *_retval) override; \
  NS_IMETHOD GetOccurrences(calIDateTime *aStartTime, calIDateTime *aRangeStart, calIDateTime *aRangeEnd, uint32_t aMaxCount, uint32_t *aCount, calIDateTime * **aDates) override; \
  NS_IMETHOD GetIcalProperty(calIIcalProperty * *aIcalProperty) override; \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override; \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIRECURRENCEITEM(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIRecurrenceItem * *_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetIsNegative(bool *aIsNegative) override { return _to GetIsNegative(aIsNegative); } \
  NS_IMETHOD SetIsNegative(bool aIsNegative) override { return _to SetIsNegative(aIsNegative); } \
  NS_IMETHOD GetIsFinite(bool *aIsFinite) override { return _to GetIsFinite(aIsFinite); } \
  NS_IMETHOD GetNextOccurrence(calIDateTime *aRecurrenceId, calIDateTime *aTime, calIDateTime * *_retval) override { return _to GetNextOccurrence(aRecurrenceId, aTime, _retval); } \
  NS_IMETHOD GetOccurrences(calIDateTime *aStartTime, calIDateTime *aRangeStart, calIDateTime *aRangeEnd, uint32_t aMaxCount, uint32_t *aCount, calIDateTime * **aDates) override { return _to GetOccurrences(aStartTime, aRangeStart, aRangeEnd, aMaxCount, aCount, aDates); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty * *aIcalProperty) override { return _to GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return _to SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override { return _to SetIcalString(aIcalString); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIRECURRENCEITEM(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MakeImmutable(); } \
  NS_IMETHOD Clone(calIRecurrenceItem * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetIsNegative(bool *aIsNegative) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsNegative(aIsNegative); } \
  NS_IMETHOD SetIsNegative(bool aIsNegative) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsNegative(aIsNegative); } \
  NS_IMETHOD GetIsFinite(bool *aIsFinite) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFinite(aIsFinite); } \
  NS_IMETHOD GetNextOccurrence(calIDateTime *aRecurrenceId, calIDateTime *aTime, calIDateTime * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextOccurrence(aRecurrenceId, aTime, _retval); } \
  NS_IMETHOD GetOccurrences(calIDateTime *aStartTime, calIDateTime *aRangeStart, calIDateTime *aRangeEnd, uint32_t aMaxCount, uint32_t *aCount, calIDateTime * **aDates) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOccurrences(aStartTime, aRangeStart, aRangeEnd, aMaxCount, aCount, aDates); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty * *aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalString(aIcalString); } 

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

/* Header file */
class _MYCLASS_ : public calIRecurrenceItem
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIRECURRENCEITEM

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* readonly attribute boolean isMutable; */
NS_IMETHODIMP _MYCLASS_::GetIsMutable(bool *aIsMutable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void makeImmutable (); */
NS_IMETHODIMP _MYCLASS_::MakeImmutable()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute boolean isNegative; */
NS_IMETHODIMP _MYCLASS_::GetIsNegative(bool *aIsNegative)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIsNegative(bool aIsNegative)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isFinite; */
NS_IMETHODIMP _MYCLASS_::GetIsFinite(bool *aIsFinite)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* calIDateTime getNextOccurrence (in calIDateTime aRecurrenceId, in calIDateTime aTime); */
NS_IMETHODIMP _MYCLASS_::GetNextOccurrence(calIDateTime *aRecurrenceId, calIDateTime *aTime, calIDateTime * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getOccurrences (in calIDateTime aStartTime, in calIDateTime aRangeStart, in calIDateTime aRangeEnd, in unsigned long aMaxCount, out unsigned long aCount, [array, size_is (aCount), retval] out calIDateTime aDates); */
NS_IMETHODIMP _MYCLASS_::GetOccurrences(calIDateTime *aStartTime, calIDateTime *aRangeStart, calIDateTime *aRangeEnd, uint32_t aMaxCount, uint32_t *aCount, calIDateTime * **aDates)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute calIIcalProperty icalProperty; */
NS_IMETHODIMP _MYCLASS_::GetIcalProperty(calIIcalProperty * *aIcalProperty)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalProperty(calIIcalProperty *aIcalProperty)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String icalString; */
NS_IMETHODIMP _MYCLASS_::GetIcalString(nsACString & aIcalString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalString(const nsACString & aIcalString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIRecurrenceItem_h__ */