aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BaseTab.hpp
blob: 26ee8c11936bcb57ac37485099442728cf1cee2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include "BasePanelBF.h"
#include "gamebase/GameBase.hpp"
#include "gamebase/PGNGameBase.hpp"
#include "ochess.hpp"

// Foreign events
wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent);

class BaseTab : public BasePanelBF, public TabInfos {
  GameBase *base;

public:
  BaseTab(wxFrame *parent);
  void ApplyPreferences();
  void LoadFile(std::string path);
  void OnBim(wxCommandEvent &event);
  void OnOpenGame(wxListEvent &event);
};