#ifndef __WEBAPPLICATION_H__ #define __WEBAPPLICATION_H__ #include #include namespace Wt { class WServer; namespace Dbo { class SqlConnectionPool; } }; // namespace Wt class WebApplication { public: WebApplication(); ~WebApplication(); protected: void run(); private: std::unique_ptr m_server; std::thread m_thread; std::unique_ptr m_blogSqlConnectionPool; }; #endif // __WEBAPPLICATION_H__