LibChess: Add the UCI quit command

This commit is contained in:
Tim Ledbetter 2023-04-01 23:15:53 +01:00 committed by Sam Atkins
commit 13dbc69c23
Notes: sideshowbarker 2024-07-17 07:16:27 +09:00
4 changed files with 30 additions and 0 deletions

View file

@ -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;
};
}