aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ochess.cpp')
-rw-r--r--src/ochess.cpp2
1 files changed, 2 insertions, 0 deletions
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<TabInfos *> MyApp::ListTabInfos() {
return (tinfos);
}
+Openings& MyApp::GetBook() { return Book; }
+
void MyApp::NewGame(TabInfos *tabsrc,std::shared_ptr<Game> g){
MainWindow *w=((MainWindow *)this->GetTopWindow());
TabInfos *i=w->NewGame(g);