OMOTE/Platformio/src/simMain.cpp
MatthewColvin 38ec26dce7 rework Notifications by adding handler class that can unregister when it falls out of scope.
rework wifi Interface around this new concept and patch up some old uses of notifications to follow new paradigm

compile out old UI code because notification refactor broke it.
2023-10-15 00:22:43 -05:00

16 lines
No EOL
287 B
C++

#include "BasicUI.hpp"
#include "HardwareSimulator.hpp"
#include "omoteconfig.h"
#include <memory>
int main() {
auto hwSim = std::make_shared<HardwareSimulator>();
hwSim->init();
auto ui = UI::BasicUI(hwSim);
// ui->layout_UI();
while (true) {
ui.loopHandler();
}
}