refactoring to interfaces complete

This commit is contained in:
Jonas Zeunert
2018-06-14 21:37:54 +02:00
parent 13b5cc0b33
commit 692a2bd68f
11 changed files with 41 additions and 37 deletions

View File

@@ -19,11 +19,11 @@
namespace Input
{
class Detector : IDetector
class Detector : public IDetector
{
public:
Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, EventNotifier* event_notifier);
Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier);
~Detector();
private:
@@ -35,7 +35,7 @@ private:
std::map<char, Event> events;
EventNotifier* event_notifier;
IEventNotifier* event_notifier;
bool is_running;
std::thread detect_thread;