ladybird/Userland/Services/ImageDecoder
Andreas Kling d01b4327fa LibGfx: Improve ImageDecoder construction
Previously, ImageDecoder::create() would return a NonnullRefPtr and
could not "fail", although the returned decoder may be "invalid" which
you then had to check anyway.

The new interface looks like this:

    static RefPtr<Gfx::ImageDecoder> try_create(ReadonlyBytes);

This simplifies ImageDecoder since it no longer has to worry about its
validity. Client code gets slightly clearer as well.
2021-07-27 01:17:05 +02:00
..
ClientConnection.cpp LibGfx: Improve ImageDecoder construction 2021-07-27 01:17:05 +02:00
ClientConnection.h ImageDecoder: Remove unnecessary greet() message 2021-05-23 09:53:55 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImageDecoderClient.ipc Everywhere: Use IPC include syntax 2021-07-03 12:16:00 +02:00
ImageDecoderServer.ipc Everywhere: Use IPC include syntax 2021-07-03 12:16:00 +02:00
main.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00