#ifndef _EXPORTOPERATION_H_ #define _EXPORTOPERATION_H_ #include "LogFile.h" #include #include #include // ExportOperation is a small container class for the data necessary // to export log files. The purpose of ExportOperation is to ensure the // lifetime of that data--in particular, the list of log files. class ExportOperation : public QObject { Q_OBJECT std::vector> m_logs; const QString m_szDir; const LogFile::ExportType m_type; public: ExportOperation(const std::vector> & logs, LogFile::ExportType type, QString szDir, QObject * parent = nullptr); void start(); }; #endif