ImagingTools Core SDK
IDocumentValidator.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/IPolymorphic.h>
7
8// Qt includes
9#include <QtCore/QByteArray>
10
11
12class QString;
13
14
15namespace istd
16{
17
18
19class IChangeable;
20
21
22}
23
24
25namespace imtdoc
26{
27
28
29class IDocumentValidator : virtual public istd::IPolymorphic
30{
31public:
41 virtual bool ValidateDocumentData(const QByteArray& objectId, const istd::IChangeable& document, QString& errorMessage) const = 0;
42};
43
44
45} // namespace imtdoc