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

LibGfx: Extract Profile::read_header() function

This commit is contained in:
Nico Weber 2023-01-18 22:28:10 -05:00 committed by Linus Groh
parent e5234f582d
commit 5017d8fdcb
2 changed files with 28 additions and 20 deletions

View file

@ -246,6 +246,8 @@ public:
static Crypto::Hash::MD5::DigestType compute_id(ReadonlyBytes);
private:
ErrorOr<void> read_header(ReadonlyBytes);
u32 m_on_disk_size { 0 };
Optional<PreferredCMMType> m_preferred_cmm_type;
Version m_version;