mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-14 07:21:30 +10:00
18 lines
497 B
C++
18 lines
497 B
C++
#pragma once
|
|
|
|
#include "MeshModule.h"
|
|
#include "configuration.h"
|
|
#include "input/InputBroker.h"
|
|
#include <Arduino.h>
|
|
#include <functional>
|
|
|
|
class SystemCommandsModule {
|
|
CallbackObserver<SystemCommandsModule, const InputEvent *> inputObserver =
|
|
CallbackObserver<SystemCommandsModule, const InputEvent *>(this, &SystemCommandsModule::handleInputEvent);
|
|
|
|
public:
|
|
SystemCommandsModule();
|
|
int handleInputEvent(const InputEvent *event);
|
|
};
|
|
|
|
extern SystemCommandsModule *systemCommandsModule; |