CComposedCopyFilesComp.h
Go to the documentation of this file.
1 #ifndef ifileproc_CComposedCopyFilesComp_included
2 #define ifileproc_CComposedCopyFilesComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include <ilog/TLoggerCompWrap.h>
10 
11 // ACF-Solutions includes
13 
14 
15 namespace ifileproc
16 {
17 
18 
24  virtual public ifileproc::IFileConversion
25 {
26 public:
28 
29  enum MessageId
30  {
31  MI_CRITICAL = 0xa8760
32  };
33 
34  I_BEGIN_COMPONENT(CComposedCopyFilesComp);
35  I_REGISTER_INTERFACE(ifileproc::IFileConversion);
36  I_ASSIGN_MULTI_0(m_fileCopiersCompPtr, "FileCopiers", "Set of copiers will be used for input and output path", true);
37  I_END_COMPONENT;
38 
39  // reimplemented (ifileproc::IFileConversion)
40  virtual int ConvertFiles(
41  const QString& inputPath,
42  QString& outputPath,
43  const iprm::IParamsSet* paramsPtr = NULL,
44  ibase::IProgressManager* progressManagerPtr = NULL) const;
45 
46 private:
47  I_MULTIREF(ifileproc::IFileConversion, m_fileCopiersCompPtr);
48 };
49 
50 
51 } // namespace ifileproc
52 
53 
54 #endif // !ifileproc_CComposedCopyFilesComp_included
55 
56 
ilog::CLoggerComponentBase BaseClass
virtual int ConvertFiles(const QString &inputPath, QString &outputPath, const iprm::IParamsSet *paramsPtr=NULL, ibase::IProgressManager *progressManagerPtr=NULL) const
Copy a file or files from inputPath to destination outputPath.
General interface for conversion of files.

© 2007-2017 Witold Gantzke and Kirill Lepskiy