/usr/include/thunderbird/nsIXULTemplateResult.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIXULTemplateResult.idl
*/
#ifndef __gen_nsIXULTemplateResult_h__
#define __gen_nsIXULTemplateResult_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 nsIAtom; /* forward declaration */
class nsIDOMNode; /* forward declaration */
class nsIRDFResource; /* forward declaration */
/* starting interface: nsIXULTemplateResult */
#define NS_IXULTEMPLATERESULT_IID_STR "ebea0230-36fa-41b7-8e31-760806057965"
#define NS_IXULTEMPLATERESULT_IID \
{0xebea0230, 0x36fa, 0x41b7, \
{ 0x8e, 0x31, 0x76, 0x08, 0x06, 0x05, 0x79, 0x65 }}
class NS_NO_VTABLE nsIXULTemplateResult : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULTEMPLATERESULT_IID)
/* readonly attribute boolean isContainer; */
NS_IMETHOD GetIsContainer(bool *aIsContainer) = 0;
/* readonly attribute boolean isEmpty; */
NS_IMETHOD GetIsEmpty(bool *aIsEmpty) = 0;
/* readonly attribute boolean mayProcessChildren; */
NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) = 0;
/* readonly attribute AString id; */
NS_IMETHOD GetId(nsAString & aId) = 0;
/* readonly attribute nsIRDFResource resource; */
NS_IMETHOD GetResource(nsIRDFResource * *aResource) = 0;
/* readonly attribute AString type; */
NS_IMETHOD GetType(nsAString & aType) = 0;
/* AString getBindingFor (in nsIAtom aVar); */
NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) = 0;
/* nsISupports getBindingObjectFor (in nsIAtom aVar); */
NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) = 0;
/* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) = 0;
/* void hasBeenRemoved (); */
NS_IMETHOD HasBeenRemoved(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULTemplateResult, NS_IXULTEMPLATERESULT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXULTEMPLATERESULT \
NS_IMETHOD GetIsContainer(bool *aIsContainer) override; \
NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override; \
NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override; \
NS_IMETHOD GetId(nsAString & aId) override; \
NS_IMETHOD GetResource(nsIRDFResource * *aResource) override; \
NS_IMETHOD GetType(nsAString & aType) override; \
NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override; \
NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override; \
NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override; \
NS_IMETHOD HasBeenRemoved(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_NSIXULTEMPLATERESULT \
NS_METHOD GetIsContainer(bool *aIsContainer); \
NS_METHOD GetIsEmpty(bool *aIsEmpty); \
NS_METHOD GetMayProcessChildren(bool *aMayProcessChildren); \
NS_METHOD GetId(nsAString & aId); \
NS_METHOD GetResource(nsIRDFResource * *aResource); \
NS_METHOD GetType(nsAString & aType); \
NS_METHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval); \
NS_METHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval); \
NS_METHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode); \
NS_METHOD HasBeenRemoved(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXULTEMPLATERESULT(_to) \
NS_IMETHOD GetIsContainer(bool *aIsContainer) override { return _to GetIsContainer(aIsContainer); } \
NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override { return _to GetIsEmpty(aIsEmpty); } \
NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override { return _to GetMayProcessChildren(aMayProcessChildren); } \
NS_IMETHOD GetId(nsAString & aId) override { return _to GetId(aId); } \
NS_IMETHOD GetResource(nsIRDFResource * *aResource) override { return _to GetResource(aResource); } \
NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override { return _to GetBindingFor(aVar, _retval); } \
NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override { return _to GetBindingObjectFor(aVar, _retval); } \
NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override { return _to RuleMatched(aQuery, aRuleNode); } \
NS_IMETHOD HasBeenRemoved(void) override { return _to HasBeenRemoved(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXULTEMPLATERESULT(_to) \
NS_IMETHOD GetIsContainer(bool *aIsContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsContainer(aIsContainer); } \
NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEmpty(aIsEmpty); } \
NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMayProcessChildren(aMayProcessChildren); } \
NS_IMETHOD GetId(nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD GetResource(nsIRDFResource * *aResource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResource(aResource); } \
NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingFor(aVar, _retval); } \
NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingObjectFor(aVar, _retval); } \
NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RuleMatched(aQuery, aRuleNode); } \
NS_IMETHOD HasBeenRemoved(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasBeenRemoved(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXULTemplateResult : public nsIXULTemplateResult
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXULTEMPLATERESULT
nsXULTemplateResult();
private:
~nsXULTemplateResult();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsXULTemplateResult, nsIXULTemplateResult)
nsXULTemplateResult::nsXULTemplateResult()
{
/* member initializers and constructor code */
}
nsXULTemplateResult::~nsXULTemplateResult()
{
/* destructor code */
}
/* readonly attribute boolean isContainer; */
NS_IMETHODIMP nsXULTemplateResult::GetIsContainer(bool *aIsContainer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isEmpty; */
NS_IMETHODIMP nsXULTemplateResult::GetIsEmpty(bool *aIsEmpty)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean mayProcessChildren; */
NS_IMETHODIMP nsXULTemplateResult::GetMayProcessChildren(bool *aMayProcessChildren)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString id; */
NS_IMETHODIMP nsXULTemplateResult::GetId(nsAString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIRDFResource resource; */
NS_IMETHODIMP nsXULTemplateResult::GetResource(nsIRDFResource * *aResource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString type; */
NS_IMETHODIMP nsXULTemplateResult::GetType(nsAString & aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getBindingFor (in nsIAtom aVar); */
NS_IMETHODIMP nsXULTemplateResult::GetBindingFor(nsIAtom *aVar, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISupports getBindingObjectFor (in nsIAtom aVar); */
NS_IMETHODIMP nsXULTemplateResult::GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
NS_IMETHODIMP nsXULTemplateResult::RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void hasBeenRemoved (); */
NS_IMETHODIMP nsXULTemplateResult::HasBeenRemoved()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIXULTemplateResult_h__ */
|