#ifndef __DIALOG_H__ #define __DIALOG_H__ #include #include class Dialog : public Wt::WContainerWidget { public: Dialog(); protected: void setStatus(const Wt::WString &result); void messageBox1(); void messageBox2(); void messageBox3(); void messageBox4(); void custom(); void messageBoxDone(Wt::StandardButton result); private: Wt::WText *m_status = nullptr; std::unique_ptr m_messageBox; }; #endif // __DIALOG_H__