This file is indexed.

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

#ifndef __gen_mozIApplication_h__
#define __gen_mozIApplication_h__


#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    mozIApplication */
#define MOZIAPPLICATION_IID_STR "1d856b11-ac29-47d3-bd52-a86e3d45fcf5"

#define MOZIAPPLICATION_IID \
  {0x1d856b11, 0xac29, 0x47d3, \
    { 0xbd, 0x52, 0xa8, 0x6e, 0x3d, 0x45, 0xfc, 0xf5 }}

class NS_NO_VTABLE mozIApplication : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(MOZIAPPLICATION_IID)

  /* boolean hasPermission (in string permission); */
  NS_IMETHOD HasPermission(const char * permission, bool *_retval) = 0;

  /* boolean hasWidgetPage (in DOMString pageURL); */
  NS_IMETHOD HasWidgetPage(const nsAString & pageURL, bool *_retval) = 0;

  /* readonly attribute unsigned short appStatus; */
  NS_IMETHOD GetAppStatus(uint16_t *aAppStatus) = 0;

  /* readonly attribute DOMString id; */
  NS_IMETHOD GetId(nsAString & aId) = 0;

  /* readonly attribute DOMString origin; */
  NS_IMETHOD GetOrigin(nsAString & aOrigin) = 0;

  /* readonly attribute DOMString manifestURL; */
  NS_IMETHOD GetManifestURL(nsAString & aManifestURL) = 0;

  /* readonly attribute unsigned long localId; */
  NS_IMETHOD GetLocalId(uint32_t *aLocalId) = 0;

  /* readonly attribute DOMString basePath; */
  NS_IMETHOD GetBasePath(nsAString & aBasePath) = 0;

  /* readonly attribute DOMString name; */
  NS_IMETHOD GetName(nsAString & aName) = 0;

  /* readonly attribute DOMString csp; */
  NS_IMETHOD GetCsp(nsAString & aCsp) = 0;

  /* readonly attribute DOMString storeID; */
  NS_IMETHOD GetStoreID(nsAString & aStoreID) = 0;

  /* readonly attribute unsigned long storeVersion; */
  NS_IMETHOD GetStoreVersion(uint32_t *aStoreVersion) = 0;

  /* readonly attribute DOMString role; */
  NS_IMETHOD GetRole(nsAString & aRole) = 0;

  /* readonly attribute DOMString kind; */
  NS_IMETHOD GetKind(nsAString & aKind) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(mozIApplication, MOZIAPPLICATION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZIAPPLICATION \
  NS_IMETHOD HasPermission(const char * permission, bool *_retval) override; \
  NS_IMETHOD HasWidgetPage(const nsAString & pageURL, bool *_retval) override; \
  NS_IMETHOD GetAppStatus(uint16_t *aAppStatus) override; \
  NS_IMETHOD GetId(nsAString & aId) override; \
  NS_IMETHOD GetOrigin(nsAString & aOrigin) override; \
  NS_IMETHOD GetManifestURL(nsAString & aManifestURL) override; \
  NS_IMETHOD GetLocalId(uint32_t *aLocalId) override; \
  NS_IMETHOD GetBasePath(nsAString & aBasePath) override; \
  NS_IMETHOD GetName(nsAString & aName) override; \
  NS_IMETHOD GetCsp(nsAString & aCsp) override; \
  NS_IMETHOD GetStoreID(nsAString & aStoreID) override; \
  NS_IMETHOD GetStoreVersion(uint32_t *aStoreVersion) override; \
  NS_IMETHOD GetRole(nsAString & aRole) override; \
  NS_IMETHOD GetKind(nsAString & aKind) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZIAPPLICATION(_to) \
  NS_IMETHOD HasPermission(const char * permission, bool *_retval) override { return _to HasPermission(permission, _retval); } \
  NS_IMETHOD HasWidgetPage(const nsAString & pageURL, bool *_retval) override { return _to HasWidgetPage(pageURL, _retval); } \
  NS_IMETHOD GetAppStatus(uint16_t *aAppStatus) override { return _to GetAppStatus(aAppStatus); } \
  NS_IMETHOD GetId(nsAString & aId) override { return _to GetId(aId); } \
  NS_IMETHOD GetOrigin(nsAString & aOrigin) override { return _to GetOrigin(aOrigin); } \
  NS_IMETHOD GetManifestURL(nsAString & aManifestURL) override { return _to GetManifestURL(aManifestURL); } \
  NS_IMETHOD GetLocalId(uint32_t *aLocalId) override { return _to GetLocalId(aLocalId); } \
  NS_IMETHOD GetBasePath(nsAString & aBasePath) override { return _to GetBasePath(aBasePath); } \
  NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
  NS_IMETHOD GetCsp(nsAString & aCsp) override { return _to GetCsp(aCsp); } \
  NS_IMETHOD GetStoreID(nsAString & aStoreID) override { return _to GetStoreID(aStoreID); } \
  NS_IMETHOD GetStoreVersion(uint32_t *aStoreVersion) override { return _to GetStoreVersion(aStoreVersion); } \
  NS_IMETHOD GetRole(nsAString & aRole) override { return _to GetRole(aRole); } \
  NS_IMETHOD GetKind(nsAString & aKind) override { return _to GetKind(aKind); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZIAPPLICATION(_to) \
  NS_IMETHOD HasPermission(const char * permission, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasPermission(permission, _retval); } \
  NS_IMETHOD HasWidgetPage(const nsAString & pageURL, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasWidgetPage(pageURL, _retval); } \
  NS_IMETHOD GetAppStatus(uint16_t *aAppStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAppStatus(aAppStatus); } \
  NS_IMETHOD GetId(nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
  NS_IMETHOD GetOrigin(nsAString & aOrigin) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrigin(aOrigin); } \
  NS_IMETHOD GetManifestURL(nsAString & aManifestURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetManifestURL(aManifestURL); } \
  NS_IMETHOD GetLocalId(uint32_t *aLocalId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalId(aLocalId); } \
  NS_IMETHOD GetBasePath(nsAString & aBasePath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBasePath(aBasePath); } \
  NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_IMETHOD GetCsp(nsAString & aCsp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCsp(aCsp); } \
  NS_IMETHOD GetStoreID(nsAString & aStoreID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStoreID(aStoreID); } \
  NS_IMETHOD GetStoreVersion(uint32_t *aStoreVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStoreVersion(aStoreVersion); } \
  NS_IMETHOD GetRole(nsAString & aRole) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRole(aRole); } \
  NS_IMETHOD GetKind(nsAString & aKind) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKind(aKind); } 

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

/* Header file */
class _MYCLASS_ : public mozIApplication
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZIAPPLICATION

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* boolean hasPermission (in string permission); */
NS_IMETHODIMP _MYCLASS_::HasPermission(const char * permission, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean hasWidgetPage (in DOMString pageURL); */
NS_IMETHODIMP _MYCLASS_::HasWidgetPage(const nsAString & pageURL, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned short appStatus; */
NS_IMETHODIMP _MYCLASS_::GetAppStatus(uint16_t *aAppStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString id; */
NS_IMETHODIMP _MYCLASS_::GetId(nsAString & aId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString origin; */
NS_IMETHODIMP _MYCLASS_::GetOrigin(nsAString & aOrigin)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString manifestURL; */
NS_IMETHODIMP _MYCLASS_::GetManifestURL(nsAString & aManifestURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long localId; */
NS_IMETHODIMP _MYCLASS_::GetLocalId(uint32_t *aLocalId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString basePath; */
NS_IMETHODIMP _MYCLASS_::GetBasePath(nsAString & aBasePath)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString name; */
NS_IMETHODIMP _MYCLASS_::GetName(nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString csp; */
NS_IMETHODIMP _MYCLASS_::GetCsp(nsAString & aCsp)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString storeID; */
NS_IMETHODIMP _MYCLASS_::GetStoreID(nsAString & aStoreID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long storeVersion; */
NS_IMETHODIMP _MYCLASS_::GetStoreVersion(uint32_t *aStoreVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString role; */
NS_IMETHODIMP _MYCLASS_::GetRole(nsAString & aRole)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString kind; */
NS_IMETHODIMP _MYCLASS_::GetKind(nsAString & aKind)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_mozIApplication_h__ */