summaryrefslogtreecommitdiff
path: root/src/sqlite3_db.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-02-20 00:12:45 +0100
committerJoel Klinghed <the_jk@yahoo.com>2015-02-20 00:12:45 +0100
commitb9c7dd3aa8b77d9812455437411de5c7640cce95 (patch)
treec261ac5af10163b220763b9819cbc00dff62558d /src/sqlite3_db.hh
Initial DB API with SQLite3 backend
Diffstat (limited to 'src/sqlite3_db.hh')
-rw-r--r--src/sqlite3_db.hh17
1 files changed, 17 insertions, 0 deletions
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 <string>
+
+namespace stuff {
+
+class SQLite3 {
+public:
+ static DB* open(const std::string& path);
+};
+
+} // namespace stuff
+
+#endif /* SQLITE3_DB_HH */