This file is indexed.

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

#ifndef __gen_nsIControllers_h__
#define __gen_nsIControllers_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 nsIController; /* forward declaration */

class nsIDOMXULCommandDispatcher; /* forward declaration */


/* starting interface:    nsIControllers */
#define NS_ICONTROLLERS_IID_STR "f36e3ec1-9197-4ad8-8d4c-d3b1927fd6df"

#define NS_ICONTROLLERS_IID \
  {0xf36e3ec1, 0x9197, 0x4ad8, \
    { 0x8d, 0x4c, 0xd3, 0xb1, 0x92, 0x7f, 0xd6, 0xdf }}

class NS_NO_VTABLE nsIControllers : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTROLLERS_IID)

  /* nsIController getControllerForCommand (in string command); */
  NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval) = 0;

  /* void insertControllerAt (in unsigned long index, in nsIController controller); */
  NS_IMETHOD InsertControllerAt(uint32_t index, nsIController *controller) = 0;

  /* nsIController removeControllerAt (in unsigned long index); */
  NS_IMETHOD RemoveControllerAt(uint32_t index, nsIController * *_retval) = 0;

  /* nsIController getControllerAt (in unsigned long index); */
  NS_IMETHOD GetControllerAt(uint32_t index, nsIController * *_retval) = 0;

  /* void appendController (in nsIController controller); */
  NS_IMETHOD AppendController(nsIController *controller) = 0;

  /* void removeController (in nsIController controller); */
  NS_IMETHOD RemoveController(nsIController *controller) = 0;

  /* unsigned long getControllerId (in nsIController controller); */
  NS_IMETHOD GetControllerId(nsIController *controller, uint32_t *_retval) = 0;

  /* nsIController getControllerById (in unsigned long controllerID); */
  NS_IMETHOD GetControllerById(uint32_t controllerID, nsIController * *_retval) = 0;

  /* unsigned long getControllerCount (); */
  NS_IMETHOD GetControllerCount(uint32_t *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIControllers, NS_ICONTROLLERS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICONTROLLERS \
  NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval) override; \
  NS_IMETHOD InsertControllerAt(uint32_t index, nsIController *controller) override; \
  NS_IMETHOD RemoveControllerAt(uint32_t index, nsIController * *_retval) override; \
  NS_IMETHOD GetControllerAt(uint32_t index, nsIController * *_retval) override; \
  NS_IMETHOD AppendController(nsIController *controller) override; \
  NS_IMETHOD RemoveController(nsIController *controller) override; \
  NS_IMETHOD GetControllerId(nsIController *controller, uint32_t *_retval) override; \
  NS_IMETHOD GetControllerById(uint32_t controllerID, nsIController * *_retval) override; \
  NS_IMETHOD GetControllerCount(uint32_t *_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_NSICONTROLLERS \
  NS_METHOD GetControllerForCommand(const char * command, nsIController * *_retval); \
  NS_METHOD InsertControllerAt(uint32_t index, nsIController *controller); \
  NS_METHOD RemoveControllerAt(uint32_t index, nsIController * *_retval); \
  NS_METHOD GetControllerAt(uint32_t index, nsIController * *_retval); \
  NS_METHOD AppendController(nsIController *controller); \
  NS_METHOD RemoveController(nsIController *controller); \
  NS_METHOD GetControllerId(nsIController *controller, uint32_t *_retval); \
  NS_METHOD GetControllerById(uint32_t controllerID, nsIController * *_retval); \
  NS_METHOD GetControllerCount(uint32_t *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICONTROLLERS(_to) \
  NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval) override { return _to GetControllerForCommand(command, _retval); } \
  NS_IMETHOD InsertControllerAt(uint32_t index, nsIController *controller) override { return _to InsertControllerAt(index, controller); } \
  NS_IMETHOD RemoveControllerAt(uint32_t index, nsIController * *_retval) override { return _to RemoveControllerAt(index, _retval); } \
  NS_IMETHOD GetControllerAt(uint32_t index, nsIController * *_retval) override { return _to GetControllerAt(index, _retval); } \
  NS_IMETHOD AppendController(nsIController *controller) override { return _to AppendController(controller); } \
  NS_IMETHOD RemoveController(nsIController *controller) override { return _to RemoveController(controller); } \
  NS_IMETHOD GetControllerId(nsIController *controller, uint32_t *_retval) override { return _to GetControllerId(controller, _retval); } \
  NS_IMETHOD GetControllerById(uint32_t controllerID, nsIController * *_retval) override { return _to GetControllerById(controllerID, _retval); } \
  NS_IMETHOD GetControllerCount(uint32_t *_retval) override { return _to GetControllerCount(_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_NSICONTROLLERS(_to) \
  NS_IMETHOD GetControllerForCommand(const char * command, nsIController * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerForCommand(command, _retval); } \
  NS_IMETHOD InsertControllerAt(uint32_t index, nsIController *controller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertControllerAt(index, controller); } \
  NS_IMETHOD RemoveControllerAt(uint32_t index, nsIController * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveControllerAt(index, _retval); } \
  NS_IMETHOD GetControllerAt(uint32_t index, nsIController * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerAt(index, _retval); } \
  NS_IMETHOD AppendController(nsIController *controller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendController(controller); } \
  NS_IMETHOD RemoveController(nsIController *controller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveController(controller); } \
  NS_IMETHOD GetControllerId(nsIController *controller, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerId(controller, _retval); } \
  NS_IMETHOD GetControllerById(uint32_t controllerID, nsIController * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerById(controllerID, _retval); } \
  NS_IMETHOD GetControllerCount(uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllerCount(_retval); } 

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

/* Header file */
class nsControllers : public nsIControllers
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICONTROLLERS

  nsControllers();

private:
  ~nsControllers();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsControllers, nsIControllers)

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

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

/* nsIController getControllerForCommand (in string command); */
NS_IMETHODIMP nsControllers::GetControllerForCommand(const char * command, nsIController * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void insertControllerAt (in unsigned long index, in nsIController controller); */
NS_IMETHODIMP nsControllers::InsertControllerAt(uint32_t index, nsIController *controller)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIController removeControllerAt (in unsigned long index); */
NS_IMETHODIMP nsControllers::RemoveControllerAt(uint32_t index, nsIController * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIController getControllerAt (in unsigned long index); */
NS_IMETHODIMP nsControllers::GetControllerAt(uint32_t index, nsIController * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void appendController (in nsIController controller); */
NS_IMETHODIMP nsControllers::AppendController(nsIController *controller)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeController (in nsIController controller); */
NS_IMETHODIMP nsControllers::RemoveController(nsIController *controller)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long getControllerId (in nsIController controller); */
NS_IMETHODIMP nsControllers::GetControllerId(nsIController *controller, uint32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIController getControllerById (in unsigned long controllerID); */
NS_IMETHODIMP nsControllers::GetControllerById(uint32_t controllerID, nsIController * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long getControllerCount (); */
NS_IMETHODIMP nsControllers::GetControllerCount(uint32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIControllers_h__ */