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

Spreadsheet: Make save functions take a Core::File instead of a filename

This allows us to use FileSystemAccessClient functions.
This commit is contained in:
Karol Kosek 2022-05-22 12:14:18 +02:00 committed by Ali Mohammad Pur
parent 04443eb847
commit 6a4b125fe5
4 changed files with 15 additions and 25 deletions

View file

@ -23,7 +23,7 @@ class SpreadsheetWidget final
public:
virtual ~SpreadsheetWidget() override = default;
void save(StringView filename);
void save(Core::File&);
void load_file(Core::File&);
bool request_close();
void add_sheet();