equal
deleted
inserted
replaced
24 #include <QStringList> |
24 #include <QStringList> |
25 |
25 |
26 |
26 |
27 class HWProto : public QObject |
27 class HWProto : public QObject |
28 { |
28 { |
29 Q_OBJECT |
29 Q_OBJECT |
30 |
30 |
31 public: |
31 public: |
32 HWProto(); |
32 HWProto(); |
33 static QByteArray & addStringToBuffer(QByteArray & buf, const QString & string); |
33 static QByteArray & addStringToBuffer(QByteArray & buf, const QString & string); |
34 static QByteArray & addByteArrayToBuffer(QByteArray & buf, const QByteArray & msg); |
34 static QByteArray & addByteArrayToBuffer(QByteArray & buf, const QByteArray & msg); |
35 static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList); |
35 static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList); |
36 static QString formatChatMsg(const QString & nick, const QString & msg); |
36 static QString formatChatMsg(const QString & nick, const QString & msg); |
37 static QString formatChatMsgForFrontend(const QString & msg); |
37 static QString formatChatMsgForFrontend(const QString & msg); |
38 }; |
38 }; |
39 |
39 |
40 #endif // _PROTO_H |
40 #endif // _PROTO_H |