IFileConversion.h
Go to the documentation of this file.
1 #ifndef ifileproc_IFileConversion_included
2 #define ifileproc_IFileConversion_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include <iprm/IParamsSet.h>
10 #include <ibase/IProgressManager.h>
11 #include <iproc/IProcessor.h>
12 
13 
14 namespace ifileproc
15 {
16 
17 
21 class IFileConversion: virtual public istd::IPolymorphic
22 {
23 public:
27  enum MessageId
28  {
32  MI_INPUT_PATH = 0x5cd40,
37  };
38 
48  virtual int ConvertFiles(
49  const QString& inputPath,
50  QString& outputPath,
51  const iprm::IParamsSet* paramsPtr = NULL,
52  ibase::IProgressManager* progressManagerPtr = NULL) const = 0;
53 };
54 
55 
56 } // namespace ifileproc
57 
58 
59 #endif // !ifileproc_IFileConversion_included
60 
61 
Message ID if output path is invalid.
virtual int ConvertFiles(const QString &inputPath, QString &outputPath, const iprm::IParamsSet *paramsPtr=NULL, ibase::IProgressManager *progressManagerPtr=NULL) const =0
Copy a file or files from inputPath to destination outputPath.
MessageId
Types of messages which can be produced during execution of ConvertFiles method.
Message ID if input path is invalid.
General interface for conversion of files.

© 2007-2017 Witold Gantzke and Kirill Lepskiy