about summary refs log tree commit diff stats
path: root/src/sqliteinterface.hpp
diff options
context:
space:
mode:
authorComradeCrow <comradecrow@vivaldi.net>2023-04-24 16:42:27 -0700
committerComradeCrow <comradecrow@vivaldi.net>2023-04-24 16:42:27 -0700
commit407a6f2507c784918a1c77ade4114c706f2c1e34 (patch)
tree7f3d55c555ee8c06f30e103607aa2d333df6c7b2 /src/sqliteinterface.hpp
parent9af660d1fe3506ff129fbb62576a74ec20f9a5f2 (diff)
downloadytcpp-407a6f2507c784918a1c77ade4114c706f2c1e34.tar.gz
changes
Diffstat (limited to 'src/sqliteinterface.hpp')
-rw-r--r--src/sqliteinterface.hpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/sqliteinterface.hpp b/src/sqliteinterface.hpp
index 4a18f85..5dc25d3 100644
--- a/src/sqliteinterface.hpp
+++ b/src/sqliteinterface.hpp
@@ -2,6 +2,15 @@
 #define SQLITEINTERFACE_H
 #include <string>
 #include <sqlite3.h>
- 
-void openDB();
+class SqliteInterface {
+
+    public:
+        SqliteInterface();
+        ~SqliteInterface();
+        void openDB();
+        void closeDB();
+    private:
+        sqlite3* db;
+};
+
 #endif  
\ No newline at end of file