/usr/include/thunderbird/xpcjsid.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 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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/xpcjsid.idl
*/
#ifndef __gen_xpcjsid_h__
#define __gen_xpcjsid_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
/* starting interface: nsIJSID */
#define NS_IJSID_IID_STR "62883d14-4146-4039-94f5-a5e1e1a51a15"
#define NS_IJSID_IID \
{0x62883d14, 0x4146, 0x4039, \
{ 0x94, 0xf5, 0xa5, 0xe1, 0xe1, 0xa5, 0x1a, 0x15 }}
class NS_NO_VTABLE nsIJSID : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSID_IID)
/* readonly attribute string name; */
NS_IMETHOD GetName(char * *aName) = 0;
/* readonly attribute string number; */
NS_IMETHOD GetNumber(char * *aNumber) = 0;
/* readonly attribute boolean valid; */
NS_IMETHOD GetValid(bool *aValid) = 0;
/* boolean equals (in nsIJSID other); */
NS_IMETHOD Equals(nsIJSID *other, bool *_retval) = 0;
/* string toString (); */
NS_IMETHOD ToString(char * *_retval) = 0;
/* [noscript] void initialize (in string idString); */
NS_IMETHOD Initialize(const char * idString) = 0;
/* [notxpcom] const_nsID_ptr getID (); */
NS_IMETHOD_(const nsID *) GetID(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSID, NS_IJSID_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIJSID \
NS_IMETHOD GetName(char * *aName) override; \
NS_IMETHOD GetNumber(char * *aNumber) override; \
NS_IMETHOD GetValid(bool *aValid) override; \
NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override; \
NS_IMETHOD ToString(char * *_retval) override; \
NS_IMETHOD Initialize(const char * idString) override; \
NS_IMETHOD_(const nsID *) GetID(void) 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_NSIJSID \
NS_METHOD GetName(char * *aName); \
NS_METHOD GetNumber(char * *aNumber); \
NS_METHOD GetValid(bool *aValid); \
NS_METHOD Equals(nsIJSID *other, bool *_retval); \
NS_METHOD ToString(char * *_retval); \
NS_METHOD Initialize(const char * idString); \
NS_METHOD_(const nsID *) GetID(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIJSID(_to) \
NS_IMETHOD GetName(char * *aName) override { return _to GetName(aName); } \
NS_IMETHOD GetNumber(char * *aNumber) override { return _to GetNumber(aNumber); } \
NS_IMETHOD GetValid(bool *aValid) override { return _to GetValid(aValid); } \
NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override { return _to Equals(other, _retval); } \
NS_IMETHOD ToString(char * *_retval) override { return _to ToString(_retval); } \
NS_IMETHOD Initialize(const char * idString) override { return _to Initialize(idString); } \
NS_IMETHOD_(const nsID *) GetID(void) override { return _to GetID(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIJSID(_to) \
NS_IMETHOD GetName(char * *aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetNumber(char * *aNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumber(aNumber); } \
NS_IMETHOD GetValid(bool *aValid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
NS_IMETHOD Equals(nsIJSID *other, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Equals(other, _retval); } \
NS_IMETHOD ToString(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
NS_IMETHOD Initialize(const char * idString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(idString); } \
NS_IMETHOD_(const nsID *) GetID(void) override;
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsJSID : public nsIJSID
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIJSID
nsJSID();
private:
~nsJSID();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsJSID, nsIJSID)
nsJSID::nsJSID()
{
/* member initializers and constructor code */
}
nsJSID::~nsJSID()
{
/* destructor code */
}
/* readonly attribute string name; */
NS_IMETHODIMP nsJSID::GetName(char * *aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string number; */
NS_IMETHODIMP nsJSID::GetNumber(char * *aNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean valid; */
NS_IMETHODIMP nsJSID::GetValid(bool *aValid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean equals (in nsIJSID other); */
NS_IMETHODIMP nsJSID::Equals(nsIJSID *other, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string toString (); */
NS_IMETHODIMP nsJSID::ToString(char * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void initialize (in string idString); */
NS_IMETHODIMP nsJSID::Initialize(const char * idString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [notxpcom] const_nsID_ptr getID (); */
NS_IMETHODIMP_(const nsID *) nsJSID::GetID()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIJSIID */
#define NS_IJSIID_IID_STR "e76ec564-a080-4705-8609-384c755ec91e"
#define NS_IJSIID_IID \
{0xe76ec564, 0xa080, 0x4705, \
{ 0x86, 0x09, 0x38, 0x4c, 0x75, 0x5e, 0xc9, 0x1e }}
class NS_NO_VTABLE nsIJSIID : public nsIJSID {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSIID_IID)
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSIID, NS_IJSIID_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIJSIID \
/* no methods! */
/* 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_NSIJSIID \
/* no methods! */
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIJSIID(_to) \
/* no methods! */
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIJSIID(_to) \
/* no methods! */
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsJSIID : public nsIJSIID
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIJSIID
nsJSIID();
private:
~nsJSIID();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsJSIID, nsIJSIID)
nsJSIID::nsJSIID()
{
/* member initializers and constructor code */
}
nsJSIID::~nsJSIID()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsIJSCID */
#define NS_IJSCID_IID_STR "bf5eb086-9eaa-4694-aec3-fe4aac6119bd"
#define NS_IJSCID_IID \
{0xbf5eb086, 0x9eaa, 0x4694, \
{ 0xae, 0xc3, 0xfe, 0x4a, 0xac, 0x61, 0x19, 0xbd }}
class NS_NO_VTABLE nsIJSCID : public nsIJSID {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSCID_IID)
/* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) = 0;
/* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSCID, NS_IJSCID_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIJSCID \
NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override; \
NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _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_NSIJSCID \
NS_METHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval); \
NS_METHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIJSCID(_to) \
NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return _to CreateInstance(iid, cx, _argc, _retval); } \
NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return _to GetService(iid, cx, _argc, _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_NSIJSCID(_to) \
NS_IMETHOD CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstance(iid, cx, _argc, _retval); } \
NS_IMETHOD GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetService(iid, cx, _argc, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsJSCID : public nsIJSCID
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIJSCID
nsJSCID();
private:
~nsJSCID();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsJSCID, nsIJSCID)
nsJSCID::nsJSCID()
{
/* member initializers and constructor code */
}
nsJSCID::~nsJSCID()
{
/* destructor code */
}
/* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
NS_IMETHODIMP nsJSCID::CreateInstance(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
NS_IMETHODIMP nsJSCID::GetService(JS::HandleValue iid, JSContext* cx, uint8_t _argc, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/********************************************************/
// {F24A14F0-4FA1-11d3-9894-006008962422}
#define NS_JS_ID_CID \
{ 0xf24a14f0, 0x4fa1, 0x11d3, \
{ 0x98, 0x94, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
#endif /* __gen_xpcjsid_h__ */
|