aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ochess.hpp')
-rw-r--r--src/ochess.hpp2
1 files changed, 2 insertions, 0 deletions
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<Game> GetGame() = 0;
virtual std::shared_ptr<GameBase> GetBase() = 0;