From 6c34ef20fb217d240c790b24ea330592679ac010 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 21:43:09 +0100 Subject: Now engines can be added --- src/engine_tab/EngineTab.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/engine_tab/EngineTab.hpp') diff --git a/src/engine_tab/EngineTab.hpp b/src/engine_tab/EngineTab.hpp index 6e4913b..3410964 100644 --- a/src/engine_tab/EngineTab.hpp +++ b/src/engine_tab/EngineTab.hpp @@ -4,16 +4,19 @@ // Foreign event wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent); +wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent); class EngineTab : public EngineTabBF, public TabInfos { uciadapter::UCI *engine; std::string confGroup, enginePath; std::string engineName; void InitConfiguration(); - + void LoadConfiguration(); + void RefreshItemList(); public: EngineTab(wxWindow *parent, uciadapter::UCI *engine, std::string engine_path_or_name); + EngineTab(wxWindow *parent, std::string name); void ApplyPreferences() {} void *GetGame() { return (NULL); } void *GetBase() { return (NULL); } -- cgit v1.2.3