mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
LibChess: Add the UCI quit command
This commit is contained in:
parent
d2f9645cc0
commit
13dbc69c23
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/tcl3
Commit: 13dbc69c23
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
4 changed files with 30 additions and 0 deletions
|
@ -268,4 +268,16 @@ public:
|
|||
// FIXME: Add additional fields.
|
||||
};
|
||||
|
||||
class QuitCommand : public Command {
|
||||
public:
|
||||
explicit QuitCommand()
|
||||
: Command(Command::Type::Quit)
|
||||
{
|
||||
}
|
||||
|
||||
static QuitCommand from_string(StringView command);
|
||||
|
||||
virtual DeprecatedString to_deprecated_string() const override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue