diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-02-01 12:00:24 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-02-01 12:00:24 +0100 |
| commit | e0babeaf88b2a434b10ffb65824440b1adfaa151 (patch) | |
| tree | 7ec40bc44f1c9ed72f6f455c28dd58a5d373a370 /src/ochess.hpp | |
| parent | d9818df8791730130adc5349e863b35de0e1c351 (diff) | |
Improve management of engines tabs
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 d5b7c16..6317c2f 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -64,6 +64,7 @@ public: virtual void ApplyPreferences() {}; virtual std::shared_ptr<Game> GetGame() = 0; virtual std::shared_ptr<GameBase> GetBase() = 0; + virtual std::uint32_t GetEngineId() { return 0; }; }; @@ -76,6 +77,7 @@ public: Openings Book; virtual bool OnInit(); std::vector<TabInfos *> ListTabInfos(); + void FocusOnTab(TabInfos *); void NewGame(TabInfos *tabsrc,std::shared_ptr<Game> g); void NewGame(std::shared_ptr<Game> g); Openings& GetBook(); |
