#ifndef SQLITEINTERFACE_H #define SQLITEINTERFACE_H #include #include #include "video.hpp" class SqliteInterface { public: SqliteInterface(); ~SqliteInterface(); void openDB(); void closeDB(); void createTables(); void saveVideo(const Video::video&); void saveInstance(const std::string& uri, float health, const std::string& location); private: sqlite3* db; }; #endif