mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Improve database tab
This commit is contained in:
parent
32fdf9272e
commit
cb6fbd18f3
9 changed files with 76 additions and 15 deletions
|
@ -1,15 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include "ochess.hpp"
|
||||
#include "GameListManager.hpp"
|
||||
#include "gamebase/GameBase.hpp"
|
||||
#include "BaseImportTab.hpp"
|
||||
#include "BaseGameTab.hpp"
|
||||
|
||||
class BaseManageTab : public TabBase_TabManage {
|
||||
|
||||
/// @brief Never free the following pointer in that class
|
||||
/// @brief Never free the following pointers in that class
|
||||
std::shared_ptr<GameListManager> glm;
|
||||
std::shared_ptr<GameBase> base;
|
||||
BaseImportTab *import_tab;
|
||||
BaseGameTab *games_tab;
|
||||
|
||||
public:
|
||||
BaseManageTab(wxFrame *parent, std::shared_ptr<GameBase> db, std::shared_ptr<GameListManager> glm);
|
||||
BaseManageTab(wxFrame *parent, std::shared_ptr<GameBase> db,
|
||||
std::shared_ptr<GameListManager> glm, BaseImportTab *import_tab, BaseGameTab *games_tab);
|
||||
void RefreshInformations();
|
||||
void Reset(std::shared_ptr<GameBase> db);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue