mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
PixelPaint: Use FileSystemAccessClient::try_* APIs
This commit is contained in:
parent
aae96af812
commit
1c3e93c6e0
11 changed files with 59 additions and 105 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
ProjectLoader() = default;
|
||||
~ProjectLoader() = default;
|
||||
|
||||
ErrorOr<void> try_load_from_fd_and_close(int fd, StringView path);
|
||||
ErrorOr<void> try_load_from_file(Core::File&);
|
||||
|
||||
bool is_raw_image() const { return m_is_raw_image; }
|
||||
bool has_image() const { return !m_image.is_null(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue