mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 20:29:03 +00:00
ChessEngine: Handle the UCI quit command
This commit is contained in:
parent
13dbc69c23
commit
c2b9376409
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/tcl3
Commit: c2b9376409
Pull-request: https://github.com/SerenityOS/serenity/pull/18140
Issue: https://github.com/SerenityOS/serenity/issues/17427
Reviewed-by: https://github.com/LucasChollet
Reviewed-by: https://github.com/petelliott
3 changed files with 13 additions and 0 deletions
|
@ -18,6 +18,9 @@ public:
|
|||
virtual void handle_uci() override;
|
||||
virtual void handle_position(Chess::UCI::PositionCommand const&) override;
|
||||
virtual void handle_go(Chess::UCI::GoCommand const&) override;
|
||||
virtual void handle_quit() override;
|
||||
|
||||
Function<void(int)> on_quit;
|
||||
|
||||
private:
|
||||
ChessEngine() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue