refactoring to interfaces complete
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user