From 4ffba108e367926f1c254bb1e2f07b6dbace4f32 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 25 Dec 2022 11:13:05 +0100 Subject: Update the db import game feature --- src/ochess.hpp | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'src/ochess.hpp') diff --git a/src/ochess.hpp b/src/ochess.hpp index 47e08e4..9b3bd3e 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -32,19 +32,6 @@ #define CONFIG_OPEN(name) wxConfig *name = new wxConfig("ochess") #define CONFIG_CLOSE(name) delete name -/** - * @brief Main application - * - */ -class MyApp : public wxApp { -public: - virtual bool OnInit(); -}; - -wxDECLARE_APP(MyApp); - -///@brief Abort ochess with a message -void Abort(std::string msg); class Game; class GameBase; @@ -69,3 +56,19 @@ public: virtual std::shared_ptr GetGame() = 0; virtual std::shared_ptr GetBase() = 0; }; + + +/** + * @brief Main application + * + */ +class MyApp : public wxApp { +public: + virtual bool OnInit(); + std::vector ListTabInfos(); +}; + +wxDECLARE_APP(MyApp); + +///@brief Abort ochess with a message +void Abort(std::string msg); -- cgit v1.2.3