1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef DEF_MESSAGEEVENT
- #define DEF_MESSAGEEVENT
- #include <string>
- #include "pir/ClientDefines.hpp"
- class MessageEvent {
- private :
- message_type mtype;
- std::string message, info;
- public :
- MessageEvent();
- MessageEvent(message_type m_type);
- MessageEvent(std::string message_);
- MessageEvent(message_type mtype_, std::string message_);
- MessageEvent(message_type mtype_, std::string message_, std::string info);
- message_type getMessageType();
- const std::string& getMessage();
- const std::string& getInfo();
- void setMessage(std::string message_);
- };
- #endif
|