ICF 3.1.1.10
Technical documentation of ICF Libraries
IFileConversion.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef ifileproc_IFileConversion_included
7#define ifileproc_IFileConversion_included
8
9
10// Qt includes
11#include <QtCore/QString>
12
13// ICF includes
14#include <iprm/IParamsSet.h>
16#include <iproc/CTaskState.h>
17
18
19namespace ifileproc
20{
21
22
26class IFileConversion: virtual public istd::IPolymorphic
27{
28public:
33 {
37 MI_INPUT_PATH = 0x5cd40,
42 };
43
54 const QString& inputPath,
55 QString& outputPath,
56 const iprm::IParamsSet* paramsPtr = nullptr,
57 iproc::IProgressManager* progressManagerPtr = nullptr) const = 0;
58};
59
60
61} // namespace ifileproc
62
63
64#endif // !ifileproc_IFileConversion_included
65
66
General interface for conversion of files.
MessageId
Types of messages which can be produced during execution of ConvertFiles method.
@ MI_OUTPUT_PATH
Message ID if output path is invalid.
@ MI_INPUT_PATH
Message ID if input path is invalid.
virtual iproc::CTaskState ConvertFiles(const QString &inputPath, QString &outputPath, const iprm::IParamsSet *paramsPtr=nullptr, iproc::IProgressManager *progressManagerPtr=nullptr) const =0
Copy a file or files from inputPath to destination outputPath.
Set of general parameters.
Definition IParamsSet.h:29
Represent state of asynchronous operation.
Definition CTaskState.h:28
Consume information about progress of some process.
Contains the classes for general file processing.

© Witold Gantzke and Kirill Lepskiy