diff options
Diffstat (limited to 'src/invapi.hpp')
-rw-r--r-- | src/invapi.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/invapi.hpp b/src/invapi.hpp index c1e14ce..3f07436 100644 --- a/src/invapi.hpp +++ b/src/invapi.hpp @@ -2,12 +2,16 @@ #define INVAPI_H #include <string> #include <vector> + +#include "sqliteinterface.hpp" + class InvidiousApi { public: InvidiousApi(const std::string& url); static std::vector<std::string> getInstances(); + static void saveInstancesToDb(SqliteInterface& sqldb); std::string getInstance(); void setInstance(const std::string& newUrl); private: |