LibGfx/PortableFormat: Port to Stream

Each one of `[PBM, PGM, PPM]Loader` used yet another stream-like relic.
This patch ports all of them to `AK::Stream`.
This commit is contained in:
Lucas CHOLLET
2023-03-12 20:08:29 -04:00
committed by Andreas Kling
parent b9574c180e
commit 7cafd7d177
Notes: sideshowbarker 2024-07-17 00:53:02 +09:00
8 changed files with 88 additions and 79 deletions

View File

@@ -23,5 +23,5 @@ struct PGM {
using PGMLoadingContext = PortableImageMapLoadingContext<PGM>;
using PGMImageDecoderPlugin = PortableImageDecoderPlugin<PGMLoadingContext>;
bool read_image_data(PGMLoadingContext& context, Streamer& streamer);
bool read_image_data(PGMLoadingContext& context);
}