mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-23 13:21:44 +03:00
7879876ba1
* toolchain: v36 * toolchain: fixed cert path; lib: nanopb: updated to 0.4.8 * fbtenv: rolled back cert path for 3.11 * clang-format: updated config for v18 * linter fixes * clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`) * clang-format: AllowShortLoopsOnASingleLine: false * toolchain: v37 * fbt: compilation_db.py: fixes for Windows
11 lines
272 B
C++
11 lines
272 B
C++
template <typename TApp>
|
|
class GenericScene {
|
|
public:
|
|
virtual void on_enter(TApp* app, bool need_restore) = 0;
|
|
virtual bool on_event(TApp* app, typename TApp::Event* event) = 0;
|
|
virtual void on_exit(TApp* app) = 0;
|
|
virtual ~GenericScene() {};
|
|
|
|
private:
|
|
};
|