/usr/include/thunderbird/txIFunctionEvaluationContext.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/txIFunctionEvaluationContext.idl
*/
#ifndef __gen_txIFunctionEvaluationContext_h__
#define __gen_txIFunctionEvaluationContext_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 nsIDOMNode; /* forward declaration */
class txINodeSet; /* forward declaration */
/* starting interface: txIFunctionEvaluationContext */
#define TXIFUNCTIONEVALUATIONCONTEXT_IID_STR "0ecbb00c-6a78-11d9-9791-000a95dc234c"
#define TXIFUNCTIONEVALUATIONCONTEXT_IID \
{0x0ecbb00c, 0x6a78, 0x11d9, \
{ 0x97, 0x91, 0x00, 0x0a, 0x95, 0xdc, 0x23, 0x4c }}
class NS_NO_VTABLE txIFunctionEvaluationContext : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(TXIFUNCTIONEVALUATIONCONTEXT_IID)
/* readonly attribute uint32_t position; */
NS_IMETHOD GetPosition(uint32_t *aPosition) = 0;
/* readonly attribute uint32_t size; */
NS_IMETHOD GetSize(uint32_t *aSize) = 0;
/* readonly attribute nsIDOMNode contextNode; */
NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) = 0;
/* readonly attribute nsISupports state; */
NS_IMETHOD GetState(nsISupports * *aState) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(txIFunctionEvaluationContext, TXIFUNCTIONEVALUATIONCONTEXT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_TXIFUNCTIONEVALUATIONCONTEXT \
NS_IMETHOD GetPosition(uint32_t *aPosition) override; \
NS_IMETHOD GetSize(uint32_t *aSize) override; \
NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) override; \
NS_IMETHOD GetState(nsISupports * *aState) 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_TXIFUNCTIONEVALUATIONCONTEXT \
NS_METHOD GetPosition(uint32_t *aPosition); \
NS_METHOD GetSize(uint32_t *aSize); \
NS_METHOD GetContextNode(nsIDOMNode * *aContextNode); \
NS_METHOD GetState(nsISupports * *aState);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_TXIFUNCTIONEVALUATIONCONTEXT(_to) \
NS_IMETHOD GetPosition(uint32_t *aPosition) override { return _to GetPosition(aPosition); } \
NS_IMETHOD GetSize(uint32_t *aSize) override { return _to GetSize(aSize); } \
NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) override { return _to GetContextNode(aContextNode); } \
NS_IMETHOD GetState(nsISupports * *aState) override { return _to GetState(aState); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_TXIFUNCTIONEVALUATIONCONTEXT(_to) \
NS_IMETHOD GetPosition(uint32_t *aPosition) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(aPosition); } \
NS_IMETHOD GetSize(uint32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContextNode(aContextNode); } \
NS_IMETHOD GetState(nsISupports * *aState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class txFunctionEvaluationContext : public txIFunctionEvaluationContext
{
public:
NS_DECL_ISUPPORTS
NS_DECL_TXIFUNCTIONEVALUATIONCONTEXT
txFunctionEvaluationContext();
private:
~txFunctionEvaluationContext();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(txFunctionEvaluationContext, txIFunctionEvaluationContext)
txFunctionEvaluationContext::txFunctionEvaluationContext()
{
/* member initializers and constructor code */
}
txFunctionEvaluationContext::~txFunctionEvaluationContext()
{
/* destructor code */
}
/* readonly attribute uint32_t position; */
NS_IMETHODIMP txFunctionEvaluationContext::GetPosition(uint32_t *aPosition)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute uint32_t size; */
NS_IMETHODIMP txFunctionEvaluationContext::GetSize(uint32_t *aSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMNode contextNode; */
NS_IMETHODIMP txFunctionEvaluationContext::GetContextNode(nsIDOMNode * *aContextNode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports state; */
NS_IMETHODIMP txFunctionEvaluationContext::GetState(nsISupports * *aState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_txIFunctionEvaluationContext_h__ */
|