blob: 5b9fccbf5ee23f50a185fd0d16c7acb6d38293d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "LiveEngineDialogFB.h"
#include "UCI.hpp"
#include "ochess.hpp"
#include <wx/timer.h>
class LiveEngineDialog : public LiveEngineDialogFB {
uciadapter::UCI *engine;
std::string engine_name;
wxTimer timer;
std::uint32_t interval;
public:
LiveEngineDialog(wxWindow *parent, std::string engine_name);
void InitEngine();
void TogglePauseEngine(wxCommandEvent &event);
void OnTimerTick(wxTimerEvent &event);
void SetFEN(std::string fen);
};
|