5wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent);
6wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent);
7wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
14 std::string confGroup, enginePath;
15 uciadapter::UCI *engine;
16 std::uint32_t engine_id;
17 void InitConfiguration();
18 void LoadConfiguration();
19 void RefreshItemList();
20 void OnSave(wxCommandEvent &event);
21 void OnDelete(wxCommandEvent &event);
24 EngineTab(wxWindow *parent, uciadapter::UCI *engine,
25 std::string engine_path);
26 EngineTab(wxWindow *parent, std::uint32_t
id);
29 std::shared_ptr<Game> GetGame() {
return nullptr; }
30 std::shared_ptr<GameBase> GetBase() {
return nullptr; }
31 std::uint32_t GetEngineId() {
return engine_id; };
Tab used to configure UCI chess engines.
Definition: EngineTab.hpp:13
void ApplyPreferences()
Can be called to load preferences that have been modify in the application settings.
Definition: EngineTab.hpp:28
Class TabEngine.
Definition: gui.h:173
Used by each tab of the GUI to attach additional informations and features.
Definition: ochess.hpp:47