Migrate to std::shared_ptr<GameBase>

This commit is contained in:
Loic Guegan 2022-02-28 20:30:57 +01:00
parent 44ea0a50a3
commit bd71371bed
10 changed files with 22 additions and 26 deletions

View file

@ -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;
};