/usr/include/thunderbird-11.0.1/mozIStorageBindingParams.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/storage/public/mozIStorageBindingParams.idl
*/
#ifndef __gen_mozIStorageBindingParams_h__
#define __gen_mozIStorageBindingParams_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 nsIVariant; /* forward declaration */
/* starting interface: mozIStorageBindingParams */
#define MOZISTORAGEBINDINGPARAMS_IID_STR "a8d4827c-641c-45e3-a9ea-493570b4106b"
#define MOZISTORAGEBINDINGPARAMS_IID \
{0xa8d4827c, 0x641c, 0x45e3, \
{ 0xa9, 0xea, 0x49, 0x35, 0x70, 0xb4, 0x10, 0x6b }}
class NS_NO_VTABLE NS_SCRIPTABLE mozIStorageBindingParams : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEBINDINGPARAMS_IID)
/* void bindByName (in AUTF8String aName, in nsIVariant aValue); */
NS_SCRIPTABLE NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) = 0;
/* [noscript] void bindUTF8StringByName (in AUTF8String aName, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) = 0;
/* [noscript] void bindStringByName (in AUTF8String aName, in AString aValue); */
NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) = 0;
/* [noscript] void bindDoubleByName (in AUTF8String aName, in double aValue); */
NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) = 0;
/* [noscript] void bindInt32ByName (in AUTF8String aName, in long aValue); */
NS_IMETHOD BindInt32ByName(const nsACString & aName, PRInt32 aValue) = 0;
/* [noscript] void bindInt64ByName (in AUTF8String aName, in long long aValue); */
NS_IMETHOD BindInt64ByName(const nsACString & aName, PRInt64 aValue) = 0;
/* [noscript] void bindNullByName (in AUTF8String aName); */
NS_IMETHOD BindNullByName(const nsACString & aName) = 0;
/* void bindBlobByName (in AUTF8String aName, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_SCRIPTABLE NS_IMETHOD BindBlobByName(const nsACString & aName, const PRUint8 *aValue, PRUint32 aValueSize) = 0;
/* void bindByIndex (in unsigned long aIndex, in nsIVariant aValue); */
NS_SCRIPTABLE NS_IMETHOD BindByIndex(PRUint32 aIndex, nsIVariant *aValue) = 0;
/* [noscript] void bindUTF8StringByIndex (in unsigned long aIndex, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringByIndex(PRUint32 aIndex, const nsACString & aValue) = 0;
/* [noscript] void bindStringByIndex (in unsigned long aIndex, in AString aValue); */
NS_IMETHOD BindStringByIndex(PRUint32 aIndex, const nsAString & aValue) = 0;
/* [noscript] void bindDoubleByIndex (in unsigned long aIndex, in double aValue); */
NS_IMETHOD BindDoubleByIndex(PRUint32 aIndex, double aValue) = 0;
/* [noscript] void bindInt32ByIndex (in unsigned long aIndex, in long aValue); */
NS_IMETHOD BindInt32ByIndex(PRUint32 aIndex, PRInt32 aValue) = 0;
/* [noscript] void bindInt64ByIndex (in unsigned long aIndex, in long long aValue); */
NS_IMETHOD BindInt64ByIndex(PRUint32 aIndex, PRInt64 aValue) = 0;
/* [noscript] void bindNullByIndex (in unsigned long aIndex); */
NS_IMETHOD BindNullByIndex(PRUint32 aIndex) = 0;
/* void bindBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_SCRIPTABLE NS_IMETHOD BindBlobByIndex(PRUint32 aIndex, const PRUint8 *aValue, PRUint32 aValueSize) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageBindingParams, MOZISTORAGEBINDINGPARAMS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISTORAGEBINDINGPARAMS \
NS_SCRIPTABLE NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue); \
NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue); \
NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue); \
NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue); \
NS_IMETHOD BindInt32ByName(const nsACString & aName, PRInt32 aValue); \
NS_IMETHOD BindInt64ByName(const nsACString & aName, PRInt64 aValue); \
NS_IMETHOD BindNullByName(const nsACString & aName); \
NS_SCRIPTABLE NS_IMETHOD BindBlobByName(const nsACString & aName, const PRUint8 *aValue, PRUint32 aValueSize); \
NS_SCRIPTABLE NS_IMETHOD BindByIndex(PRUint32 aIndex, nsIVariant *aValue); \
NS_IMETHOD BindUTF8StringByIndex(PRUint32 aIndex, const nsACString & aValue); \
NS_IMETHOD BindStringByIndex(PRUint32 aIndex, const nsAString & aValue); \
NS_IMETHOD BindDoubleByIndex(PRUint32 aIndex, double aValue); \
NS_IMETHOD BindInt32ByIndex(PRUint32 aIndex, PRInt32 aValue); \
NS_IMETHOD BindInt64ByIndex(PRUint32 aIndex, PRInt64 aValue); \
NS_IMETHOD BindNullByIndex(PRUint32 aIndex); \
NS_SCRIPTABLE NS_IMETHOD BindBlobByIndex(PRUint32 aIndex, const PRUint8 *aValue, PRUint32 aValueSize);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISTORAGEBINDINGPARAMS(_to) \
NS_SCRIPTABLE NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) { return _to BindByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) { return _to BindUTF8StringByName(aName, aValue); } \
NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) { return _to BindStringByName(aName, aValue); } \
NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) { return _to BindDoubleByName(aName, aValue); } \
NS_IMETHOD BindInt32ByName(const nsACString & aName, PRInt32 aValue) { return _to BindInt32ByName(aName, aValue); } \
NS_IMETHOD BindInt64ByName(const nsACString & aName, PRInt64 aValue) { return _to BindInt64ByName(aName, aValue); } \
NS_IMETHOD BindNullByName(const nsACString & aName) { return _to BindNullByName(aName); } \
NS_SCRIPTABLE NS_IMETHOD BindBlobByName(const nsACString & aName, const PRUint8 *aValue, PRUint32 aValueSize) { return _to BindBlobByName(aName, aValue, aValueSize); } \
NS_SCRIPTABLE NS_IMETHOD BindByIndex(PRUint32 aIndex, nsIVariant *aValue) { return _to BindByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringByIndex(PRUint32 aIndex, const nsACString & aValue) { return _to BindUTF8StringByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringByIndex(PRUint32 aIndex, const nsAString & aValue) { return _to BindStringByIndex(aIndex, aValue); } \
NS_IMETHOD BindDoubleByIndex(PRUint32 aIndex, double aValue) { return _to BindDoubleByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt32ByIndex(PRUint32 aIndex, PRInt32 aValue) { return _to BindInt32ByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt64ByIndex(PRUint32 aIndex, PRInt64 aValue) { return _to BindInt64ByIndex(aIndex, aValue); } \
NS_IMETHOD BindNullByIndex(PRUint32 aIndex) { return _to BindNullByIndex(aIndex); } \
NS_SCRIPTABLE NS_IMETHOD BindBlobByIndex(PRUint32 aIndex, const PRUint8 *aValue, PRUint32 aValueSize) { return _to BindBlobByIndex(aIndex, aValue, aValueSize); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISTORAGEBINDINGPARAMS(_to) \
NS_SCRIPTABLE NS_IMETHOD BindByName(const nsACString & aName, nsIVariant *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringByName(const nsACString & aName, const nsACString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByName(aName, aValue); } \
NS_IMETHOD BindStringByName(const nsACString & aName, const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByName(aName, aValue); } \
NS_IMETHOD BindDoubleByName(const nsACString & aName, double aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByName(aName, aValue); } \
NS_IMETHOD BindInt32ByName(const nsACString & aName, PRInt32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByName(aName, aValue); } \
NS_IMETHOD BindInt64ByName(const nsACString & aName, PRInt64 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByName(aName, aValue); } \
NS_IMETHOD BindNullByName(const nsACString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByName(aName); } \
NS_SCRIPTABLE NS_IMETHOD BindBlobByName(const nsACString & aName, const PRUint8 *aValue, PRUint32 aValueSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByName(aName, aValue, aValueSize); } \
NS_SCRIPTABLE NS_IMETHOD BindByIndex(PRUint32 aIndex, nsIVariant *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringByIndex(PRUint32 aIndex, const nsACString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringByIndex(PRUint32 aIndex, const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByIndex(aIndex, aValue); } \
NS_IMETHOD BindDoubleByIndex(PRUint32 aIndex, double aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt32ByIndex(PRUint32 aIndex, PRInt32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt64ByIndex(PRUint32 aIndex, PRInt64 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByIndex(aIndex, aValue); } \
NS_IMETHOD BindNullByIndex(PRUint32 aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByIndex(aIndex); } \
NS_SCRIPTABLE NS_IMETHOD BindBlobByIndex(PRUint32 aIndex, const PRUint8 *aValue, PRUint32 aValueSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByIndex(aIndex, aValue, aValueSize); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozIStorageBindingParams
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZISTORAGEBINDINGPARAMS
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, mozIStorageBindingParams)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* void bindByName (in AUTF8String aName, in nsIVariant aValue); */
NS_IMETHODIMP _MYCLASS_::BindByName(const nsACString & aName, nsIVariant *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindUTF8StringByName (in AUTF8String aName, in AUTF8String aValue); */
NS_IMETHODIMP _MYCLASS_::BindUTF8StringByName(const nsACString & aName, const nsACString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindStringByName (in AUTF8String aName, in AString aValue); */
NS_IMETHODIMP _MYCLASS_::BindStringByName(const nsACString & aName, const nsAString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindDoubleByName (in AUTF8String aName, in double aValue); */
NS_IMETHODIMP _MYCLASS_::BindDoubleByName(const nsACString & aName, double aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindInt32ByName (in AUTF8String aName, in long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt32ByName(const nsACString & aName, PRInt32 aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindInt64ByName (in AUTF8String aName, in long long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt64ByName(const nsACString & aName, PRInt64 aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindNullByName (in AUTF8String aName); */
NS_IMETHODIMP _MYCLASS_::BindNullByName(const nsACString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void bindBlobByName (in AUTF8String aName, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindBlobByName(const nsACString & aName, const PRUint8 *aValue, PRUint32 aValueSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void bindByIndex (in unsigned long aIndex, in nsIVariant aValue); */
NS_IMETHODIMP _MYCLASS_::BindByIndex(PRUint32 aIndex, nsIVariant *aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindUTF8StringByIndex (in unsigned long aIndex, in AUTF8String aValue); */
NS_IMETHODIMP _MYCLASS_::BindUTF8StringByIndex(PRUint32 aIndex, const nsACString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindStringByIndex (in unsigned long aIndex, in AString aValue); */
NS_IMETHODIMP _MYCLASS_::BindStringByIndex(PRUint32 aIndex, const nsAString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindDoubleByIndex (in unsigned long aIndex, in double aValue); */
NS_IMETHODIMP _MYCLASS_::BindDoubleByIndex(PRUint32 aIndex, double aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindInt32ByIndex (in unsigned long aIndex, in long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt32ByIndex(PRUint32 aIndex, PRInt32 aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindInt64ByIndex (in unsigned long aIndex, in long long aValue); */
NS_IMETHODIMP _MYCLASS_::BindInt64ByIndex(PRUint32 aIndex, PRInt64 aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void bindNullByIndex (in unsigned long aIndex); */
NS_IMETHODIMP _MYCLASS_::BindNullByIndex(PRUint32 aIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void bindBlobByIndex (in unsigned long aIndex, [array, size_is (aValueSize), const] in octet aValue, in unsigned long aValueSize); */
NS_IMETHODIMP _MYCLASS_::BindBlobByIndex(PRUint32 aIndex, const PRUint8 *aValue, PRUint32 aValueSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_mozIStorageBindingParams_h__ */
|