handle db initialization

This commit is contained in:
Martin Brodbeck 2018-07-11 09:43:40 +02:00
parent 779f085cca
commit b422664f81
2 changed files with 72 additions and 2 deletions

View file

@ -16,8 +16,11 @@ public:
void init();
private:
sqlite3 *db_;
std::string dbname_;
void beginTransaction();
void endTransaction();
void createNew();
int getVersion();
};
#endif // DATABASE_H