This file is indexed.

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

#ifndef __gen_nsIMobileConnectionInfo_h__
#define __gen_nsIMobileConnectionInfo_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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 nsIMobileCellInfo; /* forward declaration */

class nsIMobileNetworkInfo; /* forward declaration */


/* starting interface:    nsIMobileConnectionInfo */
#define NS_IMOBILECONNECTIONINFO_IID_STR "d5208e13-42dc-4dce-9427-2572fa252751"

#define NS_IMOBILECONNECTIONINFO_IID \
  {0xd5208e13, 0x42dc, 0x4dce, \
    { 0x94, 0x27, 0x25, 0x72, 0xfa, 0x25, 0x27, 0x51 }}

class NS_NO_VTABLE nsIMobileConnectionInfo : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMOBILECONNECTIONINFO_IID)

  /* readonly attribute DOMString state; */
  NS_IMETHOD GetState(nsAString & aState) = 0;

  /* readonly attribute bool connected; */
  NS_IMETHOD GetConnected(bool *aConnected) = 0;

  /* readonly attribute bool emergencyCallsOnly; */
  NS_IMETHOD GetEmergencyCallsOnly(bool *aEmergencyCallsOnly) = 0;

  /* readonly attribute bool roaming; */
  NS_IMETHOD GetRoaming(bool *aRoaming) = 0;

  /* readonly attribute nsIMobileNetworkInfo network; */
  NS_IMETHOD GetNetwork(nsIMobileNetworkInfo * *aNetwork) = 0;

  /* readonly attribute DOMString type; */
  NS_IMETHOD GetType(nsAString & aType) = 0;

  /* readonly attribute jsval signalStrength; */
  NS_IMETHOD GetSignalStrength(JS::MutableHandleValue aSignalStrength) = 0;

  /* readonly attribute jsval relSignalStrength; */
  NS_IMETHOD GetRelSignalStrength(JS::MutableHandleValue aRelSignalStrength) = 0;

  /* readonly attribute nsIMobileCellInfo cell; */
  NS_IMETHOD GetCell(nsIMobileCellInfo * *aCell) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMobileConnectionInfo, NS_IMOBILECONNECTIONINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMOBILECONNECTIONINFO \
  NS_IMETHOD GetState(nsAString & aState) override; \
  NS_IMETHOD GetConnected(bool *aConnected) override; \
  NS_IMETHOD GetEmergencyCallsOnly(bool *aEmergencyCallsOnly) override; \
  NS_IMETHOD GetRoaming(bool *aRoaming) override; \
  NS_IMETHOD GetNetwork(nsIMobileNetworkInfo * *aNetwork) override; \
  NS_IMETHOD GetType(nsAString & aType) override; \
  NS_IMETHOD GetSignalStrength(JS::MutableHandleValue aSignalStrength) override; \
  NS_IMETHOD GetRelSignalStrength(JS::MutableHandleValue aRelSignalStrength) override; \
  NS_IMETHOD GetCell(nsIMobileCellInfo * *aCell) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMOBILECONNECTIONINFO(_to) \
  NS_IMETHOD GetState(nsAString & aState) override { return _to GetState(aState); } \
  NS_IMETHOD GetConnected(bool *aConnected) override { return _to GetConnected(aConnected); } \
  NS_IMETHOD GetEmergencyCallsOnly(bool *aEmergencyCallsOnly) override { return _to GetEmergencyCallsOnly(aEmergencyCallsOnly); } \
  NS_IMETHOD GetRoaming(bool *aRoaming) override { return _to GetRoaming(aRoaming); } \
  NS_IMETHOD GetNetwork(nsIMobileNetworkInfo * *aNetwork) override { return _to GetNetwork(aNetwork); } \
  NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
  NS_IMETHOD GetSignalStrength(JS::MutableHandleValue aSignalStrength) override { return _to GetSignalStrength(aSignalStrength); } \
  NS_IMETHOD GetRelSignalStrength(JS::MutableHandleValue aRelSignalStrength) override { return _to GetRelSignalStrength(aRelSignalStrength); } \
  NS_IMETHOD GetCell(nsIMobileCellInfo * *aCell) override { return _to GetCell(aCell); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMOBILECONNECTIONINFO(_to) \
  NS_IMETHOD GetState(nsAString & aState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
  NS_IMETHOD GetConnected(bool *aConnected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConnected(aConnected); } \
  NS_IMETHOD GetEmergencyCallsOnly(bool *aEmergencyCallsOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmergencyCallsOnly(aEmergencyCallsOnly); } \
  NS_IMETHOD GetRoaming(bool *aRoaming) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRoaming(aRoaming); } \
  NS_IMETHOD GetNetwork(nsIMobileNetworkInfo * *aNetwork) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNetwork(aNetwork); } \
  NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD GetSignalStrength(JS::MutableHandleValue aSignalStrength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignalStrength(aSignalStrength); } \
  NS_IMETHOD GetRelSignalStrength(JS::MutableHandleValue aRelSignalStrength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelSignalStrength(aRelSignalStrength); } \
  NS_IMETHOD GetCell(nsIMobileCellInfo * *aCell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCell(aCell); } 

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

/* Header file */
class nsMobileConnectionInfo : public nsIMobileConnectionInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMOBILECONNECTIONINFO

  nsMobileConnectionInfo();

private:
  ~nsMobileConnectionInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMobileConnectionInfo, nsIMobileConnectionInfo)

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

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

/* readonly attribute DOMString state; */
NS_IMETHODIMP nsMobileConnectionInfo::GetState(nsAString & aState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute bool connected; */
NS_IMETHODIMP nsMobileConnectionInfo::GetConnected(bool *aConnected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute bool emergencyCallsOnly; */
NS_IMETHODIMP nsMobileConnectionInfo::GetEmergencyCallsOnly(bool *aEmergencyCallsOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute bool roaming; */
NS_IMETHODIMP nsMobileConnectionInfo::GetRoaming(bool *aRoaming)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMobileNetworkInfo network; */
NS_IMETHODIMP nsMobileConnectionInfo::GetNetwork(nsIMobileNetworkInfo * *aNetwork)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString type; */
NS_IMETHODIMP nsMobileConnectionInfo::GetType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute jsval signalStrength; */
NS_IMETHODIMP nsMobileConnectionInfo::GetSignalStrength(JS::MutableHandleValue aSignalStrength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute jsval relSignalStrength; */
NS_IMETHODIMP nsMobileConnectionInfo::GetRelSignalStrength(JS::MutableHandleValue aRelSignalStrength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMobileCellInfo cell; */
NS_IMETHODIMP nsMobileConnectionInfo::GetCell(nsIMobileCellInfo * *aCell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMobileConnectionInfo_h__ */