Older/WebApplication/WebApplication.h
amass 83b0ff4369
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 18s
Deploy / Build (push) Successful in 3m0s
add exit command.
2024-11-10 18:33:39 +08:00

25 lines
426 B
C++

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