From f4108bc06cd9fa1977267836e9176118e8863b57 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 9 Jan 2023 16:36:48 +0100 Subject: Bind live engine analysis to BoardCanvas --- src/game_tab/right_panel/LiveEngineDialog.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game_tab/right_panel/LiveEngineDialog.hpp') 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 +wxDECLARE_EVENT(SHOW_ENGINE_EVALUATION, wxCommandEvent); + +typedef struct EngineEvaluation { + std::vector best_lines; +} EngineEvaluation; + class LiveEngineDialog : public DialogLiveEngine { uciadapter::UCI *engine; std::string engine_name; -- cgit v1.2.3