mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 02:03:18 +00:00
7afdd14a4c
* Gui: ported submenu and view_dispatcher_remove_view from iButton branch * App gui-test: use backported submenu api * App subghz: initial commit * App subghz: syntax fix * App gui-test: fix submenu callback * App subghz: add subfolders to build * Gui view: c++ verison of with_view_model * Subghz app: simple spectrum settings view * Subghz app: add spectrum settings view to view manager * Subghz app: spectrum settings scene Co-authored-by: coreglitch <mail@s3f.ru>
13 lines
No EOL
261 B
C++
13 lines
No EOL
261 B
C++
#pragma once
|
|
#include "../subghz-event.h"
|
|
|
|
class SubghzApp;
|
|
|
|
class SubghzScene {
|
|
public:
|
|
virtual void on_enter(SubghzApp* app) = 0;
|
|
virtual bool on_event(SubghzApp* app, SubghzEvent* event) = 0;
|
|
virtual void on_exit(SubghzApp* app) = 0;
|
|
|
|
private:
|
|
}; |