OChess v0.0.2
Programmer's Manual
BaseGameTab Class Reference

A BaseTab sub-tab to list and search games. More...

#include <BaseGameTab.hpp>

Inheritance diagram for BaseGameTab:
TabBase_TabGames

Public Member Functions

 BaseGameTab (wxFrame *parent, std::shared_ptr< GameBase > base)
 
void Reset (std::shared_ptr< GameBase > base)
 
std::vector< std::shared_ptr< Game > > GetEditedGames ()
 
std::vector< std::uint32_t > GetDeletedGameIds ()
 
std::shared_ptr< GameOpenGame (long gameid, long item)
 
std::shared_ptr< GameGetGame ()
 
std::shared_ptr< GameBaseGetBase ()
 
- Public Member Functions inherited from TabBase_TabGames
 TabBase_TabGames (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(559, 522), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 

Public Attributes

std::shared_ptr< GameListManagerglm
 
std::vector< std::uint32_t > deleted
 Old deleted games id.
 
std::unordered_map< long, std::shared_ptr< Game > > edited
 Old edited game id+object.
 

Private Member Functions

void OnDelete (wxCommandEvent &event)
 
void OnApplyFilter (wxCommandEvent &event)
 

Private Attributes

std::shared_ptr< GameBasebase
 

Additional Inherited Members

- Protected Attributes inherited from TabBase_TabGames
wxStaticText * m_staticText28
 
wxTextCtrl * search_terms
 
wxButton * apply_filter_button
 
wxListCtrl * game_list
 
wxButton * delete_button
 

Detailed Description

A BaseTab sub-tab to list and search games.


The documentation for this class was generated from the following files: