/usr/include/thunderbird-11.0.1/xpcjsid.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/js/xpconnect/idl/xpcjsid.idl
*/
#ifndef __gen_xpcjsid_h__
#define __gen_xpcjsid_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "jspubtd.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 "baedc96a-9cee-4b6b-9160-90d257b3c8ef"
#define NS_IJSID_IID \
{0xbaedc96a, 0x9cee, 0x4b6b, \
{ 0x91, 0x60, 0x90, 0xd2, 0x57, 0xb3, 0xc8, 0xef }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIJSID : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSID_IID)
/* readonly attribute string name; */
NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) = 0;
/* readonly attribute string number; */
NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) = 0;
/* readonly attribute boolean valid; */
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) = 0;
/* boolean equals (in nsIJSID other); */
NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) = 0;
/* void initialize (in string idString); */
NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) = 0;
/* string toString (); */
NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) = 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_SCRIPTABLE NS_IMETHOD GetName(char * *aName); \
NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber); \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid); \
NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString); \
NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM); \
NS_IMETHOD_(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_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return _to GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) { return _to GetNumber(aNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return _to GetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) { return _to Equals(other, _retval); } \
NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) { return _to Initialize(idString); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return _to ToString(_retval); } \
NS_IMETHOD_(const nsID *) GetID(void) { 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_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetNumber(char * *aNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumber(aNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD Equals(nsIJSID *other, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Equals(other, _retval); } \
NS_SCRIPTABLE NS_IMETHOD Initialize(const char * idString) { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(idString); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
NS_IMETHOD_(const nsID *) GetID(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(); }
#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_ISUPPORTS1(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 NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void initialize (in string idString); */
NS_IMETHODIMP nsJSID::Initialize(const char * idString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string toString (); */
NS_IMETHODIMP nsJSID::ToString(char * *_retval NS_OUTPARAM)
{
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 NS_SCRIPTABLE 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 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_ISUPPORTS1(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 NS_SCRIPTABLE nsIJSCID : public nsIJSID {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSCID_IID)
/* [implicit_jscontext,optional_argc] jsval createInstance ([optional] in jsval iid); */
NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) = 0;
/* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) = 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_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIJSCID(_to) \
NS_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return _to CreateInstance(iid, cx, _argc, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { 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_SCRIPTABLE NS_IMETHOD CreateInstance(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstance(iid, cx, _argc, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM) { 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_ISUPPORTS1(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(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext,optional_argc] jsval getService ([optional] in jsval iid); */
NS_IMETHODIMP nsJSCID::GetService(const JS::Value & iid, JSContext* cx, PRUint8 _argc, JS::Value *_retval NS_OUTPARAM)
{
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__ */
|