Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/sqlite.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
private: | private: | ||||
// FIXME: uncomment this line when m_mock is used in commit a0de833 | // FIXME: uncomment this line when m_mock is used in commit a0de833 | ||||
// const bool m_mock{false}; | // const bool m_mock{false}; | ||||
const std::string m_dir_path; | const std::string m_dir_path; | ||||
const std::string m_file_path; | const std::string m_file_path; | ||||
void Cleanup() noexcept; | |||||
public: | public: | ||||
SQLiteDatabase() = delete; | SQLiteDatabase() = delete; | ||||
/** Create DB handle to real database */ | /** Create DB handle to real database */ | ||||
SQLiteDatabase(const fs::path &dir_path, const fs::path &file_path, | SQLiteDatabase(const fs::path &dir_path, const fs::path &file_path, | ||||
bool mock = false); | bool mock = false); | ||||
~SQLiteDatabase(); | ~SQLiteDatabase(); | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |