From b9c7dd3aa8b77d9812455437411de5c7640cce95 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Fri, 20 Feb 2015 00:12:45 +0100 Subject: Initial DB API with SQLite3 backend --- src/sqlite3_db.hh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/sqlite3_db.hh (limited to 'src/sqlite3_db.hh') diff --git a/src/sqlite3_db.hh b/src/sqlite3_db.hh new file mode 100644 index 0000000..6e266e9 --- /dev/null +++ b/src/sqlite3_db.hh @@ -0,0 +1,17 @@ +#ifndef SQLITE3_DB_HH +#define SQLITE3_DB_HH + +#include "db.hh" + +#include + +namespace stuff { + +class SQLite3 { +public: + static DB* open(const std::string& path); +}; + +} // namespace stuff + +#endif /* SQLITE3_DB_HH */ -- cgit v1.2.3-70-g09d2