diff options
Diffstat (limited to 'src/server/events/Ping.hpp')
-rw-r--r-- | src/server/events/Ping.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/server/events/Ping.hpp b/src/server/events/Ping.hpp index ad732397..5017fd12 100644 --- a/src/server/events/Ping.hpp +++ b/src/server/events/Ping.hpp @@ -20,7 +20,6 @@ #include "Event.hpp" #include "types.hpp" -#include "Request.hpp" namespace Ingen { namespace Server { @@ -37,11 +36,14 @@ namespace Events { class Ping : public Event { public: - Ping(Engine& engine, SharedPtr<Request> request, SampleCount timestamp) - : Event(engine, request, timestamp) + Ping(Engine& engine, + ClientInterface* client, + int32_t id, + SampleCount timestamp) + : Event(engine, client, id, timestamp) {} - void post_process() { _request->respond_ok(); } + void post_process() { respond_ok(); } }; } // namespace Server |