1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibGfx/TIFF: Make TIFFLoadingContext::handle_tag be a free function

And move it to another file. This code is going to be generated soon, so
let's put it in another file.
This commit is contained in:
Lucas CHOLLET 2023-11-12 18:34:37 -05:00 committed by Sam Atkins
parent 34d91dec5b
commit 4ab2903e25
4 changed files with 171 additions and 153 deletions

View file

@ -12,6 +12,8 @@
namespace Gfx {
struct Metadata;
namespace TIFF {
enum class Type {
@ -54,6 +56,8 @@ enum class Predictor {
HorizontalDifferencing = 2,
};
ErrorOr<void> handle_tag(Metadata& metadata, u16 tag, Type type, u32 count, Vector<Value> const& value);
}
struct Metadata {