add extensions include
This commit is contained in:
5
include/sp/extensions/Extensions.h
Normal file
5
include/sp/extensions/Extensions.h
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#if __has_include(<sp/extensions/Compress.h>)
|
||||||
|
#include <sp/extensions/Compress.h>
|
||||||
|
#endif
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
#include <examples/PacketExample.h>
|
#include <examples/PacketExample.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include <sp/extensions/Extensions.h>
|
||||||
|
|
||||||
class KeepAliveHandler : public sp::PacketHandler {
|
class KeepAliveHandler : public sp::PacketHandler {
|
||||||
void Handle(const KeepAlivePacket& packet) {
|
void Handle(const KeepAlivePacket& packet) {
|
||||||
std::cout << "KeepAlive handled !\n";
|
std::cout << "KeepAlive handled !\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user