This file is indexed.

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

#ifndef __gen_nsISystemMessagesInternal_h__
#define __gen_nsISystemMessagesInternal_h__


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

#include "js/Value.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */

class nsIDOMWindow; /* forward declaration */

class nsIMessageSender; /* forward declaration */


/* starting interface:    nsISystemMessagesInternal */
#define NS_ISYSTEMMESSAGESINTERNAL_IID_STR "54c8e274-decb-4258-9a24-4ebfcbf3d00a"

#define NS_ISYSTEMMESSAGESINTERNAL_IID \
  {0x54c8e274, 0xdecb, 0x4258, \
    { 0x9a, 0x24, 0x4e, 0xbf, 0xcb, 0xf3, 0xd0, 0x0a }}

class NS_NO_VTABLE nsISystemMessagesInternal : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMMESSAGESINTERNAL_IID)

  /* nsISupports sendMessage (in DOMString type, in jsval message, in nsIURI pageURI, in nsIURI manifestURI, [optional] in jsval extra); */
  NS_IMETHOD SendMessage(const nsAString & type, JS::HandleValue message, nsIURI *pageURI, nsIURI *manifestURI, JS::HandleValue extra, nsISupports * *_retval) = 0;

  /* void broadcastMessage (in DOMString type, in jsval message, [optional] in jsval extra); */
  NS_IMETHOD BroadcastMessage(const nsAString & type, JS::HandleValue message, JS::HandleValue extra) = 0;

  /* void registerPage (in DOMString type, in nsIURI pageURI, in nsIURI manifestURI); */
  NS_IMETHOD RegisterPage(const nsAString & type, nsIURI *pageURI, nsIURI *manifestURI) = 0;

  /* void refreshCache (in nsIMessageSender childMM, in nsIURI manifestURI); */
  NS_IMETHOD RefreshCache(nsIMessageSender *childMM, nsIURI *manifestURI) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemMessagesInternal, NS_ISYSTEMMESSAGESINTERNAL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISYSTEMMESSAGESINTERNAL \
  NS_IMETHOD SendMessage(const nsAString & type, JS::HandleValue message, nsIURI *pageURI, nsIURI *manifestURI, JS::HandleValue extra, nsISupports * *_retval) override; \
  NS_IMETHOD BroadcastMessage(const nsAString & type, JS::HandleValue message, JS::HandleValue extra) override; \
  NS_IMETHOD RegisterPage(const nsAString & type, nsIURI *pageURI, nsIURI *manifestURI) override; \
  NS_IMETHOD RefreshCache(nsIMessageSender *childMM, nsIURI *manifestURI) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISYSTEMMESSAGESINTERNAL(_to) \
  NS_IMETHOD SendMessage(const nsAString & type, JS::HandleValue message, nsIURI *pageURI, nsIURI *manifestURI, JS::HandleValue extra, nsISupports * *_retval) override { return _to SendMessage(type, message, pageURI, manifestURI, extra, _retval); } \
  NS_IMETHOD BroadcastMessage(const nsAString & type, JS::HandleValue message, JS::HandleValue extra) override { return _to BroadcastMessage(type, message, extra); } \
  NS_IMETHOD RegisterPage(const nsAString & type, nsIURI *pageURI, nsIURI *manifestURI) override { return _to RegisterPage(type, pageURI, manifestURI); } \
  NS_IMETHOD RefreshCache(nsIMessageSender *childMM, nsIURI *manifestURI) override { return _to RefreshCache(childMM, manifestURI); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISYSTEMMESSAGESINTERNAL(_to) \
  NS_IMETHOD SendMessage(const nsAString & type, JS::HandleValue message, nsIURI *pageURI, nsIURI *manifestURI, JS::HandleValue extra, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SendMessage(type, message, pageURI, manifestURI, extra, _retval); } \
  NS_IMETHOD BroadcastMessage(const nsAString & type, JS::HandleValue message, JS::HandleValue extra) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BroadcastMessage(type, message, extra); } \
  NS_IMETHOD RegisterPage(const nsAString & type, nsIURI *pageURI, nsIURI *manifestURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterPage(type, pageURI, manifestURI); } \
  NS_IMETHOD RefreshCache(nsIMessageSender *childMM, nsIURI *manifestURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshCache(childMM, manifestURI); } 

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

/* Header file */
class nsSystemMessagesInternal : public nsISystemMessagesInternal
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISYSTEMMESSAGESINTERNAL

  nsSystemMessagesInternal();

private:
  ~nsSystemMessagesInternal();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSystemMessagesInternal, nsISystemMessagesInternal)

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

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

/* nsISupports sendMessage (in DOMString type, in jsval message, in nsIURI pageURI, in nsIURI manifestURI, [optional] in jsval extra); */
NS_IMETHODIMP nsSystemMessagesInternal::SendMessage(const nsAString & type, JS::HandleValue message, nsIURI *pageURI, nsIURI *manifestURI, JS::HandleValue extra, nsISupports * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void broadcastMessage (in DOMString type, in jsval message, [optional] in jsval extra); */
NS_IMETHODIMP nsSystemMessagesInternal::BroadcastMessage(const nsAString & type, JS::HandleValue message, JS::HandleValue extra)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void registerPage (in DOMString type, in nsIURI pageURI, in nsIURI manifestURI); */
NS_IMETHODIMP nsSystemMessagesInternal::RegisterPage(const nsAString & type, nsIURI *pageURI, nsIURI *manifestURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshCache (in nsIMessageSender childMM, in nsIURI manifestURI); */
NS_IMETHODIMP nsSystemMessagesInternal::RefreshCache(nsIMessageSender *childMM, nsIURI *manifestURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsISystemMessagesWrapper */
#define NS_ISYSTEMMESSAGESWRAPPER_IID_STR "002f0e82-91f0-41de-ad43-569a2b9d12df"

#define NS_ISYSTEMMESSAGESWRAPPER_IID \
  {0x002f0e82, 0x91f0, 0x41de, \
    { 0xad, 0x43, 0x56, 0x9a, 0x2b, 0x9d, 0x12, 0xdf }}

class NS_NO_VTABLE nsISystemMessagesWrapper : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMMESSAGESWRAPPER_IID)

  /* jsval wrapMessage (in jsval message, in nsIDOMWindow window); */
  NS_IMETHOD WrapMessage(JS::HandleValue message, nsIDOMWindow *window, JS::MutableHandleValue _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemMessagesWrapper, NS_ISYSTEMMESSAGESWRAPPER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISYSTEMMESSAGESWRAPPER \
  NS_IMETHOD WrapMessage(JS::HandleValue message, nsIDOMWindow *window, JS::MutableHandleValue _retval) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISYSTEMMESSAGESWRAPPER(_to) \
  NS_IMETHOD WrapMessage(JS::HandleValue message, nsIDOMWindow *window, JS::MutableHandleValue _retval) override { return _to WrapMessage(message, window, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISYSTEMMESSAGESWRAPPER(_to) \
  NS_IMETHOD WrapMessage(JS::HandleValue message, nsIDOMWindow *window, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->WrapMessage(message, window, _retval); } 

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

/* Header file */
class nsSystemMessagesWrapper : public nsISystemMessagesWrapper
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISYSTEMMESSAGESWRAPPER

  nsSystemMessagesWrapper();

private:
  ~nsSystemMessagesWrapper();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSystemMessagesWrapper, nsISystemMessagesWrapper)

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

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

/* jsval wrapMessage (in jsval message, in nsIDOMWindow window); */
NS_IMETHODIMP nsSystemMessagesWrapper::WrapMessage(JS::HandleValue message, nsIDOMWindow *window, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsISystemMessagesConfigurator */
#define NS_ISYSTEMMESSAGESCONFIGURATOR_IID_STR "31b78730-21c6-11e4-8c21-0800200c9a66"

#define NS_ISYSTEMMESSAGESCONFIGURATOR_IID \
  {0x31b78730, 0x21c6, 0x11e4, \
    { 0x8c, 0x21, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}

class NS_NO_VTABLE nsISystemMessagesConfigurator : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMMESSAGESCONFIGURATOR_IID)

  /* readonly attribute boolean mustShowRunningApp; */
  NS_IMETHOD GetMustShowRunningApp(bool *aMustShowRunningApp) = 0;

  /* jsval shouldDispatch (in DOMString manifestURL, in DOMString pageURL, in DOMString type, in jsval message, [optional] in jsval extra); */
  NS_IMETHOD ShouldDispatch(const nsAString & manifestURL, const nsAString & pageURL, const nsAString & type, JS::HandleValue message, JS::HandleValue extra, JS::MutableHandleValue _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemMessagesConfigurator, NS_ISYSTEMMESSAGESCONFIGURATOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISYSTEMMESSAGESCONFIGURATOR \
  NS_IMETHOD GetMustShowRunningApp(bool *aMustShowRunningApp) override; \
  NS_IMETHOD ShouldDispatch(const nsAString & manifestURL, const nsAString & pageURL, const nsAString & type, JS::HandleValue message, JS::HandleValue extra, JS::MutableHandleValue _retval) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISYSTEMMESSAGESCONFIGURATOR(_to) \
  NS_IMETHOD GetMustShowRunningApp(bool *aMustShowRunningApp) override { return _to GetMustShowRunningApp(aMustShowRunningApp); } \
  NS_IMETHOD ShouldDispatch(const nsAString & manifestURL, const nsAString & pageURL, const nsAString & type, JS::HandleValue message, JS::HandleValue extra, JS::MutableHandleValue _retval) override { return _to ShouldDispatch(manifestURL, pageURL, type, message, extra, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISYSTEMMESSAGESCONFIGURATOR(_to) \
  NS_IMETHOD GetMustShowRunningApp(bool *aMustShowRunningApp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMustShowRunningApp(aMustShowRunningApp); } \
  NS_IMETHOD ShouldDispatch(const nsAString & manifestURL, const nsAString & pageURL, const nsAString & type, JS::HandleValue message, JS::HandleValue extra, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShouldDispatch(manifestURL, pageURL, type, message, extra, _retval); } 

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

/* Header file */
class nsSystemMessagesConfigurator : public nsISystemMessagesConfigurator
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISYSTEMMESSAGESCONFIGURATOR

  nsSystemMessagesConfigurator();

private:
  ~nsSystemMessagesConfigurator();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSystemMessagesConfigurator, nsISystemMessagesConfigurator)

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

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

/* readonly attribute boolean mustShowRunningApp; */
NS_IMETHODIMP nsSystemMessagesConfigurator::GetMustShowRunningApp(bool *aMustShowRunningApp)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* jsval shouldDispatch (in DOMString manifestURL, in DOMString pageURL, in DOMString type, in jsval message, [optional] in jsval extra); */
NS_IMETHODIMP nsSystemMessagesConfigurator::ShouldDispatch(const nsAString & manifestURL, const nsAString & pageURL, const nsAString & type, JS::HandleValue message, JS::HandleValue extra, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsISystemMessagesInternal_h__ */