ImagingTools Core SDK
IFontProvider.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ImtCore includes
6#include <imtstyle/IDesignSchemaInfoProvider.h>
7
8
9class QFont;
10
11
12namespace imtbase
13{
14 class ICollectionInfo;
15}
16
17namespace imtstyle
18{
19
20
21class IFontProvider: virtual public IDesignSchemaInfoProvider
22{
23public:
24 virtual const imtbase::ICollectionInfo& GetFontList(const QByteArray& designSchemaId) const = 0;
25 virtual bool GetFont(const QByteArray& designSchemaId, const QByteArray& fontId, QFont& font) const = 0;
26};
27
28
29} // namespace imtstyle
30
31