Skip to content

Commit 668a98b

Browse files
chore: add command listener context
1 parent 98a77b7 commit 668a98b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

room_control_unit/src/config/ContextProvider.h

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "../app/logic/fsm/presencemonitoring/PresenceMonitoring.h"
3030
#include "../app/logic/fsm/peopletracking/PeopleTracking.h"
3131
#include "../app/logic/fsm/oradvancedmonitoring/ORAdvancedMonitoring.h"
32+
#include "../app/logic/fsm/commandlistener/CommandListener.h"
3233

3334

3435

@@ -112,4 +113,11 @@ ORAdvancedMonitoringContext* getORAdvancedMonitoringContext(List<Event*>* eventL
112113
};
113114
}
114115

116+
CommandListenerContext* getCommandListenerContext(DataProvider* dataProvider) {
117+
return new CommandListenerContext {
118+
dataProvider,
119+
nullptr
120+
};
121+
}
122+
115123
#endif

0 commit comments

Comments
 (0)