diff options
Diffstat (limited to 'include/gui/Page.hpp')
-rw-r--r-- | include/gui/Page.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/Page.hpp b/include/gui/Page.hpp index 47aa02b..4c63702 100644 --- a/include/gui/Page.hpp +++ b/include/gui/Page.hpp @@ -12,6 +12,9 @@ namespace gsr { Page& operator=(const Page&) = delete; virtual ~Page() = default; + virtual void on_navigate_to_page() {} + virtual void on_navigate_away_from_page() {} + //void remove_child_widget(Widget *widget) override; void add_widget(std::unique_ptr<Widget> widget); |