mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
20 lines
419 B
C
20 lines
419 B
C
|
#ifndef QQTLANPROTOCOL_H
|
||
|
#define QQTLANPROTOCOL_H
|
||
|
|
||
|
#include "qqtprotocol.h"
|
||
|
|
||
|
class QQTLanProtocol : public QQTProtocol
|
||
|
{
|
||
|
public:
|
||
|
explicit QQTLanProtocol(QObject *parent = 0);
|
||
|
|
||
|
// QQTProtocol interface
|
||
|
public:
|
||
|
quint16 minlength() override;
|
||
|
quint16 maxlength() override;
|
||
|
quint16 splitter(const QByteArray &s) override;
|
||
|
bool dispatcher(const QByteArray &m) override;
|
||
|
};
|
||
|
|
||
|
#endif // QQTLANPROTOCOL_H
|