15 lines
333 B
C++
15 lines
333 B
C++
#pragma once
|
|
|
|
enum PacketId {
|
|
KeepAlive = 0,
|
|
Disconnect,
|
|
};
|
|
|
|
#include <examples/KeepAlivePacket.h>
|
|
#include <examples/DisconnectPacket.h>
|
|
|
|
// they must be in the same order !
|
|
using AllPackets = std::tuple<KeepAlivePacket, DisconnectPacket>;
|
|
|
|
#include <sp/default/DefaultPacketHandler.h>
|
|
#include <sp/default/DefaultPacketFactory.h> |