From 3b11b9d4f3eee5faa656d7ee61077e80726bdc36 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 16 Jan 2023 14:55:48 +0100 Subject: Improve openings database code --- src/ochess.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ochess.hpp') diff --git a/src/ochess.hpp b/src/ochess.hpp index 434ca72..7fc4280 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -6,6 +6,7 @@ #endif #include "binres/binres.hpp" +#include "Openings.hpp" #include "gui.h" #include #include @@ -72,10 +73,12 @@ public: */ class MyApp : public wxApp { public: + Openings Book; virtual bool OnInit(); std::vector ListTabInfos(); void NewGame(TabInfos *tabsrc,std::shared_ptr g); void NewGame(std::shared_ptr g); + Openings& GetBook(); }; wxDECLARE_APP(MyApp); -- cgit v1.2.3