21 lines
360 B
C++
21 lines
360 B
C++
#ifndef PACKET_MANAGER_H
|
|
#define PACKET_MANAGER_H
|
|
|
|
#include <QByteArray>
|
|
#include <QDebug>
|
|
#include <QString>
|
|
#include <QStringList>
|
|
|
|
class AOPacket {
|
|
public:
|
|
AOPacket(QString p_header, QStringList p_contents);
|
|
AOPacket(QString packet);
|
|
QString toString();
|
|
QByteArray toUtf8();
|
|
|
|
QString header;
|
|
QStringList contents;
|
|
};
|
|
|
|
#endif // PACKET_MANAGER_H
|