/usr/include/thunderbird/nsIRDFLiteral.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 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFLiteral.idl
*/
#ifndef __gen_nsIRDFLiteral_h__
#define __gen_nsIRDFLiteral_h__
#ifndef __gen_nsIRDFNode_h__
#include "nsIRDFNode.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
#include "nscore.h" // for char16_t
/* starting interface: nsIRDFLiteral */
#define NS_IRDFLITERAL_IID_STR "e0c493d2-9542-11d2-8eb8-00805f29f370"
#define NS_IRDFLITERAL_IID \
{0xe0c493d2, 0x9542, 0x11d2, \
{ 0x8e, 0xb8, 0x00, 0x80, 0x5f, 0x29, 0xf3, 0x70 }}
class NS_NO_VTABLE nsIRDFLiteral : public nsIRDFNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFLITERAL_IID)
/* readonly attribute wstring Value; */
NS_IMETHOD GetValue(char16_t * *aValue) = 0;
/* [noscript] void GetValueConst ([shared] out wstring aConstValue); */
NS_IMETHOD GetValueConst(const char16_t * *aConstValue) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFLiteral, NS_IRDFLITERAL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFLITERAL \
NS_IMETHOD GetValue(char16_t * *aValue) override; \
NS_IMETHOD GetValueConst(const char16_t * *aConstValue) 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_NSIRDFLITERAL \
NS_METHOD GetValue(char16_t * *aValue); \
NS_METHOD GetValueConst(const char16_t * *aConstValue);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFLITERAL(_to) \
NS_IMETHOD GetValue(char16_t * *aValue) override { return _to GetValue(aValue); } \
NS_IMETHOD GetValueConst(const char16_t * *aConstValue) override { return _to GetValueConst(aConstValue); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFLITERAL(_to) \
NS_IMETHOD GetValue(char16_t * *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
NS_IMETHOD GetValueConst(const char16_t * *aConstValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueConst(aConstValue); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFLiteral : public nsIRDFLiteral
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFLITERAL
nsRDFLiteral();
private:
~nsRDFLiteral();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFLiteral, nsIRDFLiteral)
nsRDFLiteral::nsRDFLiteral()
{
/* member initializers and constructor code */
}
nsRDFLiteral::~nsRDFLiteral()
{
/* destructor code */
}
/* readonly attribute wstring Value; */
NS_IMETHODIMP nsRDFLiteral::GetValue(char16_t * *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void GetValueConst ([shared] out wstring aConstValue); */
NS_IMETHODIMP nsRDFLiteral::GetValueConst(const char16_t * *aConstValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIRDFDate */
#define NS_IRDFDATE_IID_STR "e13a24e1-c77a-11d2-80be-006097b76b8e"
#define NS_IRDFDATE_IID \
{0xe13a24e1, 0xc77a, 0x11d2, \
{ 0x80, 0xbe, 0x00, 0x60, 0x97, 0xb7, 0x6b, 0x8e }}
class NS_NO_VTABLE nsIRDFDate : public nsIRDFNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFDATE_IID)
/* readonly attribute PRTime Value; */
NS_IMETHOD GetValue(PRTime *aValue) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFDate, NS_IRDFDATE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFDATE \
NS_IMETHOD GetValue(PRTime *aValue) 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_NSIRDFDATE \
NS_METHOD GetValue(PRTime *aValue);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFDATE(_to) \
NS_IMETHOD GetValue(PRTime *aValue) override { return _to GetValue(aValue); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFDATE(_to) \
NS_IMETHOD GetValue(PRTime *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFDate : public nsIRDFDate
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFDATE
nsRDFDate();
private:
~nsRDFDate();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFDate, nsIRDFDate)
nsRDFDate::nsRDFDate()
{
/* member initializers and constructor code */
}
nsRDFDate::~nsRDFDate()
{
/* destructor code */
}
/* readonly attribute PRTime Value; */
NS_IMETHODIMP nsRDFDate::GetValue(PRTime *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIRDFInt */
#define NS_IRDFINT_IID_STR "e13a24e3-c77a-11d2-80be-006097b76b8e"
#define NS_IRDFINT_IID \
{0xe13a24e3, 0xc77a, 0x11d2, \
{ 0x80, 0xbe, 0x00, 0x60, 0x97, 0xb7, 0x6b, 0x8e }}
class NS_NO_VTABLE nsIRDFInt : public nsIRDFNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFINT_IID)
/* readonly attribute long Value; */
NS_IMETHOD GetValue(int32_t *aValue) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFInt, NS_IRDFINT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFINT \
NS_IMETHOD GetValue(int32_t *aValue) 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_NSIRDFINT \
NS_METHOD GetValue(int32_t *aValue);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFINT(_to) \
NS_IMETHOD GetValue(int32_t *aValue) override { return _to GetValue(aValue); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFINT(_to) \
NS_IMETHOD GetValue(int32_t *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFInt : public nsIRDFInt
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFINT
nsRDFInt();
private:
~nsRDFInt();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFInt, nsIRDFInt)
nsRDFInt::nsRDFInt()
{
/* member initializers and constructor code */
}
nsRDFInt::~nsRDFInt()
{
/* destructor code */
}
/* readonly attribute long Value; */
NS_IMETHODIMP nsRDFInt::GetValue(int32_t *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIRDFBlob */
#define NS_IRDFBLOB_IID_STR "237f85a2-1dd2-11b2-94af-8122582fc45e"
#define NS_IRDFBLOB_IID \
{0x237f85a2, 0x1dd2, 0x11b2, \
{ 0x94, 0xaf, 0x81, 0x22, 0x58, 0x2f, 0xc4, 0x5e }}
class NS_NO_VTABLE nsIRDFBlob : public nsIRDFNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFBLOB_IID)
/* [noscript] readonly attribute const_octet_ptr value; */
NS_IMETHOD GetValue(const uint8_t **aValue) = 0;
/* readonly attribute long length; */
NS_IMETHOD GetLength(int32_t *aLength) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFBlob, NS_IRDFBLOB_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFBLOB \
NS_IMETHOD GetValue(const uint8_t **aValue) override; \
NS_IMETHOD GetLength(int32_t *aLength) 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_NSIRDFBLOB \
NS_METHOD GetValue(const uint8_t **aValue); \
NS_METHOD GetLength(int32_t *aLength);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFBLOB(_to) \
NS_IMETHOD GetValue(const uint8_t **aValue) override { return _to GetValue(aValue); } \
NS_IMETHOD GetLength(int32_t *aLength) override { return _to GetLength(aLength); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFBLOB(_to) \
NS_IMETHOD GetValue(const uint8_t **aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
NS_IMETHOD GetLength(int32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFBlob : public nsIRDFBlob
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFBLOB
nsRDFBlob();
private:
~nsRDFBlob();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFBlob, nsIRDFBlob)
nsRDFBlob::nsRDFBlob()
{
/* member initializers and constructor code */
}
nsRDFBlob::~nsRDFBlob()
{
/* destructor code */
}
/* [noscript] readonly attribute const_octet_ptr value; */
NS_IMETHODIMP nsRDFBlob::GetValue(const uint8_t **aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long length; */
NS_IMETHODIMP nsRDFBlob::GetLength(int32_t *aLength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIRDFLiteral_h__ */
|