ImagingTools Core SDK
IMetaInfoCreator.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// ACF includes
6#include <istd/TSmartPtr.h>
7#include <idoc/IDocumentMetaInfo.h>
8
9
10namespace imtbase
11{
12
13
18class IMetaInfoCreator: virtual public istd::IPolymorphic
19{
20public:
21 typedef QList<QByteArray> TypeIds;
22
26 virtual TypeIds GetSupportedTypeIds() const = 0;
27
32 virtual bool CreateMetaInfo(const istd::IChangeable* dataPtr, const QByteArray& typeId, idoc::MetaInfoPtr& metaInfoPtr) const = 0;
33};
34
35
36} // namespace imtbase
37
38
virtual bool CreateMetaInfo(const istd::IChangeable *dataPtr, const QByteArray &typeId, idoc::MetaInfoPtr &metaInfoPtr) const =0
virtual TypeIds GetSupportedTypeIds() const =0