diff -r 266df6d5ed73 -r 1a4b9b9fe2b0 QTfrontend/net/proto.h --- a/QTfrontend/net/proto.h Wed Mar 20 09:13:05 2013 +0400 +++ b/QTfrontend/net/proto.h Wed Mar 20 23:18:46 2013 +0100 @@ -35,6 +35,12 @@ static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList); static QString formatChatMsg(const QString & nick, const QString & msg); static QString formatChatMsgForFrontend(const QString & msg); + /** + * @brief Determines if a chat string represents a chat action and returns the action. + * @param string chat string + * @return the action-message or NULL if message is no action + */ + static QString chatStringToAction(const QString & string); }; #endif // _PROTO_H