#ifndef __HELLO_H__ #define __HELLO_H__ #include class Session; class Hello : public Wt::WApplication { public: Hello(const Wt::WEnvironment &env, Wt::Dbo::SqlConnectionPool &connectionPool, bool embedded); ~Hello(); protected: void greet(); void authEvent(); void handlePathChange(const std::string &path); private: Wt::WLineEdit *m_nameEdit = nullptr; Wt::WText *m_greeting = nullptr; std::unique_ptr m_session; std::string m_externalPath; Wt::WContainerWidget *m_root = nullptr; }; #endif // __HELLO_H__