mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-20 20:01:54 +03:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
10 lines
271 B
C++
10 lines
271 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:
|
|
};
|