diff options
Diffstat (limited to 'store/database.h')
-rw-r--r-- | store/database.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/store/database.h b/store/database.h index b42b9f7..1a124be 100644 --- a/store/database.h +++ b/store/database.h | |||
@@ -1,9 +1,10 @@ | |||
1 | #include <lmdb.h> | 1 | #include <lmdb.h> |
2 | #include <string> | 2 | #include <string> |
3 | #include <QString> | ||
3 | 4 | ||
4 | class Database { | 5 | class Database { |
5 | public: | 6 | public: |
6 | Database(); | 7 | Database(const QString &path); |
7 | ~Database(); | 8 | ~Database(); |
8 | MDB_txn *startTransaction(); | 9 | MDB_txn *startTransaction(); |
9 | void endTransaction(MDB_txn *transaction); | 10 | void endTransaction(MDB_txn *transaction); |