Debug database tab

This commit is contained in:
Loic Guegan 2022-12-26 12:51:48 +01:00
parent 2bd85f53bc
commit 1d78e106ad
15 changed files with 315 additions and 528 deletions

View file

@ -1,10 +1,15 @@
#include "ochess.hpp"
#include "GameListManager.hpp"
#include "gamebase/GameBase.hpp"
class BaseManageTab : public TabBase_TabManage {
/// @brief Never free the following pointer in that class
std::shared_ptr<GameListManager> glm;
std::shared_ptr<GameBase> base;
public:
BaseManageTab(wxFrame *parent);
BaseManageTab(wxFrame *parent, std::shared_ptr<GameBase> db, std::shared_ptr<GameListManager> glm);
void RefreshInformations();
void Reset(std::shared_ptr<GameBase> db);
};