aboutsummaryrefslogtreecommitdiff
path: root/src/engine_tab/EngineTab.hpp
blob: 6e4913b83638267d5ba46930c63f054a2cd406a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "EngineTabBF.h"
#include "UCI.hpp"
#include "ochess.hpp"

// Foreign event
wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent);

class EngineTab : public EngineTabBF, public TabInfos {
  uciadapter::UCI *engine;
  std::string confGroup, enginePath;
  std::string engineName;
  void InitConfiguration();

public:
  EngineTab(wxWindow *parent, uciadapter::UCI *engine,
            std::string engine_path_or_name);
  void ApplyPreferences() {}
  void *GetGame() { return (NULL); }
  void *GetBase() { return (NULL); }
  void OnSave(wxCommandEvent &event);
  void OnDelete(wxCommandEvent &event);
};