aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BaseManageTab.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_tab/BaseManageTab.hpp')
-rw-r--r--src/base_tab/BaseManageTab.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/base_tab/BaseManageTab.hpp b/src/base_tab/BaseManageTab.hpp
index 39ef4bb..e6bfc71 100644
--- a/src/base_tab/BaseManageTab.hpp
+++ b/src/base_tab/BaseManageTab.hpp
@@ -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);
}; \ No newline at end of file