refactoring to interfaces complete
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
namespace Input
|
||||
{
|
||||
|
||||
Detector::Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, EventNotifier* event_notifier) :
|
||||
Detector::Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier) :
|
||||
input_gpio_interface(input_gpio_interface), events(events), is_running(true), event_notifier(event_notifier)
|
||||
{
|
||||
detect_thread = std::thread(&Detector::detect, this);
|
||||
|
||||
Reference in New Issue
Block a user