mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
TextEditor: Use FileSystemAccessClient::try_* APIs
This commit is contained in:
parent
effb19f996
commit
f674102447
5 changed files with 33 additions and 71 deletions
|
@ -24,7 +24,7 @@ class MainWidget final : public GUI::Widget {
|
|||
|
||||
public:
|
||||
virtual ~MainWidget() override;
|
||||
bool read_file_and_close(int fd, String const& path);
|
||||
bool read_file(Core::File&);
|
||||
void open_nonexistent_file(String const& path);
|
||||
bool request_close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue