diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 21:43:09 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 21:43:09 +0100 |
| commit | 6c34ef20fb217d240c790b24ea330592679ac010 (patch) | |
| tree | bd684043d7aeb22f578d525e4f4a71c05eb5577b /src/engine_tab/EngineTab.hpp | |
| parent | e601902dd5a9f023594fef6a0f4995e59b4d9a0e (diff) | |
Now engines can be added
Diffstat (limited to 'src/engine_tab/EngineTab.hpp')
| -rw-r--r-- | src/engine_tab/EngineTab.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |
