diff options
Diffstat (limited to 'src/core/pvsChatMsg.h')
| -rw-r--r-- | src/core/pvsChatMsg.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/core/pvsChatMsg.h b/src/core/pvsChatMsg.h new file mode 100644 index 0000000..0a9793e --- /dev/null +++ b/src/core/pvsChatMsg.h @@ -0,0 +1,48 @@ +/* +# 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_ */ |
