main: move more tiny objects out of main.cpp
This commit is contained in:
@@ -36,10 +36,12 @@ struct ConfigService: public Task {
|
||||
void handleEvent(const InputEvent &evt) override;
|
||||
const CoordinateMapping* coordMap() const { return &m_jsonMap; }
|
||||
const char* loadedProfile() const;
|
||||
void overrideProfile(const char* profileName);
|
||||
|
||||
private:
|
||||
HardwareConfig m_config;
|
||||
JsonCoordinateMapping m_jsonMap;
|
||||
const char* m_overrideProfile = nullptr;
|
||||
|
||||
void loadProfile(const char* name);
|
||||
void loadMap(const String& mapName);
|
||||
|
Reference in New Issue
Block a user