Files
lms/ui/LmsApplication.hpp
T
2014-09-12 00:01:51 +02:00

36 lines
541 B
C++

#ifndef LMS_APPLICATION_HPP
#define LMS_APPLICATION_HPP
#include <Wt/WApplication>
#include "common/SessionData.hpp"
#include "LmsHome.hpp"
namespace UserInterface {
class LmsApplication : public Wt::WApplication
{
public:
static Wt::WApplication *create(const Wt::WEnvironment& env, boost::filesystem::path dbPath);
LmsApplication(const Wt::WEnvironment& env, boost::filesystem::path dbPath);
private:
void handleAuthEvent(void);
SessionData _sessionData;
LmsHome* _home;
};
} // namespace UserInterface
#endif