Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GUI_DIALOGS_MP_CMD_WRAPPER_HPP_INCLUDED
00017 #define GUI_DIALOGS_MP_CMD_WRAPPER_HPP_INCLUDED
00018
00019 #include "gui/dialogs/dialog.hpp"
00020 #include "tstring.hpp"
00021
00022 namespace gui2 {
00023
00024 class tmp_cmd_wrapper : public tdialog
00025 {
00026 public:
00027
00028
00029
00030
00031
00032
00033 explicit tmp_cmd_wrapper(const t_string& user);
00034
00035
00036
00037 const std::string& message() const { return message_; }
00038 const std::string& reason() const { return reason_; }
00039 const std::string& time() const { return time_; }
00040
00041 private:
00042
00043
00044 std::string message_;
00045
00046
00047 std::string reason_;
00048
00049
00050 std::string time_;
00051
00052
00053 void pre_show(CVideo& video, twindow& window);
00054
00055
00056 virtual const std::string& window_id() const;
00057 };
00058
00059 }
00060
00061 #endif // GUI_DIALOGS_MP_CMD_WRAPPER_HPP_INCLUDED
00062