pairpal
Loading...
Searching...
No Matches
message_store.hpp
1#ifndef MESSAGE_STORE_HPP
2#define MESSAGE_STORE_HPP
3#include <vector>
4#include <tuple>
5#include <string>
6#include <sqlite3.h>
8public:
11 bool addMessage(const std::string& fromUser, const std::string& toUser, const std::string& messageconst, std::string& timeStamp);
12 std::vector<std::tuple<int, std::string, std::string, std::string, std::string>> getMessages();
13private:
14 sqlite3* db;
15};
16#endif // MESSAGE_STORE_HPP
Definition message_store.hpp:7