4#include "GameListManager.hpp"
5#include "game_tab/Game.hpp"
15 std::shared_ptr<GameListManager> glm;
18 std::vector<std::shared_ptr<Game>> games_to_import;
19 std::vector<std::string> databases_to_import;
23 std::shared_ptr<GameBase> base;
24 std::shared_ptr<GameBase> selected_base;
26 void RefreshPendingImports();
27 void OnLoad(wxCommandEvent &event);
28 void OnImportGame(wxCommandEvent &event);
29 void OnImportSelection(wxCommandEvent &event);
30 void OnImportDatabase(wxCommandEvent &event);
33 int import_ndb, import_ngames,import_nselect;
35 void RefreshImportLists();
36 void Reset(std::shared_ptr<GameBase> base);
37 std::vector<std::shared_ptr<Game>> GetGameToImport();
38 std::vector<std::string> GetDatabaseToImport() {
return databases_to_import;};
A BaseTab sub-tab to import games.
Definition: BaseImportTab.hpp:13
std::unordered_map< std::string, std::unordered_map< long, std::shared_ptr< Game > > > selected_games_to_import
Hold games for each databases.
Definition: BaseImportTab.hpp:21
Class TabBase_TabImport.
Definition: gui.h:376
Used by each tab of the GUI to attach additional informations and features.
Definition: ochess.hpp:47