/usr/include/thunderbird/nsIIDBTransaction.h is in thunderbird-dev 1:24.4.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/dom/indexedDB/nsIIDBTransaction.idl
*/
#ifndef __gen_nsIIDBTransaction_h__
#define __gen_nsIIDBTransaction_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "jspubtd.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMEventListener; /* forward declaration */
class nsIIDBObjectStore; /* forward declaration */
class nsIIDBRequest; /* forward declaration */
class nsIIDBDatabase; /* forward declaration */
class nsIDOMDOMStringList; /* forward declaration */
/* starting interface: nsIIDBTransaction */
#define NS_IIDBTRANSACTION_IID_STR "e17e36f6-a7d8-40b7-82d4-b54847169834"
#define NS_IIDBTRANSACTION_IID \
{0xe17e36f6, 0xa7d8, 0x40b7, \
{ 0x82, 0xd4, 0xb5, 0x48, 0x47, 0x16, 0x98, 0x34 }}
class NS_NO_VTABLE nsIIDBTransaction : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIDBTRANSACTION_IID)
/* readonly attribute nsIIDBDatabase db; */
NS_IMETHOD GetDb(nsIIDBDatabase * *aDb) = 0;
/* readonly attribute DOMString mode; */
NS_IMETHOD GetMode(nsAString & aMode) = 0;
/* readonly attribute nsISupports error; */
NS_IMETHOD GetError(nsISupports * *aError) = 0;
/* readonly attribute nsIDOMDOMStringList objectStoreNames; */
NS_IMETHOD GetObjectStoreNames(nsIDOMDOMStringList * *aObjectStoreNames) = 0;
/* nsIIDBObjectStore objectStore ([Null (Stringify)] in DOMString name); */
NS_IMETHOD ObjectStore(const nsAString & name, nsIIDBObjectStore * *_retval) = 0;
/* void abort (); */
NS_IMETHOD Abort(void) = 0;
/* [implicit_jscontext] attribute jsval onerror; */
NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) = 0;
NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) = 0;
/* [implicit_jscontext] attribute jsval oncomplete; */
NS_IMETHOD GetOncomplete(JSContext* cx, JS::Value *aOncomplete) = 0;
NS_IMETHOD SetOncomplete(JSContext* cx, const JS::Value & aOncomplete) = 0;
/* [implicit_jscontext] attribute jsval onabort; */
NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) = 0;
NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIIDBTransaction, NS_IIDBTRANSACTION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIDBTRANSACTION \
NS_IMETHOD GetDb(nsIIDBDatabase * *aDb); \
NS_IMETHOD GetMode(nsAString & aMode); \
NS_IMETHOD GetError(nsISupports * *aError); \
NS_IMETHOD GetObjectStoreNames(nsIDOMDOMStringList * *aObjectStoreNames); \
NS_IMETHOD ObjectStore(const nsAString & name, nsIIDBObjectStore * *_retval); \
NS_IMETHOD Abort(void); \
NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror); \
NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror); \
NS_IMETHOD GetOncomplete(JSContext* cx, JS::Value *aOncomplete); \
NS_IMETHOD SetOncomplete(JSContext* cx, const JS::Value & aOncomplete); \
NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort); \
NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIDBTRANSACTION(_to) \
NS_IMETHOD GetDb(nsIIDBDatabase * *aDb) { return _to GetDb(aDb); } \
NS_IMETHOD GetMode(nsAString & aMode) { return _to GetMode(aMode); } \
NS_IMETHOD GetError(nsISupports * *aError) { return _to GetError(aError); } \
NS_IMETHOD GetObjectStoreNames(nsIDOMDOMStringList * *aObjectStoreNames) { return _to GetObjectStoreNames(aObjectStoreNames); } \
NS_IMETHOD ObjectStore(const nsAString & name, nsIIDBObjectStore * *_retval) { return _to ObjectStore(name, _retval); } \
NS_IMETHOD Abort(void) { return _to Abort(); } \
NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) { return _to GetOnerror(cx, aOnerror); } \
NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) { return _to SetOnerror(cx, aOnerror); } \
NS_IMETHOD GetOncomplete(JSContext* cx, JS::Value *aOncomplete) { return _to GetOncomplete(cx, aOncomplete); } \
NS_IMETHOD SetOncomplete(JSContext* cx, const JS::Value & aOncomplete) { return _to SetOncomplete(cx, aOncomplete); } \
NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) { return _to GetOnabort(cx, aOnabort); } \
NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) { return _to SetOnabort(cx, aOnabort); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIDBTRANSACTION(_to) \
NS_IMETHOD GetDb(nsIIDBDatabase * *aDb) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDb(aDb); } \
NS_IMETHOD GetMode(nsAString & aMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMode(aMode); } \
NS_IMETHOD GetError(nsISupports * *aError) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetError(aError); } \
NS_IMETHOD GetObjectStoreNames(nsIDOMDOMStringList * *aObjectStoreNames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetObjectStoreNames(aObjectStoreNames); } \
NS_IMETHOD ObjectStore(const nsAString & name, nsIIDBObjectStore * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ObjectStore(name, _retval); } \
NS_IMETHOD Abort(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Abort(); } \
NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnerror(cx, aOnerror); } \
NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnerror(cx, aOnerror); } \
NS_IMETHOD GetOncomplete(JSContext* cx, JS::Value *aOncomplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOncomplete(cx, aOncomplete); } \
NS_IMETHOD SetOncomplete(JSContext* cx, const JS::Value & aOncomplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOncomplete(cx, aOncomplete); } \
NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnabort(cx, aOnabort); } \
NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnabort(cx, aOnabort); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsIDBTransaction : public nsIIDBTransaction
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIIDBTRANSACTION
nsIDBTransaction();
private:
~nsIDBTransaction();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsIDBTransaction, nsIIDBTransaction)
nsIDBTransaction::nsIDBTransaction()
{
/* member initializers and constructor code */
}
nsIDBTransaction::~nsIDBTransaction()
{
/* destructor code */
}
/* readonly attribute nsIIDBDatabase db; */
NS_IMETHODIMP nsIDBTransaction::GetDb(nsIIDBDatabase * *aDb)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString mode; */
NS_IMETHODIMP nsIDBTransaction::GetMode(nsAString & aMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports error; */
NS_IMETHODIMP nsIDBTransaction::GetError(nsISupports * *aError)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMDOMStringList objectStoreNames; */
NS_IMETHODIMP nsIDBTransaction::GetObjectStoreNames(nsIDOMDOMStringList * *aObjectStoreNames)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIIDBObjectStore objectStore ([Null (Stringify)] in DOMString name); */
NS_IMETHODIMP nsIDBTransaction::ObjectStore(const nsAString & name, nsIIDBObjectStore * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void abort (); */
NS_IMETHODIMP nsIDBTransaction::Abort()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] attribute jsval onerror; */
NS_IMETHODIMP nsIDBTransaction::GetOnerror(JSContext* cx, JS::Value *aOnerror)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsIDBTransaction::SetOnerror(JSContext* cx, const JS::Value & aOnerror)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] attribute jsval oncomplete; */
NS_IMETHODIMP nsIDBTransaction::GetOncomplete(JSContext* cx, JS::Value *aOncomplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsIDBTransaction::SetOncomplete(JSContext* cx, const JS::Value & aOncomplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] attribute jsval onabort; */
NS_IMETHODIMP nsIDBTransaction::GetOnabort(JSContext* cx, JS::Value *aOnabort)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsIDBTransaction::SetOnabort(JSContext* cx, const JS::Value & aOnabort)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIIDBTransaction_h__ */
|