diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-30 15:58:13 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-30 15:58:13 +0100 |
| commit | 2045a1250a3ae04d7b9ea8e97317e62f55b69247 (patch) | |
| tree | 2e132c890439753de52feb80de298898788ef05c /src/ochess.hpp | |
| parent | 27ac369fb6b773f642eabed087194ff7e95f9156 (diff) | |
Improve UI
Diffstat (limited to 'src/ochess.hpp')
| -rw-r--r-- | src/ochess.hpp | 2 |
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; |
