#ifndef __BLOGSESSION_H__ #define __BLOGSESSION_H__ #include "BlogUserDatabase.h" #include #include class BlogSession : public Wt::Dbo::Session { public: BlogSession(Wt::Dbo::SqlConnectionPool &connectionPool); static std::unique_ptr createConnectionPool(const std::string &sqlite3); private: Wt::Dbo::SqlConnectionPool &m_connectionPool; BlogUserDatabase m_users; }; #endif // __BLOGSESSION_H__