Index: client/html/generated/html/dartium/Database.dart |
diff --git a/client/html/generated/html/dartium/Database.dart b/client/html/generated/html/dartium/Database.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..669112f036b00e519da112869104cd286abc52ed |
--- /dev/null |
+++ b/client/html/generated/html/dartium/Database.dart |
@@ -0,0 +1,69 @@ |
+ |
+class _DatabaseImpl extends _DOMTypeBase implements Database { |
+ _DatabaseImpl._wrap(ptr) : super._wrap(ptr); |
+ |
+ String get version() => _wrap(_ptr.version); |
+ |
+ void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) { |
+ if (callback === null) { |
+ if (errorCallback === null) { |
+ if (successCallback === null) { |
+ _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion)); |
+ return; |
+ } |
+ } |
+ } else { |
+ if (errorCallback === null) { |
+ if (successCallback === null) { |
+ _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion), _unwrap(callback)); |
+ return; |
+ } |
+ } else { |
+ if (successCallback === null) { |
+ _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion), _unwrap(callback), _unwrap(errorCallback)); |
+ return; |
+ } else { |
+ _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion), _unwrap(callback), _unwrap(errorCallback), _unwrap(successCallback)); |
+ return; |
+ } |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+ |
+ void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) { |
+ if (errorCallback === null) { |
+ if (successCallback === null) { |
+ _ptr.readTransaction(_unwrap(callback)); |
+ return; |
+ } |
+ } else { |
+ if (successCallback === null) { |
+ _ptr.readTransaction(_unwrap(callback), _unwrap(errorCallback)); |
+ return; |
+ } else { |
+ _ptr.readTransaction(_unwrap(callback), _unwrap(errorCallback), _unwrap(successCallback)); |
+ return; |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+ |
+ void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) { |
+ if (errorCallback === null) { |
+ if (successCallback === null) { |
+ _ptr.transaction(_unwrap(callback)); |
+ return; |
+ } |
+ } else { |
+ if (successCallback === null) { |
+ _ptr.transaction(_unwrap(callback), _unwrap(errorCallback)); |
+ return; |
+ } else { |
+ _ptr.transaction(_unwrap(callback), _unwrap(errorCallback), _unwrap(successCallback)); |
+ return; |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+} |