mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
Spreadsheet: Use ByteString for file paths
This commit is contained in:
parent
44ca55aaf8
commit
90240c0e02
7 changed files with 26 additions and 26 deletions
|
@ -15,10 +15,10 @@ class Workbook {
|
|||
public:
|
||||
Workbook(Vector<NonnullRefPtr<Sheet>>&& sheets, GUI::Window& parent_window);
|
||||
|
||||
ErrorOr<void, ByteString> open_file(String const& filename, Core::File&);
|
||||
ErrorOr<void> write_to_file(String const& filename, Core::File&);
|
||||
ErrorOr<void, ByteString> open_file(ByteString const& filename, Core::File&);
|
||||
ErrorOr<void> write_to_file(ByteString const& filename, Core::File&);
|
||||
|
||||
ErrorOr<bool, ByteString> import_file(String const& filename, Core::File&);
|
||||
ErrorOr<bool, ByteString> import_file(ByteString const& filename, Core::File&);
|
||||
|
||||
ByteString const& current_filename() const { return m_current_filename; }
|
||||
bool set_filename(ByteString const& filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue