/usr/include/thunderbird/nsIRDFResource.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFResource.idl
*/
#ifndef __gen_nsIRDFResource_h__
#define __gen_nsIRDFResource_h__
#ifndef __gen_nsrootidl_h__
#include "nsrootidl.h"
#endif
#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
/* starting interface: nsIRDFResource */
#define NS_IRDFRESOURCE_IID_STR "fb9686a7-719a-49dc-9107-10dea5739341"
#define NS_IRDFRESOURCE_IID \
{0xfb9686a7, 0x719a, 0x49dc, \
{ 0x91, 0x07, 0x10, 0xde, 0xa5, 0x73, 0x93, 0x41 }}
class NS_NO_VTABLE nsIRDFResource : public nsIRDFNode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFRESOURCE_IID)
/* readonly attribute string Value; */
NS_IMETHOD GetValue(char * *aValue) = 0;
/* readonly attribute AUTF8String ValueUTF8; */
NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) = 0;
/* [noscript] void GetValueConst ([shared] out string aConstValue); */
NS_IMETHOD GetValueConst(const char * *aConstValue) = 0;
/* void Init (in string uri); */
NS_IMETHOD Init(const char * uri) = 0;
/* boolean EqualsString (in string aURI); */
NS_IMETHOD EqualsString(const char * aURI, bool *_retval) = 0;
/* void GetDelegate (in string aKey, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aResult); */
NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) = 0;
/* void ReleaseDelegate (in string aKey); */
NS_IMETHOD ReleaseDelegate(const char * aKey) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFResource, NS_IRDFRESOURCE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFRESOURCE \
NS_IMETHOD GetValue(char * *aValue) override; \
NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override; \
NS_IMETHOD GetValueConst(const char * *aConstValue) override; \
NS_IMETHOD Init(const char * uri) override; \
NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override; \
NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override; \
NS_IMETHOD ReleaseDelegate(const char * aKey) 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_NSIRDFRESOURCE \
NS_METHOD GetValue(char * *aValue); \
NS_METHOD GetValueUTF8(nsACString & aValueUTF8); \
NS_METHOD GetValueConst(const char * *aConstValue); \
NS_METHOD Init(const char * uri); \
NS_METHOD EqualsString(const char * aURI, bool *_retval); \
NS_METHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult); \
NS_METHOD ReleaseDelegate(const char * aKey);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFRESOURCE(_to) \
NS_IMETHOD GetValue(char * *aValue) override { return _to GetValue(aValue); } \
NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override { return _to GetValueUTF8(aValueUTF8); } \
NS_IMETHOD GetValueConst(const char * *aConstValue) override { return _to GetValueConst(aConstValue); } \
NS_IMETHOD Init(const char * uri) override { return _to Init(uri); } \
NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override { return _to EqualsString(aURI, _retval); } \
NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override { return _to GetDelegate(aKey, aIID, aResult); } \
NS_IMETHOD ReleaseDelegate(const char * aKey) override { return _to ReleaseDelegate(aKey); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFRESOURCE(_to) \
NS_IMETHOD GetValue(char * *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
NS_IMETHOD GetValueUTF8(nsACString & aValueUTF8) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueUTF8(aValueUTF8); } \
NS_IMETHOD GetValueConst(const char * *aConstValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueConst(aConstValue); } \
NS_IMETHOD Init(const char * uri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(uri); } \
NS_IMETHOD EqualsString(const char * aURI, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EqualsString(aURI, _retval); } \
NS_IMETHOD GetDelegate(const char * aKey, const nsIID & aIID, void **aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDelegate(aKey, aIID, aResult); } \
NS_IMETHOD ReleaseDelegate(const char * aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseDelegate(aKey); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFResource : public nsIRDFResource
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFRESOURCE
nsRDFResource();
private:
~nsRDFResource();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFResource, nsIRDFResource)
nsRDFResource::nsRDFResource()
{
/* member initializers and constructor code */
}
nsRDFResource::~nsRDFResource()
{
/* destructor code */
}
/* readonly attribute string Value; */
NS_IMETHODIMP nsRDFResource::GetValue(char * *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String ValueUTF8; */
NS_IMETHODIMP nsRDFResource::GetValueUTF8(nsACString & aValueUTF8)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void GetValueConst ([shared] out string aConstValue); */
NS_IMETHODIMP nsRDFResource::GetValueConst(const char * *aConstValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void Init (in string uri); */
NS_IMETHODIMP nsRDFResource::Init(const char * uri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean EqualsString (in string aURI); */
NS_IMETHODIMP nsRDFResource::EqualsString(const char * aURI, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void GetDelegate (in string aKey, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aResult); */
NS_IMETHODIMP nsRDFResource::GetDelegate(const char * aKey, const nsIID & aIID, void **aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void ReleaseDelegate (in string aKey); */
NS_IMETHODIMP nsRDFResource::ReleaseDelegate(const char * aKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIRDFResource_h__ */
|