From ce3329047d378a14006ce74ec273ac59e3375303 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 12 May 2010 19:42:27 +0200 Subject: initial import of latest svn version --- src/core/pvsChatMsg.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/core/pvsChatMsg.h (limited to 'src/core/pvsChatMsg.h') 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_ */ -- cgit v1.2.3-55-g7522