made references to pointers
This commit is contained in:
@@ -37,7 +37,7 @@ class Detector
|
||||
{
|
||||
|
||||
public:
|
||||
Detector(GPIOInterface& gpio_interface, std::map<char, InputEvent> events, InputEventNotifier& input_event_notifier);
|
||||
Detector(GPIOInterface* in_gpio_interface, std::map<char, InputEvent> events, InputEventNotifier* input_event_notifier);
|
||||
~Detector();
|
||||
|
||||
private:
|
||||
@@ -45,11 +45,11 @@ private:
|
||||
bool check_inputs(char& address);
|
||||
|
||||
private:
|
||||
GPIOInterface& gpio_interface;
|
||||
GPIOInterface* in_gpio_interface;
|
||||
|
||||
std::map<char, InputEvent> input_events;
|
||||
|
||||
InputEventNotifier& input_event_notifier;
|
||||
InputEventNotifier* input_event_notifier;
|
||||
|
||||
bool is_running;
|
||||
std::thread detect_thread;
|
||||
|
||||
Reference in New Issue
Block a user