overqualified CQnetDB class def

pull/14/head
Tom Early 6 years ago
parent c58ada4eae
commit 0497271ad0

@ -22,10 +22,10 @@
class CQnetDB { class CQnetDB {
public: public:
CQnetDB::CQnetDB() : db(NULL) {} CQnetDB() : db(NULL) {}
CQnetDB::~CQnetDB() { if (db) sqlite3_close(db); } ~CQnetDB() { if (db) sqlite3_close(db); }
bool CQnetDB::Open(const char *name, const bool disable = false); bool Open(const char *name, const bool disable = false);
bool CQnetDB::Update(const char *callsign, const char *urcall, const char *source); bool Update(const char *callsign, const char *urcall, const char *source);
private: private:
sqlite3 *db; sqlite3 *db;

Loading…
Cancel
Save

Powered by TurnKey Linux.