/* # Copyright (c) 2009 - OpenSLX Project, Computer Center University of Freiburg # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING # # If you have any feedback please consult http://openslx.org/feedback and # send your suggestions, praise, or complaints to feedback@openslx.org # # General information about OpenSLX can be found at http://openslx.org/ */ // pvsChatMsg.h #include "src/net/pvsMsg.h" #ifndef PVSCHATMSG_H_ #define PVSCHATMSG_H_ class PVSChatMsg { public: PVSChatMsg(PVSMsg pvsMsg); ~PVSChatMsg(); void setNickFrom(QString nick); void setNickTo(QString nick); void setMsg(QString msg); QString getNickFrom(); QString getNickTo(); QString getMsg(); QString getCommand(); QString getUsername(); QString getIp(); bool isCommand(); private: QString _msg; QString _nickFrom; QString _nickTo; QString _command; QString _username; QString _ip; }; #endif /* PVSCHATMSG_H_ */