Changeset View
Changeset View
Standalone View
Standalone View
libcolorcorrect/compositorcoloradaptor.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | |||||
85 | 85 | | |||
86 | public: | 86 | public: | ||
87 | enum class ErrorCode { | 87 | enum class ErrorCode { | ||
88 | // no error | 88 | // no error | ||
89 | ErrorCodeSuccess = 0, | 89 | ErrorCodeSuccess = 0, | ||
90 | // couldn't establish connection to compositor | 90 | // couldn't establish connection to compositor | ||
91 | ErrorCodeConnectionFailed, | 91 | ErrorCodeConnectionFailed, | ||
92 | // rendering backend doesn't support hardware color correction | 92 | // rendering backend doesn't support hardware color correction | ||
93 | ErrorCodeBackendNoSupport, | 93 | ErrorCodeBackendNoSupport | ||
94 | // it's an X session - no native color correction in general on X | | |||
95 | ErrorCodeXSession | | |||
96 | }; | 94 | }; | ||
97 | Q_ENUMS(ErrorCode) | 95 | Q_ENUMS(ErrorCode) | ||
98 | 96 | | |||
99 | enum class Mode { | 97 | enum class Mode { | ||
100 | ModeAutomatic, | 98 | ModeAutomatic, | ||
101 | ModeLocation, | 99 | ModeLocation, | ||
102 | ModeTimings | 100 | ModeTimings | ||
103 | }; | 101 | }; | ||
▲ Show 20 Lines • Show All 376 Lines • Show Last 20 Lines |