mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
Spreadsheet: Port to Core::Stream
It also takes advantage of the new, `Core::Stream`-friendly, interface in `LibFileSystemAccessClient`.
This commit is contained in:
parent
81008062a7
commit
c6aeb9811c
9 changed files with 52 additions and 54 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "SpreadsheetView.h"
|
||||
#include "Workbook.h"
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <LibCore/Stream.h>
|
||||
#include <LibGUI/Clipboard.h>
|
||||
#include <LibGUI/TabWidget.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
|
@ -23,9 +24,9 @@ class SpreadsheetWidget final
|
|||
public:
|
||||
virtual ~SpreadsheetWidget() override = default;
|
||||
|
||||
void save(Core::File&);
|
||||
void load_file(Core::File&);
|
||||
void import_sheets(Core::File&);
|
||||
void save(String const& filename, Core::Stream::File&);
|
||||
void load_file(String const& filename, Core::Stream::File&);
|
||||
void import_sheets(String const& filename, Core::Stream::File&);
|
||||
bool request_close();
|
||||
void add_sheet();
|
||||
void add_sheet(NonnullRefPtr<Sheet>&&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue