diff --git a/backends/twitter/userdb.h b/backends/twitter/userdb.h deleted file mode 100644 index a1cf9fe9f74881cec7bf061f3500e8be21399318..0000000000000000000000000000000000000000 --- a/backends/twitter/userdb.h +++ /dev/null @@ -1,48 +0,0 @@ -#if 0 - -#ifndef USERDB_H -#define USERDB_H - -#include -#include -#include -#include -#include "transport/logging.h" - -struct UserData -{ - std::string user; - std::string accessTokenKey; - std::string accessTokenSecret; - UserData(){} - UserData(std::string _user, std::string key, std::string secret) { - user = _user; - accessTokenKey = key; - accessTokenSecret = secret; - } -}; - -class UserDB { - private: - sqlite3 *db; - char *errMsg; - char **result; - int rc; - int nRow,nCol; - bool dbOpen; - std::vector< std::vector > data; - - public: - - UserDB (std::string database); - int exe(std::string s_exe); - void insert(UserData info); - void fetch(std::string user, std::vector &row); - std::set getRegisteredUsers(); - ~UserDB(); -}; - -#endif - - -#endif \ No newline at end of file