/usr/include/thunderbird/inISearchProcess.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/inISearchProcess.idl
*/
#ifndef __gen_inISearchProcess_h__
#define __gen_inISearchProcess_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 nsAString; /* forward declaration */
class inISearchObserver; /* forward declaration */
/* starting interface: inISearchProcess */
#define INISEARCHPROCESS_IID_STR "d5fa765b-2448-4686-b7c1-5ff13acb0fc9"
#define INISEARCHPROCESS_IID \
{0xd5fa765b, 0x2448, 0x4686, \
{ 0xb7, 0xc1, 0x5f, 0xf1, 0x3a, 0xcb, 0x0f, 0xc9 }}
class NS_NO_VTABLE inISearchProcess : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(INISEARCHPROCESS_IID)
/* readonly attribute boolean isActive; */
NS_IMETHOD GetIsActive(bool *aIsActive) = 0;
/* readonly attribute long resultCount; */
NS_IMETHOD GetResultCount(int32_t *aResultCount) = 0;
/* attribute boolean holdResults; */
NS_IMETHOD GetHoldResults(bool *aHoldResults) = 0;
NS_IMETHOD SetHoldResults(bool aHoldResults) = 0;
/* void searchSync (); */
NS_IMETHOD SearchSync(void) = 0;
/* void searchAsync (in inISearchObserver aObserver); */
NS_IMETHOD SearchAsync(inISearchObserver *aObserver) = 0;
/* void searchStop (); */
NS_IMETHOD SearchStop(void) = 0;
/* boolean searchStep (); */
NS_IMETHOD SearchStep(bool *_retval) = 0;
/* AString getStringResultAt (in long aIndex); */
NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) = 0;
/* long getIntResultAt (in long aIndex); */
NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) = 0;
/* unsigned long getUIntResultAt (in long aIndex); */
NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(inISearchProcess, INISEARCHPROCESS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INISEARCHPROCESS \
NS_IMETHOD GetIsActive(bool *aIsActive) override; \
NS_IMETHOD GetResultCount(int32_t *aResultCount) override; \
NS_IMETHOD GetHoldResults(bool *aHoldResults) override; \
NS_IMETHOD SetHoldResults(bool aHoldResults) override; \
NS_IMETHOD SearchSync(void) override; \
NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override; \
NS_IMETHOD SearchStop(void) override; \
NS_IMETHOD SearchStep(bool *_retval) override; \
NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override; \
NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override; \
NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) 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_INISEARCHPROCESS \
NS_METHOD GetIsActive(bool *aIsActive); \
NS_METHOD GetResultCount(int32_t *aResultCount); \
NS_METHOD GetHoldResults(bool *aHoldResults); \
NS_METHOD SetHoldResults(bool aHoldResults); \
NS_METHOD SearchSync(void); \
NS_METHOD SearchAsync(inISearchObserver *aObserver); \
NS_METHOD SearchStop(void); \
NS_METHOD SearchStep(bool *_retval); \
NS_METHOD GetStringResultAt(int32_t aIndex, nsAString & _retval); \
NS_METHOD GetIntResultAt(int32_t aIndex, int32_t *_retval); \
NS_METHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INISEARCHPROCESS(_to) \
NS_IMETHOD GetIsActive(bool *aIsActive) override { return _to GetIsActive(aIsActive); } \
NS_IMETHOD GetResultCount(int32_t *aResultCount) override { return _to GetResultCount(aResultCount); } \
NS_IMETHOD GetHoldResults(bool *aHoldResults) override { return _to GetHoldResults(aHoldResults); } \
NS_IMETHOD SetHoldResults(bool aHoldResults) override { return _to SetHoldResults(aHoldResults); } \
NS_IMETHOD SearchSync(void) override { return _to SearchSync(); } \
NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override { return _to SearchAsync(aObserver); } \
NS_IMETHOD SearchStop(void) override { return _to SearchStop(); } \
NS_IMETHOD SearchStep(bool *_retval) override { return _to SearchStep(_retval); } \
NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override { return _to GetStringResultAt(aIndex, _retval); } \
NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override { return _to GetIntResultAt(aIndex, _retval); } \
NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) override { return _to GetUIntResultAt(aIndex, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INISEARCHPROCESS(_to) \
NS_IMETHOD GetIsActive(bool *aIsActive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsActive(aIsActive); } \
NS_IMETHOD GetResultCount(int32_t *aResultCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResultCount(aResultCount); } \
NS_IMETHOD GetHoldResults(bool *aHoldResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHoldResults(aHoldResults); } \
NS_IMETHOD SetHoldResults(bool aHoldResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHoldResults(aHoldResults); } \
NS_IMETHOD SearchSync(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchSync(); } \
NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchAsync(aObserver); } \
NS_IMETHOD SearchStop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStop(); } \
NS_IMETHOD SearchStep(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStep(_retval); } \
NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringResultAt(aIndex, _retval); } \
NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntResultAt(aIndex, _retval); } \
NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUIntResultAt(aIndex, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class inSearchProcess : public inISearchProcess
{
public:
NS_DECL_ISUPPORTS
NS_DECL_INISEARCHPROCESS
inSearchProcess();
private:
~inSearchProcess();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(inSearchProcess, inISearchProcess)
inSearchProcess::inSearchProcess()
{
/* member initializers and constructor code */
}
inSearchProcess::~inSearchProcess()
{
/* destructor code */
}
/* readonly attribute boolean isActive; */
NS_IMETHODIMP inSearchProcess::GetIsActive(bool *aIsActive)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long resultCount; */
NS_IMETHODIMP inSearchProcess::GetResultCount(int32_t *aResultCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean holdResults; */
NS_IMETHODIMP inSearchProcess::GetHoldResults(bool *aHoldResults)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP inSearchProcess::SetHoldResults(bool aHoldResults)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void searchSync (); */
NS_IMETHODIMP inSearchProcess::SearchSync()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void searchAsync (in inISearchObserver aObserver); */
NS_IMETHODIMP inSearchProcess::SearchAsync(inISearchObserver *aObserver)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void searchStop (); */
NS_IMETHODIMP inSearchProcess::SearchStop()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean searchStep (); */
NS_IMETHODIMP inSearchProcess::SearchStep(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getStringResultAt (in long aIndex); */
NS_IMETHODIMP inSearchProcess::GetStringResultAt(int32_t aIndex, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getIntResultAt (in long aIndex); */
NS_IMETHODIMP inSearchProcess::GetIntResultAt(int32_t aIndex, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getUIntResultAt (in long aIndex); */
NS_IMETHODIMP inSearchProcess::GetUIntResultAt(int32_t aIndex, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_inISearchProcess_h__ */
|