![]() |
OChess v0.0.2
Programmer's Manual
|
A BaseTab sub-tab to import games. More...
#include <BaseImportTab.hpp>
Public Member Functions | |
| BaseImportTab (wxFrame *parent, std::shared_ptr< GameBase > db, TabInfos *main_tab) | |
| void | RefreshImportLists () |
| void | Reset (std::shared_ptr< GameBase > base) |
| std::vector< std::shared_ptr< Game > > | GetGameToImport () |
| std::vector< std::string > | GetDatabaseToImport () |
Public Member Functions inherited from TabBase_TabImport | |
| TabBase_TabImport (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 661), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
Public Attributes | |
| int | import_ndb |
| int | import_ngames |
| int | import_nselect |
Private Attributes | |
| TabInfos * | main_tab |
| std::shared_ptr< GameListManager > | glm |
| std::vector< std::shared_ptr< Game > > | games_to_import |
| std::vector< std::string > | databases_to_import |
| std::unordered_map< std::string, std::unordered_map< long, std::shared_ptr< Game > > > | selected_games_to_import |
| Hold games for each databases. | |
| std::shared_ptr< GameBase > | base |
| std::shared_ptr< GameBase > | selected_base |
Additional Inherited Members | |
Protected Attributes inherited from TabBase_TabImport | |
| wxTextCtrl * | pending_imports |
| wxStaticText * | from_game_label |
| wxComboBox * | opened_game_list |
| wxButton * | import_from_game_button |
| wxStaticLine * | m_staticline4 |
| wxStaticText * | m_staticText29 |
| wxComboBox * | opened_db_list |
| wxButton * | load_button |
| wxListCtrl * | game_list |
| wxButton * | import_from_db_button |
| wxButton * | m_button16 |
A BaseTab sub-tab to import games.