Implemented SQLite starting with saving the user's credentials. Next is to save the access token and then the host uri

This commit is contained in:
kdeng00
2019-10-06 23:17:06 -04:00
parent fe15ea221f
commit bb6b08cf1a
38 changed files with 981 additions and 171 deletions
+28
View File
@@ -0,0 +1,28 @@
//
// Created by brahmix on 10/6/19.
//
#ifndef MEAR_BASEREPOSITORY_H
#define MEAR_BASEREPOSITORY_H
#include <string>
#include <exception>
namespace repository { namespace local {
class BaseRepository {
public:
bool databaseExist(const std::string&);
bool isTableEmpty(const std::string&);
void initializedDatabase(const std::string&);
protected:
std::string pathOfDatabase(const std::string&);
const std::string m_databaseName = "mear.db3";
std::string m_tableName;
private:
};
} }
#endif //MEAR_BASEREPOSITORY_H