/usr/include/thunderbird/nsIQueryContentEventResult.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIQueryContentEventResult.idl
*/
#ifndef __gen_nsIQueryContentEventResult_h__
#define __gen_nsIQueryContentEventResult_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
/* starting interface: nsIQueryContentEventResult */
#define NS_IQUERYCONTENTEVENTRESULT_IID_STR "e2c39e0e-345f-451a-a7b2-e0230d555847"
#define NS_IQUERYCONTENTEVENTRESULT_IID \
{0xe2c39e0e, 0x345f, 0x451a, \
{ 0xa7, 0xb2, 0xe0, 0x23, 0x0d, 0x55, 0x58, 0x47 }}
class NS_NO_VTABLE nsIQueryContentEventResult : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUERYCONTENTEVENTRESULT_IID)
/* readonly attribute unsigned long offset; */
NS_IMETHOD GetOffset(uint32_t *aOffset) = 0;
/* readonly attribute unsigned long tentativeCaretOffset; */
NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) = 0;
/* readonly attribute boolean reversed; */
NS_IMETHOD GetReversed(bool *aReversed) = 0;
/* readonly attribute long left; */
NS_IMETHOD GetLeft(int32_t *aLeft) = 0;
/* readonly attribute long top; */
NS_IMETHOD GetTop(int32_t *aTop) = 0;
/* readonly attribute long width; */
NS_IMETHOD GetWidth(int32_t *aWidth) = 0;
/* readonly attribute long height; */
NS_IMETHOD GetHeight(int32_t *aHeight) = 0;
/* readonly attribute AString text; */
NS_IMETHOD GetText(nsAString & aText) = 0;
/* void getCharacterRect (in long offset, out long left, out long top, out long width, out long height); */
NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) = 0;
/* readonly attribute boolean succeeded; */
NS_IMETHOD GetSucceeded(bool *aSucceeded) = 0;
/* readonly attribute boolean notFound; */
NS_IMETHOD GetNotFound(bool *aNotFound) = 0;
/* readonly attribute boolean tentativeCaretOffsetNotFound; */
NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIQueryContentEventResult, NS_IQUERYCONTENTEVENTRESULT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIQUERYCONTENTEVENTRESULT \
NS_IMETHOD GetOffset(uint32_t *aOffset) override; \
NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override; \
NS_IMETHOD GetReversed(bool *aReversed) override; \
NS_IMETHOD GetLeft(int32_t *aLeft) override; \
NS_IMETHOD GetTop(int32_t *aTop) override; \
NS_IMETHOD GetWidth(int32_t *aWidth) override; \
NS_IMETHOD GetHeight(int32_t *aHeight) override; \
NS_IMETHOD GetText(nsAString & aText) override; \
NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override; \
NS_IMETHOD GetSucceeded(bool *aSucceeded) override; \
NS_IMETHOD GetNotFound(bool *aNotFound) override; \
NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) 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_NSIQUERYCONTENTEVENTRESULT \
NS_METHOD GetOffset(uint32_t *aOffset); \
NS_METHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset); \
NS_METHOD GetReversed(bool *aReversed); \
NS_METHOD GetLeft(int32_t *aLeft); \
NS_METHOD GetTop(int32_t *aTop); \
NS_METHOD GetWidth(int32_t *aWidth); \
NS_METHOD GetHeight(int32_t *aHeight); \
NS_METHOD GetText(nsAString & aText); \
NS_METHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height); \
NS_METHOD GetSucceeded(bool *aSucceeded); \
NS_METHOD GetNotFound(bool *aNotFound); \
NS_METHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIQUERYCONTENTEVENTRESULT(_to) \
NS_IMETHOD GetOffset(uint32_t *aOffset) override { return _to GetOffset(aOffset); } \
NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override { return _to GetTentativeCaretOffset(aTentativeCaretOffset); } \
NS_IMETHOD GetReversed(bool *aReversed) override { return _to GetReversed(aReversed); } \
NS_IMETHOD GetLeft(int32_t *aLeft) override { return _to GetLeft(aLeft); } \
NS_IMETHOD GetTop(int32_t *aTop) override { return _to GetTop(aTop); } \
NS_IMETHOD GetWidth(int32_t *aWidth) override { return _to GetWidth(aWidth); } \
NS_IMETHOD GetHeight(int32_t *aHeight) override { return _to GetHeight(aHeight); } \
NS_IMETHOD GetText(nsAString & aText) override { return _to GetText(aText); } \
NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override { return _to GetCharacterRect(offset, left, top, width, height); } \
NS_IMETHOD GetSucceeded(bool *aSucceeded) override { return _to GetSucceeded(aSucceeded); } \
NS_IMETHOD GetNotFound(bool *aNotFound) override { return _to GetNotFound(aNotFound); } \
NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) override { return _to GetTentativeCaretOffsetNotFound(aTentativeCaretOffsetNotFound); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIQUERYCONTENTEVENTRESULT(_to) \
NS_IMETHOD GetOffset(uint32_t *aOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffset(aOffset); } \
NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTentativeCaretOffset(aTentativeCaretOffset); } \
NS_IMETHOD GetReversed(bool *aReversed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReversed(aReversed); } \
NS_IMETHOD GetLeft(int32_t *aLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
NS_IMETHOD GetTop(int32_t *aTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
NS_IMETHOD GetWidth(int32_t *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
NS_IMETHOD GetHeight(int32_t *aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
NS_IMETHOD GetText(nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterRect(offset, left, top, width, height); } \
NS_IMETHOD GetSucceeded(bool *aSucceeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSucceeded(aSucceeded); } \
NS_IMETHOD GetNotFound(bool *aNotFound) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotFound(aNotFound); } \
NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTentativeCaretOffsetNotFound(aTentativeCaretOffsetNotFound); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsQueryContentEventResult : public nsIQueryContentEventResult
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIQUERYCONTENTEVENTRESULT
nsQueryContentEventResult();
private:
~nsQueryContentEventResult();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsQueryContentEventResult, nsIQueryContentEventResult)
nsQueryContentEventResult::nsQueryContentEventResult()
{
/* member initializers and constructor code */
}
nsQueryContentEventResult::~nsQueryContentEventResult()
{
/* destructor code */
}
/* readonly attribute unsigned long offset; */
NS_IMETHODIMP nsQueryContentEventResult::GetOffset(uint32_t *aOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long tentativeCaretOffset; */
NS_IMETHODIMP nsQueryContentEventResult::GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean reversed; */
NS_IMETHODIMP nsQueryContentEventResult::GetReversed(bool *aReversed)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long left; */
NS_IMETHODIMP nsQueryContentEventResult::GetLeft(int32_t *aLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long top; */
NS_IMETHODIMP nsQueryContentEventResult::GetTop(int32_t *aTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long width; */
NS_IMETHODIMP nsQueryContentEventResult::GetWidth(int32_t *aWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long height; */
NS_IMETHODIMP nsQueryContentEventResult::GetHeight(int32_t *aHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString text; */
NS_IMETHODIMP nsQueryContentEventResult::GetText(nsAString & aText)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getCharacterRect (in long offset, out long left, out long top, out long width, out long height); */
NS_IMETHODIMP nsQueryContentEventResult::GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean succeeded; */
NS_IMETHODIMP nsQueryContentEventResult::GetSucceeded(bool *aSucceeded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean notFound; */
NS_IMETHODIMP nsQueryContentEventResult::GetNotFound(bool *aNotFound)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean tentativeCaretOffsetNotFound; */
NS_IMETHODIMP nsQueryContentEventResult::GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIQueryContentEventResult_h__ */
|