mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-24 03:07:21 +03:00
9 lines
270 B
C++
9 lines
270 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:
|
||
|
};
|