Added sqlite
This commit is contained in:
parent
3b8e40e888
commit
dd378a45cf
6 changed files with 72 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue