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

LibGfx/ICC: Move enums to dedicated Enums.{cpp,h}

We will need to use ColorSpace in TagTypes.h, and it can't include
Profile.h.

Also makes Profile.cpp a bit smaller.

No behavior change, pure code move.
This commit is contained in:
Nico Weber 2023-12-03 04:21:50 +09:00 committed by Sam Atkins
parent 6d743ce9e8
commit 64ffae9c55
7 changed files with 258 additions and 232 deletions

View file

@ -13,7 +13,7 @@ namespace Gfx::ICC {
// The ICC spec uses FourCCs for many different things.
// This is used to give FourCCs for different roles distinct types, so that they can only be compared to the correct constants.
// (FourCCs that have only a small and fixed set of values should use an enum class instead, see e.g. DeviceClass and ColorSpace in Profile.h.)
// (FourCCs that have only a small and fixed set of values should use an enum class instead, see e.g. DeviceClass and ColorSpace in Enums.h.)
enum class FourCCType {
PreferredCMMType,
DeviceManufacturer,