threading again

This commit is contained in:
Jonas Zeunert
2018-05-06 23:19:02 +02:00
parent c2fb59139b
commit c1a29d8bea
11 changed files with 20856 additions and 24 deletions

View File

@@ -9,6 +9,7 @@
#define INPUTEVENTHANDLER_H_
#include "InputEvent.h"
#include "Detector.h"
namespace Input
{
@@ -17,13 +18,6 @@ class InputEventHandler
{
class Detector
{
public:
void register_input_event_handler(InputEventHandler* handler);
void unregister_input_event_handler(InputEventHandler* handler);
};
public:
InputEventHandler(std::shared_ptr<Detector> detector) :
detector(detector)