Added sqlite

This commit is contained in:
Robert 2020-12-14 15:53:44 +01:00
parent 3b8e40e888
commit dd378a45cf
6 changed files with 72 additions and 6 deletions

View file

@ -2,6 +2,8 @@
#include <string>
struct sqlite3;
namespace Anki
{
class Package
@ -14,6 +16,12 @@ namespace Anki
int Open(const std::string& filename);
private:
char* collection;
void DumpAnki2File(const char* raw, size_t size);
private:
sqlite3* collection;
std::string tmpDbName;
static bool sqlite_init;
};
}