changed structure
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Created by rhetenor on 27.11.18.
|
||||
//
|
||||
|
||||
#ifndef FLIPPR_DRIVER_INPUTSOCKETHANDLER_H
|
||||
#define FLIPPR_DRIVER_INPUTSOCKETHANDLER_H
|
||||
|
||||
#include "input/EventHandler.h"
|
||||
|
||||
#include <Poco/JSON/JSON.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace utility
|
||||
{
|
||||
class InputSocketHandler : public input::EventHandler
|
||||
{
|
||||
public:
|
||||
InputSocketHandler();
|
||||
|
||||
void handle(input::Event &event) override;
|
||||
|
||||
private:
|
||||
std::string serialize_event(input::Event &event);
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif //FLIPPR_DRIVER_INPUTSOCKETHANDLER_H
|
||||
Reference in New Issue
Block a user