2022-12-23 18:23:05 +01:00
|
|
|
#include "ochess.hpp"
|
2022-12-26 12:51:48 +01:00
|
|
|
#include "GameListManager.hpp"
|
|
|
|
#include "gamebase/GameBase.hpp"
|
2022-12-23 18:23:05 +01:00
|
|
|
|
|
|
|
class BaseManageTab : public TabBase_TabManage {
|
|
|
|
|
2022-12-26 12:51:48 +01:00
|
|
|
/// @brief Never free the following pointer in that class
|
|
|
|
std::shared_ptr<GameListManager> glm;
|
|
|
|
std::shared_ptr<GameBase> base;
|
2022-12-23 18:23:05 +01:00
|
|
|
|
|
|
|
public:
|
2022-12-26 12:51:48 +01:00
|
|
|
BaseManageTab(wxFrame *parent, std::shared_ptr<GameBase> db, std::shared_ptr<GameListManager> glm);
|
|
|
|
void RefreshInformations();
|
|
|
|
void Reset(std::shared_ptr<GameBase> db);
|
2022-12-23 18:23:05 +01:00
|
|
|
};
|