diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-08-30 19:12:22 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-08-30 19:12:22 -0700 |
commit | 12df82c1a90208a822ebdf3d5f4994d55ef7cbea (patch) | |
tree | f4e55f053778a637803dd492ae1ac0dcd21ec309 /include/sqliteinterface.hpp | |
parent | fd350c39ce8dab1ebb6bca94abf25e2e782086b3 (diff) | |
download | ytcpp-12df82c1a90208a822ebdf3d5f4994d55ef7cbea.tar.gz |
update
Diffstat (limited to 'include/sqliteinterface.hpp')
-rw-r--r-- | include/sqliteinterface.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sqliteinterface.hpp b/include/sqliteinterface.hpp index 5c7de4d..42965d2 100644 --- a/include/sqliteinterface.hpp +++ b/include/sqliteinterface.hpp @@ -3,6 +3,7 @@ #include <string> #include <sqlite3.h> #include "video.hpp" +#include "invapi.hpp" class SqliteInterface { @@ -14,6 +15,7 @@ class SqliteInterface { void createTables(); void saveVideo(const Video::video&); void saveInstance(const char *uri, float health, const char *location); + void saveInstance(const InvidiousApi::instance&); private: sqlite3* db; }; |