mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-19 09:52:39 +00:00
Rearrange TPMS app/UI code.
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
|
||||
class TPMSModel {
|
||||
public:
|
||||
TPMSModel();
|
||||
|
||||
ManchesterFormatted on_packet(const TPMSPacketMessage& message);
|
||||
|
||||
private:
|
||||
@@ -40,14 +38,18 @@ private:
|
||||
|
||||
namespace ui {
|
||||
|
||||
class TPMSAppView : public Console {
|
||||
class TPMSAppView : public View {
|
||||
public:
|
||||
void on_show() override;
|
||||
void on_hide() override;
|
||||
TPMSAppView();
|
||||
~TPMSAppView();
|
||||
|
||||
void set_parent_rect(const Rect new_parent_rect) override;
|
||||
|
||||
private:
|
||||
TPMSModel model;
|
||||
|
||||
Console console;
|
||||
|
||||
void log(const ManchesterFormatted& formatted);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user