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

Chess: Import/Export chessboards using LibFileSystemAccessClient

With this change, the wpath and cpath promises as well as unveiling
user's entire home directory are no longer needed. :^)
This commit is contained in:
Karol Kosek 2022-08-07 00:51:41 +02:00 committed by Tim Flynn
parent 613feb1854
commit 9d7345d17b
4 changed files with 16 additions and 48 deletions

View file

@ -48,8 +48,8 @@ public:
void set_show_available_moves(bool e) { m_show_available_moves = e; }
String get_fen() const;
bool import_pgn(StringView import_path);
bool export_pgn(StringView export_path) const;
void import_pgn(Core::File&);
void export_pgn(Core::File&) const;
int resign();
void flip_board();