OChess v0.0.2
Programmer's Manual
BaseManageTab.hpp
1#pragma once
2
3#include "ochess.hpp"
4#include "GameListManager.hpp"
5#include "gamebase/GameBase.hpp"
6#include "BaseImportTab.hpp"
7#include "BaseGameTab.hpp"
8
14
16 std::shared_ptr<GameListManager> glm;
17 std::shared_ptr<GameBase> base;
18
21 BaseGameTab *games_tab;
22
23 bool has_pending_events;
24
25public:
26 BaseManageTab(wxFrame *parent, std::shared_ptr<GameBase> db,
27 std::shared_ptr<GameListManager> glm, BaseImportTab *import_tab, BaseGameTab *games_tab);
28 void RefreshInformations();
29 void Reset(std::shared_ptr<GameBase> db);
30 bool HasPendingEvents(){return(has_pending_events);};
31};
A BaseTab sub-tab to list and search games.
Definition: BaseGameTab.hpp:12
A BaseTab sub-tab to import games.
Definition: BaseImportTab.hpp:13
A BaseTab sub-tab to manage games.
Definition: BaseManageTab.hpp:13
std::shared_ptr< GameListManager > glm
Never free the following pointers in that class.
Definition: BaseManageTab.hpp:16
BaseImportTab * import_tab
Pointers for data access.
Definition: BaseManageTab.hpp:20
Class TabBase_TabManage.
Definition: gui.h:404