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.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ochess.cpp') diff --git a/src/ochess.cpp b/src/ochess.cpp index a7fb50b..7e212f8 100644 --- a/src/ochess.cpp +++ b/src/ochess.cpp @@ -19,6 +19,8 @@ std::vector MyApp::ListTabInfos() { return (tinfos); } +Openings& MyApp::GetBook() { return Book; } + void MyApp::NewGame(TabInfos *tabsrc,std::shared_ptr g){ MainWindow *w=((MainWindow *)this->GetTopWindow()); TabInfos *i=w->NewGame(g); -- cgit v1.2.3