8 #ifndef SIMPLECHATWIDGET_H_ 9 #define SIMPLECHATWIDGET_H_ 11 #include <Wt/WContainerWidget.h> 12 #include <Wt/WJavaScript.h> 13 #include <Wt/WSound.h> 61 virtual void createLayout(std::unique_ptr<Wt::WWidget> messages, std::unique_ptr<Wt::WWidget> userList,
62 std::unique_ptr<Wt::WWidget> messageEdit,
63 std::unique_ptr<Wt::WWidget> sendButton, std::unique_ptr<Wt::WWidget> logoutButton);
74 typedef std::map<Wt::WString, bool>
UserMap;
105 #endif // SIMPLECHATWIDGET
Encapsulate a chat event.