OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface Database { | 7 interface Database { |
8 | 8 |
9 String get version(); | 9 final String version; |
10 | 10 |
11 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall
back]); | 11 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall
back]); |
12 | 12 |
13 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback, VoidCallback successCallback]); | 13 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback, VoidCallback successCallback]); |
14 | 14 |
15 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback, VoidCallback successCallback]); | 15 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback, VoidCallback successCallback]); |
16 } | 16 } |
OLD | NEW |