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:
parent
34d91dec5b
commit
4ab2903e25
4 changed files with 171 additions and 153 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue