Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/mozIStorageConnection.idl
3 : */
4 :
5 : #ifndef __gen_mozIStorageConnection_h__
6 : #define __gen_mozIStorageConnection_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_mozIStorageAsyncConnection_h__
14 : #include "mozIStorageAsyncConnection.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : namespace mozilla {
22 : namespace dom {
23 : namespace quota {
24 : class QuotaObject;
25 : }
26 : }
27 : }
28 : class mozIStorageAggregateFunction; /* forward declaration */
29 :
30 : class mozIStorageCompletionCallback; /* forward declaration */
31 :
32 : class mozIStorageFunction; /* forward declaration */
33 :
34 : class mozIStorageProgressHandler; /* forward declaration */
35 :
36 : class mozIStorageBaseStatement; /* forward declaration */
37 :
38 : class mozIStorageStatement; /* forward declaration */
39 :
40 : class mozIStorageAsyncStatement; /* forward declaration */
41 :
42 : class mozIStorageStatementCallback; /* forward declaration */
43 :
44 : class mozIStoragePendingStatement; /* forward declaration */
45 :
46 : class nsIFile; /* forward declaration */
47 :
48 :
49 : /* starting interface: mozIStorageConnection */
50 : #define MOZISTORAGECONNECTION_IID_STR "4aa2ac47-8d24-4004-9b31-ec0bd85f0cc3"
51 :
52 : #define MOZISTORAGECONNECTION_IID \
53 : {0x4aa2ac47, 0x8d24, 0x4004, \
54 : { 0x9b, 0x31, 0xec, 0x0b, 0xd8, 0x5f, 0x0c, 0xc3 }}
55 :
56 8 : class NS_NO_VTABLE mozIStorageConnection : public mozIStorageAsyncConnection {
57 : public:
58 :
59 : NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGECONNECTION_IID)
60 :
61 : /* void close (); */
62 : NS_IMETHOD Close(void) = 0;
63 :
64 : /* mozIStorageConnection clone ([optional] in boolean aReadOnly); */
65 : NS_IMETHOD Clone(bool aReadOnly, mozIStorageConnection * *_retval) = 0;
66 :
67 : /* readonly attribute long defaultPageSize; */
68 : NS_IMETHOD GetDefaultPageSize(int32_t *aDefaultPageSize) = 0;
69 :
70 : /* readonly attribute boolean connectionReady; */
71 : NS_IMETHOD GetConnectionReady(bool *aConnectionReady) = 0;
72 :
73 : /* readonly attribute long long lastInsertRowID; */
74 : NS_IMETHOD GetLastInsertRowID(int64_t *aLastInsertRowID) = 0;
75 :
76 : /* readonly attribute long affectedRows; */
77 : NS_IMETHOD GetAffectedRows(int32_t *aAffectedRows) = 0;
78 :
79 : /* readonly attribute long lastError; */
80 : NS_IMETHOD GetLastError(int32_t *aLastError) = 0;
81 :
82 : /* readonly attribute AUTF8String lastErrorString; */
83 : NS_IMETHOD GetLastErrorString(nsACString & aLastErrorString) = 0;
84 :
85 : /* attribute long schemaVersion; */
86 : NS_IMETHOD GetSchemaVersion(int32_t *aSchemaVersion) = 0;
87 : NS_IMETHOD SetSchemaVersion(int32_t aSchemaVersion) = 0;
88 :
89 : /* mozIStorageStatement createStatement (in AUTF8String aSQLStatement); */
90 : NS_IMETHOD CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval) = 0;
91 :
92 : /* void executeSimpleSQL (in AUTF8String aSQLStatement); */
93 : NS_IMETHOD ExecuteSimpleSQL(const nsACString & aSQLStatement) = 0;
94 :
95 : /* boolean tableExists (in AUTF8String aTableName); */
96 : NS_IMETHOD TableExists(const nsACString & aTableName, bool *_retval) = 0;
97 :
98 : /* boolean indexExists (in AUTF8String aIndexName); */
99 : NS_IMETHOD IndexExists(const nsACString & aIndexName, bool *_retval) = 0;
100 :
101 : /* readonly attribute boolean transactionInProgress; */
102 : NS_IMETHOD GetTransactionInProgress(bool *aTransactionInProgress) = 0;
103 :
104 : /* void beginTransaction (); */
105 : NS_IMETHOD BeginTransaction(void) = 0;
106 :
107 : enum {
108 : TRANSACTION_DEFERRED = 0,
109 : TRANSACTION_IMMEDIATE = 1,
110 : TRANSACTION_EXCLUSIVE = 2
111 : };
112 :
113 : /* void beginTransactionAs (in int32_t transactionType); */
114 : NS_IMETHOD BeginTransactionAs(int32_t transactionType) = 0;
115 :
116 : /* void commitTransaction (); */
117 : NS_IMETHOD CommitTransaction(void) = 0;
118 :
119 : /* void rollbackTransaction (); */
120 : NS_IMETHOD RollbackTransaction(void) = 0;
121 :
122 : /* void createTable (in string aTableName, in string aTableSchema); */
123 : NS_IMETHOD CreateTable(const char * aTableName, const char * aTableSchema) = 0;
124 :
125 : /* void setGrowthIncrement (in int32_t aIncrement, in AUTF8String aDatabaseName); */
126 : NS_IMETHOD SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName) = 0;
127 :
128 : /* [noscript] void enableModule (in ACString aModuleName); */
129 : NS_IMETHOD EnableModule(const nsACString & aModuleName) = 0;
130 :
131 : /* [noscript] void getQuotaObjects (out QuotaObject aDatabaseQuotaObject, out QuotaObject aJournalQuotaObject); */
132 : NS_IMETHOD GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject) = 0;
133 :
134 : };
135 :
136 : NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageConnection, MOZISTORAGECONNECTION_IID)
137 :
138 : /* Use this macro when declaring classes that implement this interface. */
139 : #define NS_DECL_MOZISTORAGECONNECTION \
140 : NS_IMETHOD Close(void) override; \
141 : NS_IMETHOD Clone(bool aReadOnly, mozIStorageConnection * *_retval) override; \
142 : NS_IMETHOD GetDefaultPageSize(int32_t *aDefaultPageSize) override; \
143 : NS_IMETHOD GetConnectionReady(bool *aConnectionReady) override; \
144 : NS_IMETHOD GetLastInsertRowID(int64_t *aLastInsertRowID) override; \
145 : NS_IMETHOD GetAffectedRows(int32_t *aAffectedRows) override; \
146 : NS_IMETHOD GetLastError(int32_t *aLastError) override; \
147 : NS_IMETHOD GetLastErrorString(nsACString & aLastErrorString) override; \
148 : NS_IMETHOD GetSchemaVersion(int32_t *aSchemaVersion) override; \
149 : NS_IMETHOD SetSchemaVersion(int32_t aSchemaVersion) override; \
150 : NS_IMETHOD CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval) override; \
151 : NS_IMETHOD ExecuteSimpleSQL(const nsACString & aSQLStatement) override; \
152 : NS_IMETHOD TableExists(const nsACString & aTableName, bool *_retval) override; \
153 : NS_IMETHOD IndexExists(const nsACString & aIndexName, bool *_retval) override; \
154 : NS_IMETHOD GetTransactionInProgress(bool *aTransactionInProgress) override; \
155 : NS_IMETHOD BeginTransaction(void) override; \
156 : NS_IMETHOD BeginTransactionAs(int32_t transactionType) override; \
157 : NS_IMETHOD CommitTransaction(void) override; \
158 : NS_IMETHOD RollbackTransaction(void) override; \
159 : NS_IMETHOD CreateTable(const char * aTableName, const char * aTableSchema) override; \
160 : NS_IMETHOD SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName) override; \
161 : NS_IMETHOD EnableModule(const nsACString & aModuleName) override; \
162 : NS_IMETHOD GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject) override;
163 :
164 : /* Use this macro when declaring the members of this interface when the
165 : class doesn't implement the interface. This is useful for forwarding. */
166 : #define NS_DECL_NON_VIRTUAL_MOZISTORAGECONNECTION \
167 : nsresult Close(void); \
168 : nsresult Clone(bool aReadOnly, mozIStorageConnection * *_retval); \
169 : nsresult GetDefaultPageSize(int32_t *aDefaultPageSize); \
170 : nsresult GetConnectionReady(bool *aConnectionReady); \
171 : nsresult GetLastInsertRowID(int64_t *aLastInsertRowID); \
172 : nsresult GetAffectedRows(int32_t *aAffectedRows); \
173 : nsresult GetLastError(int32_t *aLastError); \
174 : nsresult GetLastErrorString(nsACString & aLastErrorString); \
175 : nsresult GetSchemaVersion(int32_t *aSchemaVersion); \
176 : nsresult SetSchemaVersion(int32_t aSchemaVersion); \
177 : nsresult CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval); \
178 : nsresult ExecuteSimpleSQL(const nsACString & aSQLStatement); \
179 : nsresult TableExists(const nsACString & aTableName, bool *_retval); \
180 : nsresult IndexExists(const nsACString & aIndexName, bool *_retval); \
181 : nsresult GetTransactionInProgress(bool *aTransactionInProgress); \
182 : nsresult BeginTransaction(void); \
183 : nsresult BeginTransactionAs(int32_t transactionType); \
184 : nsresult CommitTransaction(void); \
185 : nsresult RollbackTransaction(void); \
186 : nsresult CreateTable(const char * aTableName, const char * aTableSchema); \
187 : nsresult SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName); \
188 : nsresult EnableModule(const nsACString & aModuleName); \
189 : nsresult GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject);
190 :
191 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
192 : #define NS_FORWARD_MOZISTORAGECONNECTION(_to) \
193 : NS_IMETHOD Close(void) override { return _to Close(); } \
194 : NS_IMETHOD Clone(bool aReadOnly, mozIStorageConnection * *_retval) override { return _to Clone(aReadOnly, _retval); } \
195 : NS_IMETHOD GetDefaultPageSize(int32_t *aDefaultPageSize) override { return _to GetDefaultPageSize(aDefaultPageSize); } \
196 : NS_IMETHOD GetConnectionReady(bool *aConnectionReady) override { return _to GetConnectionReady(aConnectionReady); } \
197 : NS_IMETHOD GetLastInsertRowID(int64_t *aLastInsertRowID) override { return _to GetLastInsertRowID(aLastInsertRowID); } \
198 : NS_IMETHOD GetAffectedRows(int32_t *aAffectedRows) override { return _to GetAffectedRows(aAffectedRows); } \
199 : NS_IMETHOD GetLastError(int32_t *aLastError) override { return _to GetLastError(aLastError); } \
200 : NS_IMETHOD GetLastErrorString(nsACString & aLastErrorString) override { return _to GetLastErrorString(aLastErrorString); } \
201 : NS_IMETHOD GetSchemaVersion(int32_t *aSchemaVersion) override { return _to GetSchemaVersion(aSchemaVersion); } \
202 : NS_IMETHOD SetSchemaVersion(int32_t aSchemaVersion) override { return _to SetSchemaVersion(aSchemaVersion); } \
203 : NS_IMETHOD CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval) override { return _to CreateStatement(aSQLStatement, _retval); } \
204 : NS_IMETHOD ExecuteSimpleSQL(const nsACString & aSQLStatement) override { return _to ExecuteSimpleSQL(aSQLStatement); } \
205 : NS_IMETHOD TableExists(const nsACString & aTableName, bool *_retval) override { return _to TableExists(aTableName, _retval); } \
206 : NS_IMETHOD IndexExists(const nsACString & aIndexName, bool *_retval) override { return _to IndexExists(aIndexName, _retval); } \
207 : NS_IMETHOD GetTransactionInProgress(bool *aTransactionInProgress) override { return _to GetTransactionInProgress(aTransactionInProgress); } \
208 : NS_IMETHOD BeginTransaction(void) override { return _to BeginTransaction(); } \
209 : NS_IMETHOD BeginTransactionAs(int32_t transactionType) override { return _to BeginTransactionAs(transactionType); } \
210 : NS_IMETHOD CommitTransaction(void) override { return _to CommitTransaction(); } \
211 : NS_IMETHOD RollbackTransaction(void) override { return _to RollbackTransaction(); } \
212 : NS_IMETHOD CreateTable(const char * aTableName, const char * aTableSchema) override { return _to CreateTable(aTableName, aTableSchema); } \
213 : NS_IMETHOD SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName) override { return _to SetGrowthIncrement(aIncrement, aDatabaseName); } \
214 : NS_IMETHOD EnableModule(const nsACString & aModuleName) override { return _to EnableModule(aModuleName); } \
215 : NS_IMETHOD GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject) override { return _to GetQuotaObjects(aDatabaseQuotaObject, aJournalQuotaObject); }
216 :
217 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
218 : #define NS_FORWARD_SAFE_MOZISTORAGECONNECTION(_to) \
219 : NS_IMETHOD Close(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
220 : NS_IMETHOD Clone(bool aReadOnly, mozIStorageConnection * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(aReadOnly, _retval); } \
221 : NS_IMETHOD GetDefaultPageSize(int32_t *aDefaultPageSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultPageSize(aDefaultPageSize); } \
222 : NS_IMETHOD GetConnectionReady(bool *aConnectionReady) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConnectionReady(aConnectionReady); } \
223 : NS_IMETHOD GetLastInsertRowID(int64_t *aLastInsertRowID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastInsertRowID(aLastInsertRowID); } \
224 : NS_IMETHOD GetAffectedRows(int32_t *aAffectedRows) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAffectedRows(aAffectedRows); } \
225 : NS_IMETHOD GetLastError(int32_t *aLastError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastError(aLastError); } \
226 : NS_IMETHOD GetLastErrorString(nsACString & aLastErrorString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastErrorString(aLastErrorString); } \
227 : NS_IMETHOD GetSchemaVersion(int32_t *aSchemaVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSchemaVersion(aSchemaVersion); } \
228 : NS_IMETHOD SetSchemaVersion(int32_t aSchemaVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSchemaVersion(aSchemaVersion); } \
229 : NS_IMETHOD CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateStatement(aSQLStatement, _retval); } \
230 : NS_IMETHOD ExecuteSimpleSQL(const nsACString & aSQLStatement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecuteSimpleSQL(aSQLStatement); } \
231 : NS_IMETHOD TableExists(const nsACString & aTableName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TableExists(aTableName, _retval); } \
232 : NS_IMETHOD IndexExists(const nsACString & aIndexName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IndexExists(aIndexName, _retval); } \
233 : NS_IMETHOD GetTransactionInProgress(bool *aTransactionInProgress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransactionInProgress(aTransactionInProgress); } \
234 : NS_IMETHOD BeginTransaction(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BeginTransaction(); } \
235 : NS_IMETHOD BeginTransactionAs(int32_t transactionType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BeginTransactionAs(transactionType); } \
236 : NS_IMETHOD CommitTransaction(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CommitTransaction(); } \
237 : NS_IMETHOD RollbackTransaction(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RollbackTransaction(); } \
238 : NS_IMETHOD CreateTable(const char * aTableName, const char * aTableSchema) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateTable(aTableName, aTableSchema); } \
239 : NS_IMETHOD SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGrowthIncrement(aIncrement, aDatabaseName); } \
240 : NS_IMETHOD EnableModule(const nsACString & aModuleName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EnableModule(aModuleName); } \
241 : NS_IMETHOD GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetQuotaObjects(aDatabaseQuotaObject, aJournalQuotaObject); }
242 :
243 : #if 0
244 : /* Use the code below as a template for the implementation class for this interface. */
245 :
246 : /* Header file */
247 : class _MYCLASS_ : public mozIStorageConnection
248 : {
249 : public:
250 : NS_DECL_ISUPPORTS
251 : NS_DECL_MOZISTORAGECONNECTION
252 :
253 : _MYCLASS_();
254 :
255 : private:
256 : ~_MYCLASS_();
257 :
258 : protected:
259 : /* additional members */
260 : };
261 :
262 : /* Implementation file */
263 : NS_IMPL_ISUPPORTS(_MYCLASS_, mozIStorageConnection)
264 :
265 : _MYCLASS_::_MYCLASS_()
266 : {
267 : /* member initializers and constructor code */
268 : }
269 :
270 : _MYCLASS_::~_MYCLASS_()
271 : {
272 : /* destructor code */
273 : }
274 :
275 : /* void close (); */
276 : NS_IMETHODIMP _MYCLASS_::Close()
277 : {
278 : return NS_ERROR_NOT_IMPLEMENTED;
279 : }
280 :
281 : /* mozIStorageConnection clone ([optional] in boolean aReadOnly); */
282 : NS_IMETHODIMP _MYCLASS_::Clone(bool aReadOnly, mozIStorageConnection * *_retval)
283 : {
284 : return NS_ERROR_NOT_IMPLEMENTED;
285 : }
286 :
287 : /* readonly attribute long defaultPageSize; */
288 : NS_IMETHODIMP _MYCLASS_::GetDefaultPageSize(int32_t *aDefaultPageSize)
289 : {
290 : return NS_ERROR_NOT_IMPLEMENTED;
291 : }
292 :
293 : /* readonly attribute boolean connectionReady; */
294 : NS_IMETHODIMP _MYCLASS_::GetConnectionReady(bool *aConnectionReady)
295 : {
296 : return NS_ERROR_NOT_IMPLEMENTED;
297 : }
298 :
299 : /* readonly attribute long long lastInsertRowID; */
300 : NS_IMETHODIMP _MYCLASS_::GetLastInsertRowID(int64_t *aLastInsertRowID)
301 : {
302 : return NS_ERROR_NOT_IMPLEMENTED;
303 : }
304 :
305 : /* readonly attribute long affectedRows; */
306 : NS_IMETHODIMP _MYCLASS_::GetAffectedRows(int32_t *aAffectedRows)
307 : {
308 : return NS_ERROR_NOT_IMPLEMENTED;
309 : }
310 :
311 : /* readonly attribute long lastError; */
312 : NS_IMETHODIMP _MYCLASS_::GetLastError(int32_t *aLastError)
313 : {
314 : return NS_ERROR_NOT_IMPLEMENTED;
315 : }
316 :
317 : /* readonly attribute AUTF8String lastErrorString; */
318 : NS_IMETHODIMP _MYCLASS_::GetLastErrorString(nsACString & aLastErrorString)
319 : {
320 : return NS_ERROR_NOT_IMPLEMENTED;
321 : }
322 :
323 : /* attribute long schemaVersion; */
324 : NS_IMETHODIMP _MYCLASS_::GetSchemaVersion(int32_t *aSchemaVersion)
325 : {
326 : return NS_ERROR_NOT_IMPLEMENTED;
327 : }
328 : NS_IMETHODIMP _MYCLASS_::SetSchemaVersion(int32_t aSchemaVersion)
329 : {
330 : return NS_ERROR_NOT_IMPLEMENTED;
331 : }
332 :
333 : /* mozIStorageStatement createStatement (in AUTF8String aSQLStatement); */
334 : NS_IMETHODIMP _MYCLASS_::CreateStatement(const nsACString & aSQLStatement, mozIStorageStatement * *_retval)
335 : {
336 : return NS_ERROR_NOT_IMPLEMENTED;
337 : }
338 :
339 : /* void executeSimpleSQL (in AUTF8String aSQLStatement); */
340 : NS_IMETHODIMP _MYCLASS_::ExecuteSimpleSQL(const nsACString & aSQLStatement)
341 : {
342 : return NS_ERROR_NOT_IMPLEMENTED;
343 : }
344 :
345 : /* boolean tableExists (in AUTF8String aTableName); */
346 : NS_IMETHODIMP _MYCLASS_::TableExists(const nsACString & aTableName, bool *_retval)
347 : {
348 : return NS_ERROR_NOT_IMPLEMENTED;
349 : }
350 :
351 : /* boolean indexExists (in AUTF8String aIndexName); */
352 : NS_IMETHODIMP _MYCLASS_::IndexExists(const nsACString & aIndexName, bool *_retval)
353 : {
354 : return NS_ERROR_NOT_IMPLEMENTED;
355 : }
356 :
357 : /* readonly attribute boolean transactionInProgress; */
358 : NS_IMETHODIMP _MYCLASS_::GetTransactionInProgress(bool *aTransactionInProgress)
359 : {
360 : return NS_ERROR_NOT_IMPLEMENTED;
361 : }
362 :
363 : /* void beginTransaction (); */
364 : NS_IMETHODIMP _MYCLASS_::BeginTransaction()
365 : {
366 : return NS_ERROR_NOT_IMPLEMENTED;
367 : }
368 :
369 : /* void beginTransactionAs (in int32_t transactionType); */
370 : NS_IMETHODIMP _MYCLASS_::BeginTransactionAs(int32_t transactionType)
371 : {
372 : return NS_ERROR_NOT_IMPLEMENTED;
373 : }
374 :
375 : /* void commitTransaction (); */
376 : NS_IMETHODIMP _MYCLASS_::CommitTransaction()
377 : {
378 : return NS_ERROR_NOT_IMPLEMENTED;
379 : }
380 :
381 : /* void rollbackTransaction (); */
382 : NS_IMETHODIMP _MYCLASS_::RollbackTransaction()
383 : {
384 : return NS_ERROR_NOT_IMPLEMENTED;
385 : }
386 :
387 : /* void createTable (in string aTableName, in string aTableSchema); */
388 : NS_IMETHODIMP _MYCLASS_::CreateTable(const char * aTableName, const char * aTableSchema)
389 : {
390 : return NS_ERROR_NOT_IMPLEMENTED;
391 : }
392 :
393 : /* void setGrowthIncrement (in int32_t aIncrement, in AUTF8String aDatabaseName); */
394 : NS_IMETHODIMP _MYCLASS_::SetGrowthIncrement(int32_t aIncrement, const nsACString & aDatabaseName)
395 : {
396 : return NS_ERROR_NOT_IMPLEMENTED;
397 : }
398 :
399 : /* [noscript] void enableModule (in ACString aModuleName); */
400 : NS_IMETHODIMP _MYCLASS_::EnableModule(const nsACString & aModuleName)
401 : {
402 : return NS_ERROR_NOT_IMPLEMENTED;
403 : }
404 :
405 : /* [noscript] void getQuotaObjects (out QuotaObject aDatabaseQuotaObject, out QuotaObject aJournalQuotaObject); */
406 : NS_IMETHODIMP _MYCLASS_::GetQuotaObjects(mozilla::dom::quota::QuotaObject **aDatabaseQuotaObject, mozilla::dom::quota::QuotaObject **aJournalQuotaObject)
407 : {
408 : return NS_ERROR_NOT_IMPLEMENTED;
409 : }
410 :
411 : /* End of implementation class template. */
412 : #endif
413 :
414 :
415 : #endif /* __gen_mozIStorageConnection_h__ */
|