1
Fork 0
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:
Mustafa Quraish 2022-01-16 22:43:40 -05:00 committed by Andreas Kling
parent effb19f996
commit f674102447
5 changed files with 33 additions and 71 deletions

View file

@ -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();