/usr/include/thunderbird/prplIPref.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/prplIPref.idl
*/
#ifndef __gen_prplIPref_h__
#define __gen_prplIPref_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.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: prplIPref */
#define PRPLIPREF_IID_STR "e781563f-9088-4a96-93e3-4fb6f5ce6a77"
#define PRPLIPREF_IID \
{0xe781563f, 0x9088, 0x4a96, \
{ 0x93, 0xe3, 0x4f, 0xb6, 0xf5, 0xce, 0x6a, 0x77 }}
class NS_NO_VTABLE prplIPref : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIPREF_IID)
enum {
typeBool = 1,
typeInt = 2,
typeString = 3,
typeList = 4
};
/* readonly attribute AUTF8String name; */
NS_IMETHOD GetName(nsACString & aName) = 0;
/* readonly attribute AUTF8String label; */
NS_IMETHOD GetLabel(nsACString & aLabel) = 0;
/* readonly attribute short type; */
NS_IMETHOD GetType(int16_t *aType) = 0;
/* readonly attribute boolean masked; */
NS_IMETHOD GetMasked(bool *aMasked) = 0;
/* boolean getBool (); */
NS_IMETHOD GetBool(bool *_retval) = 0;
/* long getInt (); */
NS_IMETHOD GetInt(int32_t *_retval) = 0;
/* AUTF8String getString (); */
NS_IMETHOD GetString(nsACString & _retval) = 0;
/* nsISimpleEnumerator getList (); */
NS_IMETHOD GetList(nsISimpleEnumerator * *_retval) = 0;
/* AUTF8String getListDefault (); */
NS_IMETHOD GetListDefault(nsACString & _retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIPref, PRPLIPREF_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIPREF \
NS_IMETHOD GetName(nsACString & aName) override; \
NS_IMETHOD GetLabel(nsACString & aLabel) override; \
NS_IMETHOD GetType(int16_t *aType) override; \
NS_IMETHOD GetMasked(bool *aMasked) override; \
NS_IMETHOD GetBool(bool *_retval) override; \
NS_IMETHOD GetInt(int32_t *_retval) override; \
NS_IMETHOD GetString(nsACString & _retval) override; \
NS_IMETHOD GetList(nsISimpleEnumerator * *_retval) override; \
NS_IMETHOD GetListDefault(nsACString & _retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIPREF(_to) \
NS_IMETHOD GetName(nsACString & aName) override { return _to GetName(aName); } \
NS_IMETHOD GetLabel(nsACString & aLabel) override { return _to GetLabel(aLabel); } \
NS_IMETHOD GetType(int16_t *aType) override { return _to GetType(aType); } \
NS_IMETHOD GetMasked(bool *aMasked) override { return _to GetMasked(aMasked); } \
NS_IMETHOD GetBool(bool *_retval) override { return _to GetBool(_retval); } \
NS_IMETHOD GetInt(int32_t *_retval) override { return _to GetInt(_retval); } \
NS_IMETHOD GetString(nsACString & _retval) override { return _to GetString(_retval); } \
NS_IMETHOD GetList(nsISimpleEnumerator * *_retval) override { return _to GetList(_retval); } \
NS_IMETHOD GetListDefault(nsACString & _retval) override { return _to GetListDefault(_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_PRPLIPREF(_to) \
NS_IMETHOD GetName(nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetLabel(nsACString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
NS_IMETHOD GetType(int16_t *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
NS_IMETHOD GetMasked(bool *aMasked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMasked(aMasked); } \
NS_IMETHOD GetBool(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBool(_retval); } \
NS_IMETHOD GetInt(int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInt(_retval); } \
NS_IMETHOD GetString(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetString(_retval); } \
NS_IMETHOD GetList(nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetList(_retval); } \
NS_IMETHOD GetListDefault(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetListDefault(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIPref
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIPREF
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIPref)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String name; */
NS_IMETHODIMP _MYCLASS_::GetName(nsACString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String label; */
NS_IMETHODIMP _MYCLASS_::GetLabel(nsACString & aLabel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute short type; */
NS_IMETHODIMP _MYCLASS_::GetType(int16_t *aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean masked; */
NS_IMETHODIMP _MYCLASS_::GetMasked(bool *aMasked)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean getBool (); */
NS_IMETHODIMP _MYCLASS_::GetBool(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getInt (); */
NS_IMETHODIMP _MYCLASS_::GetInt(int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AUTF8String getString (); */
NS_IMETHODIMP _MYCLASS_::GetString(nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getList (); */
NS_IMETHODIMP _MYCLASS_::GetList(nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AUTF8String getListDefault (); */
NS_IMETHODIMP _MYCLASS_::GetListDefault(nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: prplIKeyValuePair */
#define PRPLIKEYVALUEPAIR_IID_STR "8fc16882-ba8e-432a-999f-0d4dc104234b"
#define PRPLIKEYVALUEPAIR_IID \
{0x8fc16882, 0xba8e, 0x432a, \
{ 0x99, 0x9f, 0x0d, 0x4d, 0xc1, 0x04, 0x23, 0x4b }}
class NS_NO_VTABLE prplIKeyValuePair : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIKEYVALUEPAIR_IID)
/* readonly attribute AUTF8String name; */
NS_IMETHOD GetName(nsACString & aName) = 0;
/* readonly attribute AUTF8String value; */
NS_IMETHOD GetValue(nsACString & aValue) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIKeyValuePair, PRPLIKEYVALUEPAIR_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIKEYVALUEPAIR \
NS_IMETHOD GetName(nsACString & aName) override; \
NS_IMETHOD GetValue(nsACString & aValue) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIKEYVALUEPAIR(_to) \
NS_IMETHOD GetName(nsACString & aName) override { return _to GetName(aName); } \
NS_IMETHOD GetValue(nsACString & aValue) override { return _to GetValue(aValue); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_PRPLIKEYVALUEPAIR(_to) \
NS_IMETHOD GetName(nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetValue(nsACString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIKeyValuePair
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIKEYVALUEPAIR
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIKeyValuePair)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String name; */
NS_IMETHODIMP _MYCLASS_::GetName(nsACString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String value; */
NS_IMETHODIMP _MYCLASS_::GetValue(nsACString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_prplIPref_h__ */
|