1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

Chess: Port to Core::Stream

This commit is contained in:
Lucas CHOLLET 2023-01-07 10:30:35 -05:00 committed by Sam Atkins
parent 9a05175a88
commit a5d5b970ff
3 changed files with 43 additions and 34 deletions

View file

@ -48,8 +48,8 @@ public:
void set_show_available_moves(bool e) { m_show_available_moves = e; }
DeprecatedString get_fen() const;
void import_pgn(Core::File&);
void export_pgn(Core::File&) const;
ErrorOr<void> import_pgn(Core::Stream::File&);
ErrorOr<void> export_pgn(Core::Stream::File&) const;
int resign();
void flip_board();