ImagingTools Core SDK
ICollectionImportParam.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 <iser/ISerializable.h>
7
8// Qt includes
9#include <QtCore/QString>
10#include <QtCore/QByteArray>
11
12
13namespace imtcol
14{
15
16
17class ICollectionImportParam: virtual public iser::ISerializable
18{
19public:
20 struct FileImportInfo
21 {
22 QString filePath;
23 QByteArray objectTypeId;
24 QByteArray proposedId;
25 };
26
27 virtual QByteArray GetCollectionId() const = 0;
28 virtual bool SetCollectionId(const QByteArray& collectionId) = 0;
29
30 virtual int GetFileCount() const = 0;
31 virtual FileImportInfo* GetFileImportInfo(int index) const = 0;
32 virtual bool InsertFileImportInfo(const FileImportInfo& info, int index = -1) = 0;
33 virtual bool RemoveFileImportInfo(int index) = 0;
34};
35
36
37} // namespace imtcol
38
39