ACF $AcfVersion:0$
IColorantList.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IChangeable.h>
7#include <icmm/icmm.h>
8
9
10namespace icmm
11{
12
13
17class IColorantList: virtual public istd::IChangeable
18{
19public:
20 typedef QString ColorantId;
21 typedef QStringList ColorantIds;
22
26 virtual ColorantIds GetColorantIds() const = 0;
27
31 virtual ColorantUsage GetColorantUsage(const ColorantId& colorantId) const = 0;
32};
33
34
35} // namespace icmm
36
37
Common interface for a colorant list used in a substractive color model.
virtual ColorantUsage GetColorantUsage(const ColorantId &colorantId) const =0
Get type of the colorant with the given ID.
QStringList ColorantIds
virtual ColorantIds GetColorantIds() const =0
Get the list of colorant-IDs.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Contains color management classes.
ColorantUsage
Usage of a colorant.
Definition icmm.h:183