diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-16 14:55:48 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-16 14:55:48 +0100 |
| commit | 3b11b9d4f3eee5faa656d7ee61077e80726bdc36 (patch) | |
| tree | 7817c036843c18eac0012298ec7808d795411f58 /src/ochess.cpp | |
| parent | b7667d1d40045ecd840b9b192c2740e5f83e7eba (diff) | |
Improve openings database code
Diffstat (limited to 'src/ochess.cpp')
| -rw-r--r-- | src/ochess.cpp | 2 |
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); |
