This file is indexed.

/usr/include/thunderbird/nsIMsgShutdown.h is in thunderbird-dev 1:52.8.0-1~deb8u1.

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

#ifndef __gen_nsIMsgShutdown_h__
#define __gen_nsIMsgShutdown_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 nsIUrlListener; /* forward declaration */

class nsIMsgWindow; /* forward declaration */

class nsIWebProgressListener; /* forward declaration */


/* starting interface:    nsIMsgShutdownTask */
#define NS_IMSGSHUTDOWNTASK_IID_STR "d1b43428-b631-4629-b691-ab0e01a2db4b"

#define NS_IMSGSHUTDOWNTASK_IID \
  {0xd1b43428, 0xb631, 0x4629, \
    { 0xb6, 0x91, 0xab, 0x0e, 0x01, 0xa2, 0xdb, 0x4b }}

class NS_NO_VTABLE nsIMsgShutdownTask : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGSHUTDOWNTASK_IID)

  /* readonly attribute boolean needsToRunTask; */
  NS_IMETHOD GetNeedsToRunTask(bool *aNeedsToRunTask) = 0;

  /* boolean doShutdownTask (in nsIUrlListener inUrlListener, in nsIMsgWindow inMsgWindow); */
  NS_IMETHOD DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval) = 0;

  /* AString getCurrentTaskName (); */
  NS_IMETHOD GetCurrentTaskName(nsAString & _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgShutdownTask, NS_IMSGSHUTDOWNTASK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSHUTDOWNTASK \
  NS_IMETHOD GetNeedsToRunTask(bool *aNeedsToRunTask) override; \
  NS_IMETHOD DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval) override; \
  NS_IMETHOD GetCurrentTaskName(nsAString & _retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGSHUTDOWNTASK \
  NS_METHOD GetNeedsToRunTask(bool *aNeedsToRunTask); \
  NS_METHOD DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval); \
  NS_METHOD GetCurrentTaskName(nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSHUTDOWNTASK(_to) \
  NS_IMETHOD GetNeedsToRunTask(bool *aNeedsToRunTask) override { return _to GetNeedsToRunTask(aNeedsToRunTask); } \
  NS_IMETHOD DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval) override { return _to DoShutdownTask(inUrlListener, inMsgWindow, _retval); } \
  NS_IMETHOD GetCurrentTaskName(nsAString & _retval) override { return _to GetCurrentTaskName(_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_NSIMSGSHUTDOWNTASK(_to) \
  NS_IMETHOD GetNeedsToRunTask(bool *aNeedsToRunTask) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNeedsToRunTask(aNeedsToRunTask); } \
  NS_IMETHOD DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoShutdownTask(inUrlListener, inMsgWindow, _retval); } \
  NS_IMETHOD GetCurrentTaskName(nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentTaskName(_retval); } 

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

/* Header file */
class nsMsgShutdownTask : public nsIMsgShutdownTask
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGSHUTDOWNTASK

  nsMsgShutdownTask();

private:
  ~nsMsgShutdownTask();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgShutdownTask, nsIMsgShutdownTask)

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

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

/* readonly attribute boolean needsToRunTask; */
NS_IMETHODIMP nsMsgShutdownTask::GetNeedsToRunTask(bool *aNeedsToRunTask)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean doShutdownTask (in nsIUrlListener inUrlListener, in nsIMsgWindow inMsgWindow); */
NS_IMETHODIMP nsMsgShutdownTask::DoShutdownTask(nsIUrlListener *inUrlListener, nsIMsgWindow *inMsgWindow, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getCurrentTaskName (); */
NS_IMETHODIMP nsMsgShutdownTask::GetCurrentTaskName(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMsgShutdownService */
#define NS_IMSGSHUTDOWNSERVICE_IID_STR "483c8abb-ecf9-48a3-a394-2c604b603bd5"

#define NS_IMSGSHUTDOWNSERVICE_IID \
  {0x483c8abb, 0xecf9, 0x48a3, \
    { 0xa3, 0x94, 0x2c, 0x60, 0x4b, 0x60, 0x3b, 0xd5 }}

class NS_NO_VTABLE nsIMsgShutdownService : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGSHUTDOWNSERVICE_IID)

  /* long getNumTasks (); */
  NS_IMETHOD GetNumTasks(int32_t *_retval) = 0;

  /* void startShutdownTasks (); */
  NS_IMETHOD StartShutdownTasks(void) = 0;

  /* void cancelShutdownTasks (); */
  NS_IMETHOD CancelShutdownTasks(void) = 0;

  /* void setShutdownListener (in nsIWebProgressListener inListener); */
  NS_IMETHOD SetShutdownListener(nsIWebProgressListener *inListener) = 0;

  /* void setStatusText (in AString inStatusString); */
  NS_IMETHOD SetStatusText(const nsAString & inStatusString) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgShutdownService, NS_IMSGSHUTDOWNSERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSHUTDOWNSERVICE \
  NS_IMETHOD GetNumTasks(int32_t *_retval) override; \
  NS_IMETHOD StartShutdownTasks(void) override; \
  NS_IMETHOD CancelShutdownTasks(void) override; \
  NS_IMETHOD SetShutdownListener(nsIWebProgressListener *inListener) override; \
  NS_IMETHOD SetStatusText(const nsAString & inStatusString) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGSHUTDOWNSERVICE \
  NS_METHOD GetNumTasks(int32_t *_retval); \
  NS_METHOD StartShutdownTasks(void); \
  NS_METHOD CancelShutdownTasks(void); \
  NS_METHOD SetShutdownListener(nsIWebProgressListener *inListener); \
  NS_METHOD SetStatusText(const nsAString & inStatusString); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSHUTDOWNSERVICE(_to) \
  NS_IMETHOD GetNumTasks(int32_t *_retval) override { return _to GetNumTasks(_retval); } \
  NS_IMETHOD StartShutdownTasks(void) override { return _to StartShutdownTasks(); } \
  NS_IMETHOD CancelShutdownTasks(void) override { return _to CancelShutdownTasks(); } \
  NS_IMETHOD SetShutdownListener(nsIWebProgressListener *inListener) override { return _to SetShutdownListener(inListener); } \
  NS_IMETHOD SetStatusText(const nsAString & inStatusString) override { return _to SetStatusText(inStatusString); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGSHUTDOWNSERVICE(_to) \
  NS_IMETHOD GetNumTasks(int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumTasks(_retval); } \
  NS_IMETHOD StartShutdownTasks(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartShutdownTasks(); } \
  NS_IMETHOD CancelShutdownTasks(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelShutdownTasks(); } \
  NS_IMETHOD SetShutdownListener(nsIWebProgressListener *inListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShutdownListener(inListener); } \
  NS_IMETHOD SetStatusText(const nsAString & inStatusString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusText(inStatusString); } 

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

/* Header file */
class nsMsgShutdownService : public nsIMsgShutdownService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGSHUTDOWNSERVICE

  nsMsgShutdownService();

private:
  ~nsMsgShutdownService();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgShutdownService, nsIMsgShutdownService)

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

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

/* long getNumTasks (); */
NS_IMETHODIMP nsMsgShutdownService::GetNumTasks(int32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void startShutdownTasks (); */
NS_IMETHODIMP nsMsgShutdownService::StartShutdownTasks()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void cancelShutdownTasks (); */
NS_IMETHODIMP nsMsgShutdownService::CancelShutdownTasks()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setShutdownListener (in nsIWebProgressListener inListener); */
NS_IMETHODIMP nsMsgShutdownService::SetShutdownListener(nsIWebProgressListener *inListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setStatusText (in AString inStatusString); */
NS_IMETHODIMP nsMsgShutdownService::SetStatusText(const nsAString & inStatusString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgShutdown_h__ */