From 2045a1250a3ae04d7b9ea8e97317e62f55b69247 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 30 Dec 2022 15:58:13 +0100 Subject: Improve UI --- src/ochess.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ochess.hpp') diff --git a/src/ochess.hpp b/src/ochess.hpp index 745aa20..ca97d20 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -56,6 +56,8 @@ public: TabInfos(Type type_) : type(type_), id(tab_count), is_linked(false) { tab_count++; } void Link(TabInfos *tab); virtual void Refresh(){}; + /// @brief Call when tab is linked to another one + virtual void OnLink(){}; virtual void ApplyPreferences() {}; virtual std::shared_ptr GetGame() = 0; virtual std::shared_ptr GetBase() = 0; -- cgit v1.2.3