mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-30 17:07:45 +00:00
Migrate to std::shared_ptr<GameBase>
This commit is contained in:
parent
44ea0a50a3
commit
bd71371bed
10 changed files with 22 additions and 26 deletions
src
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue