mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
25 lines
No EOL
785 B
C++
25 lines
No EOL
785 B
C++
#include "UCI.hpp"
|
|
#include "ochess.hpp"
|
|
|
|
// Foreign event
|
|
wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent);
|
|
wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent);
|
|
|
|
class EngineTab : public TabEngine, public TabInfos {
|
|
uciadapter::UCI *engine;
|
|
std::string confGroup, enginePath;
|
|
std::string engineName;
|
|
void InitConfiguration();
|
|
void LoadConfiguration();
|
|
void RefreshItemList();
|
|
public:
|
|
EngineTab(wxWindow *parent, uciadapter::UCI *engine,
|
|
std::string engine_path_or_name);
|
|
EngineTab(wxWindow *parent, std::string name);
|
|
~EngineTab();
|
|
void ApplyPreferences() {}
|
|
std::shared_ptr<Game> GetGame() { return nullptr; }
|
|
std::shared_ptr<GameBase> GetBase() { return nullptr; }
|
|
void OnSave(wxCommandEvent &event);
|
|
void OnDelete(wxCommandEvent &event);
|
|
}; |