handle db initialization
This commit is contained in:
parent
779f085cca
commit
b422664f81
2 changed files with 72 additions and 2 deletions
|
@ -16,8 +16,11 @@ public:
|
|||
void init();
|
||||
private:
|
||||
sqlite3 *db_;
|
||||
std::string dbname_;
|
||||
void beginTransaction();
|
||||
void endTransaction();
|
||||
void createNew();
|
||||
int getVersion();
|
||||
};
|
||||
|
||||
#endif // DATABASE_H
|
Loading…
Add table
Add a link
Reference in a new issue