mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47: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:
parent
04443eb847
commit
6a4b125fe5
4 changed files with 15 additions and 25 deletions
|
@ -17,8 +17,8 @@ class Workbook {
|
|||
public:
|
||||
Workbook(NonnullRefPtrVector<Sheet>&& sheets, GUI::Window& parent_window);
|
||||
|
||||
Result<bool, String> save(StringView filename);
|
||||
Result<bool, String> open_file(Core::File&);
|
||||
Result<bool, String> write_to_file(Core::File&);
|
||||
|
||||
String const& current_filename() const { return m_current_filename; }
|
||||
bool set_filename(String const& filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue