aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-28 20:30:57 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-28 20:30:57 +0100
commitbd71371beda1b81e5664d6bb5ccdd4634fb52588 (patch)
tree00be4629962a77feb668b6783aa9f99d8127192a /src/ochess.hpp
parent44ea0a50a39d58cb9e1f167c2973e396b4d853aa (diff)
Migrate to std::shared_ptr<GameBase>
Diffstat (limited to 'src/ochess.hpp')
-rw-r--r--src/ochess.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ochess.hpp b/src/ochess.hpp
index 3b2769e..9f09a88 100644
--- a/src/ochess.hpp
+++ b/src/ochess.hpp
@@ -47,7 +47,7 @@ wxDECLARE_APP(MyApp);
void Abort(std::string msg);
class Game;
-
+class GameBase;
/**
* @brief Attach informations to the application tabs
*
@@ -59,5 +59,5 @@ public:
TabInfos(Type type_) : type(type_) {}
virtual void ApplyPreferences() = 0;
virtual std::shared_ptr<Game> GetGame() = 0;
- virtual void *GetBase() = 0;
+ virtual std::shared_ptr<GameBase> GetBase() = 0;
};