summaryrefslogtreecommitdiff
path: root/src/protocols/ColorManagement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
-rw-r--r--src/protocols/ColorManagement.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp
index d43d5c12..7cdab37d 100644
--- a/src/protocols/ColorManagement.hpp
+++ b/src/protocols/ColorManagement.hpp
@@ -7,7 +7,7 @@
#include "../helpers/Monitor.hpp"
#include "core/Compositor.hpp"
#include "color-management-v1.hpp"
-#include "types/ColorManagement.hpp"
+#include "../helpers/cm/ColorManagement.hpp"
class CColorManager;
class CColorManagementOutput;
@@ -109,6 +109,14 @@ class CColorManagementIccCreator {
WP<CColorManagementIccCreator> m_self;
NColorManagement::SImageDescription m_settings;
+ struct SIccFile {
+ int fd = -1;
+ uint32_t length = 0;
+ uint32_t offset = 0;
+ bool operator==(const SIccFile& i2) const {
+ return fd == i2.fd;
+ }
+ } m_icc;
private:
SP<CWpImageDescriptionCreatorIccV1> m_resource;