ImagingTools Core SDK
CIconDataProviderComp.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 <imtrest/CBinaryDataProviderComp.h>
7
8
9namespace imtrest
10{
11
12
13class CIconDataProviderComp: public imtrest::CBinaryDataProviderComp
14{
15public:
16 typedef imtrest::CBinaryDataProviderComp BaseClass;
17
18 I_BEGIN_COMPONENT(CIconDataProviderComp);
19 I_END_COMPONENT;
20
21 // reimplemented (IBinaryDataProvider)
22 virtual bool GetData(
23 QByteArray& data,
24 const QByteArray& dataId,
25 qint64 readFromPosition = 0,
26 qint64 readMaxLength = -1) const override;
27};
28
29
30} // namespace imtrest
31
32