aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ochess.hpp')
-rw-r--r--src/ochess.hpp3
1 files changed, 3 insertions, 0 deletions
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 <memory>
#include <wx/app.h>
@@ -72,10 +73,12 @@ public:
*/
class MyApp : public wxApp {
public:
+ Openings Book;
virtual bool OnInit();
std::vector<TabInfos *> ListTabInfos();
void NewGame(TabInfos *tabsrc,std::shared_ptr<Game> g);
void NewGame(std::shared_ptr<Game> g);
+ Openings& GetBook();
};
wxDECLARE_APP(MyApp);