aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BaseManageTab.hpp
blob: 39ef4bbd147c5139384eca3a17547d8f66241283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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, std::shared_ptr<GameBase> db, std::shared_ptr<GameListManager> glm);
    void RefreshInformations();
    void Reset(std::shared_ptr<GameBase> db);
};