/usr/include/thunderbird/nsINeighboringCellInfo.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsINeighboringCellInfo.idl
*/
#ifndef __gen_nsINeighboringCellInfo_h__
#define __gen_nsINeighboringCellInfo_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 nsINeighboringCellInfo; /* forward declaration */
/* starting interface: nsINeighboringCellIdsCallback */
#define NS_INEIGHBORINGCELLIDSCALLBACK_IID_STR "0941cb79-36e5-41e0-b05f-cdb854c53f03"
#define NS_INEIGHBORINGCELLIDSCALLBACK_IID \
{0x0941cb79, 0x36e5, 0x41e0, \
{ 0xb0, 0x5f, 0xcd, 0xb8, 0x54, 0xc5, 0x3f, 0x03 }}
class NS_NO_VTABLE nsINeighboringCellIdsCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_INEIGHBORINGCELLIDSCALLBACK_IID)
/* void notifyGetNeighboringCellIds (in uint32_t count, [array, size_is (count)] in nsINeighboringCellInfo result); */
NS_IMETHOD NotifyGetNeighboringCellIds(uint32_t count, nsINeighboringCellInfo **result) = 0;
/* void notifyGetNeighboringCellIdsFailed (in DOMString error); */
NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsINeighboringCellIdsCallback, NS_INEIGHBORINGCELLIDSCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINEIGHBORINGCELLIDSCALLBACK \
NS_IMETHOD NotifyGetNeighboringCellIds(uint32_t count, nsINeighboringCellInfo **result) override; \
NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINEIGHBORINGCELLIDSCALLBACK(_to) \
NS_IMETHOD NotifyGetNeighboringCellIds(uint32_t count, nsINeighboringCellInfo **result) override { return _to NotifyGetNeighboringCellIds(count, result); } \
NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) override { return _to NotifyGetNeighboringCellIdsFailed(error); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINEIGHBORINGCELLIDSCALLBACK(_to) \
NS_IMETHOD NotifyGetNeighboringCellIds(uint32_t count, nsINeighboringCellInfo **result) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyGetNeighboringCellIds(count, result); } \
NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyGetNeighboringCellIdsFailed(error); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsNeighboringCellIdsCallback : public nsINeighboringCellIdsCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSINEIGHBORINGCELLIDSCALLBACK
nsNeighboringCellIdsCallback();
private:
~nsNeighboringCellIdsCallback();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsNeighboringCellIdsCallback, nsINeighboringCellIdsCallback)
nsNeighboringCellIdsCallback::nsNeighboringCellIdsCallback()
{
/* member initializers and constructor code */
}
nsNeighboringCellIdsCallback::~nsNeighboringCellIdsCallback()
{
/* destructor code */
}
/* void notifyGetNeighboringCellIds (in uint32_t count, [array, size_is (count)] in nsINeighboringCellInfo result); */
NS_IMETHODIMP nsNeighboringCellIdsCallback::NotifyGetNeighboringCellIds(uint32_t count, nsINeighboringCellInfo **result)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void notifyGetNeighboringCellIdsFailed (in DOMString error); */
NS_IMETHODIMP nsNeighboringCellIdsCallback::NotifyGetNeighboringCellIdsFailed(const nsAString & error)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsINeighboringCellInfo */
#define NS_INEIGHBORINGCELLINFO_IID_STR "87dc222e-abb3-4342-95bf-626aa19fa20e"
#define NS_INEIGHBORINGCELLINFO_IID \
{0x87dc222e, 0xabb3, 0x4342, \
{ 0x95, 0xbf, 0x62, 0x6a, 0xa1, 0x9f, 0xa2, 0x0e }}
class NS_NO_VTABLE nsINeighboringCellInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_INEIGHBORINGCELLINFO_IID)
/* readonly attribute DOMString networkType; */
NS_IMETHOD GetNetworkType(nsAString & aNetworkType) = 0;
/* readonly attribute long gsmLocationAreaCode; */
NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) = 0;
/* readonly attribute long long gsmCellId; */
NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) = 0;
/* readonly attribute long wcdmaPsc; */
NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) = 0;
/* readonly attribute long signalStrength; */
NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsINeighboringCellInfo, NS_INEIGHBORINGCELLINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINEIGHBORINGCELLINFO \
NS_IMETHOD GetNetworkType(nsAString & aNetworkType) override; \
NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) override; \
NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) override; \
NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) override; \
NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINEIGHBORINGCELLINFO(_to) \
NS_IMETHOD GetNetworkType(nsAString & aNetworkType) override { return _to GetNetworkType(aNetworkType); } \
NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) override { return _to GetGsmLocationAreaCode(aGsmLocationAreaCode); } \
NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) override { return _to GetGsmCellId(aGsmCellId); } \
NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) override { return _to GetWcdmaPsc(aWcdmaPsc); } \
NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) override { return _to GetSignalStrength(aSignalStrength); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINEIGHBORINGCELLINFO(_to) \
NS_IMETHOD GetNetworkType(nsAString & aNetworkType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNetworkType(aNetworkType); } \
NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGsmLocationAreaCode(aGsmLocationAreaCode); } \
NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGsmCellId(aGsmCellId); } \
NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWcdmaPsc(aWcdmaPsc); } \
NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignalStrength(aSignalStrength); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsNeighboringCellInfo : public nsINeighboringCellInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSINEIGHBORINGCELLINFO
nsNeighboringCellInfo();
private:
~nsNeighboringCellInfo();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsNeighboringCellInfo, nsINeighboringCellInfo)
nsNeighboringCellInfo::nsNeighboringCellInfo()
{
/* member initializers and constructor code */
}
nsNeighboringCellInfo::~nsNeighboringCellInfo()
{
/* destructor code */
}
/* readonly attribute DOMString networkType; */
NS_IMETHODIMP nsNeighboringCellInfo::GetNetworkType(nsAString & aNetworkType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long gsmLocationAreaCode; */
NS_IMETHODIMP nsNeighboringCellInfo::GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long long gsmCellId; */
NS_IMETHODIMP nsNeighboringCellInfo::GetGsmCellId(int64_t *aGsmCellId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long wcdmaPsc; */
NS_IMETHODIMP nsNeighboringCellInfo::GetWcdmaPsc(int32_t *aWcdmaPsc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long signalStrength; */
NS_IMETHODIMP nsNeighboringCellInfo::GetSignalStrength(int32_t *aSignalStrength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsINeighboringCellInfo_h__ */
|