mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
added more virtual methods to network exchange service
removed xml parser utility removed extraneous info from retrodb git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5073 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
030b009f9a
commit
e560e00029
8 changed files with 316 additions and 10940 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -42,7 +42,7 @@ const int RetroDb::OPEN_READONLY = SQLITE_OPEN_READONLY;
|
|||
const int RetroDb::OPEN_READWRITE = SQLITE_OPEN_READWRITE;
|
||||
const int RetroDb::OPEN_READWRITE_CREATE = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
|
||||
|
||||
RetroDb::RetroDb(const std::string &dbPath, int flags) : mDb(NULL), mCurrStmt(NULL) {
|
||||
RetroDb::RetroDb(const std::string &dbPath, int flags) : mDb(NULL) {
|
||||
|
||||
int rc = sqlite3_open_v2(dbPath.c_str(), &mDb, flags, NULL);
|
||||
|
||||
|
|
|
@ -141,11 +141,6 @@ public:
|
|||
*/
|
||||
void vacuum();
|
||||
|
||||
/*!
|
||||
* TODO: remove, do not use; for testing
|
||||
*/
|
||||
sqlite3_stmt* getCurrStmt();
|
||||
|
||||
public:
|
||||
|
||||
static const int OPEN_READONLY;
|
||||
|
@ -156,7 +151,6 @@ private:
|
|||
|
||||
|
||||
sqlite3* mDb;
|
||||
sqlite3_stmt* mCurrStmt; // TODO: remove
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue