Older/WebApplication/WebApplication.h

24 lines
347 B
C
Raw Normal View History

2024-10-30 23:59:59 +08:00
#ifndef __WEBAPPLICATION_H__
#define __WEBAPPLICATION_H__
#include <memory>
#include <thread>
namespace Wt {
class WServer;
};
class WebApplication {
public:
WebApplication();
~WebApplication();
protected:
void run();
private:
std::unique_ptr<Wt::WServer> m_server;
std::thread m_thread;
};
#endif // __WEBAPPLICATION_H__