diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-09 16:36:48 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-09 16:36:48 +0100 |
| commit | f4108bc06cd9fa1977267836e9176118e8863b57 (patch) | |
| tree | 3cd663f6547c6915d4f0fe8cf137fe68a9a1bec4 /src/game_tab/right_panel/LiveEngineDialog.hpp | |
| parent | 30b7577ab321e70b5ebb2c4ec1b9edfe1d3c0a44 (diff) | |
Bind live engine analysis to BoardCanvas
Diffstat (limited to 'src/game_tab/right_panel/LiveEngineDialog.hpp')
| -rw-r--r-- | src/game_tab/right_panel/LiveEngineDialog.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game_tab/right_panel/LiveEngineDialog.hpp b/src/game_tab/right_panel/LiveEngineDialog.hpp index 0996ba0..d99c3f5 100644 --- a/src/game_tab/right_panel/LiveEngineDialog.hpp +++ b/src/game_tab/right_panel/LiveEngineDialog.hpp @@ -1,7 +1,15 @@ +#pragma once + #include "UCI.hpp" #include "ochess.hpp" #include <wx/timer.h> +wxDECLARE_EVENT(SHOW_ENGINE_EVALUATION, wxCommandEvent); + +typedef struct EngineEvaluation { + std::vector<std::string> best_lines; +} EngineEvaluation; + class LiveEngineDialog : public DialogLiveEngine { uciadapter::UCI *engine; std::string engine_name; |
