added tests
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include <thread>
|
||||
#include <map>
|
||||
|
||||
#include "../utilities/InputGPIOInterface.h"
|
||||
#include "../utilities/IInputGPIOInterface.h"
|
||||
#include "Event.h"
|
||||
#include "IEventNotifier.h"
|
||||
|
||||
@@ -30,7 +30,7 @@ class Detector : public IDetector
|
||||
{
|
||||
|
||||
public:
|
||||
Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier);
|
||||
Detector(IInputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier);
|
||||
~Detector();
|
||||
|
||||
private:
|
||||
@@ -38,7 +38,7 @@ private:
|
||||
bool check_inputs(char& address);
|
||||
|
||||
private:
|
||||
InputGPIOInterface* input_gpio_interface;
|
||||
IInputGPIOInterface* input_gpio_interface;
|
||||
|
||||
std::map<char, Event> events;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user