1 #ifndef ifileproc_CExternalFileConverterComp_included
2 #define ifileproc_CExternalFileConverterComp_included
6 #include <QtCore/QProcess>
52 I_ASSIGN(m_executablePathCompPtr,
"ExecutablePath",
"Path to the converter's executable file",
true,
"ExecutablePath");
53 I_ASSIGN(m_defaultProcessArgumentsAttrPtr,
"DefaultProcessArguments",
"Application conversion arguments.\nUse $(Input) to specify the input and $(Output) for output file name",
false,
"$(Input) $(Output)");
54 I_ASSIGN(m_processArgumentsParamsIdAttrPtr,
"ProcessArgumentsParamsId",
"ID of the command line parameter (given as a INameParam object) in the parameter set",
true,
"ProcessArgumentsParamsId");
55 I_ASSIGN_MULTI_0(m_additionalArgumentsCompPtr,
"AdditionalArguments",
"Additional command line arguments",
false);
60 const QString& inputPath,
70 void OnReadyReadStandardError();
71 void OnReadyReadStandardOutput();
75 I_ATTR(QString, m_defaultProcessArgumentsAttrPtr);
76 I_ATTR(QByteArray, m_processArgumentsParamsIdAttrPtr);
80 mutable QProcess m_conversionProcess;
88 #endif // !ifileproc_CExternalFileConverterComp_included
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.
File converter, which uses an external programm to perform the file conversion.
virtual void OnComponentCreated()
ilog::CLoggerComponentBase BaseClass
General interface for conversion of files.