mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-30 11:44:33 +00:00
33 lines
835 B
C++
33 lines
835 B
C++
#ifndef ZIPARHIVE_H
|
|
#define ZIPARHIVE_H
|
|
#include "idistribution.h"
|
|
|
|
/**
|
|
* @brief The ZipArhive class provide interface for reate final zip arhive
|
|
*/
|
|
class DEPLOYSHARED_EXPORT ZipArhive: public iDistribution
|
|
{
|
|
public:
|
|
ZipArhive(FileManager *fileManager);
|
|
|
|
// iDistribution interface
|
|
public:
|
|
bool deployTemplate(PackageControl &pkg) override;
|
|
bool removeTemplate() const override;
|
|
Envirement toolKitEnv() const override;
|
|
QProcessEnvironment processEnvirement() const override;
|
|
QList<SystemCommandData> runCmd() override;
|
|
QStringList outPutFiles() const override;
|
|
|
|
// iDistribution interface
|
|
protected:
|
|
QString dataLocation(const DistroModule &module) const override;
|
|
QString location(const DistroModule &module) const override;
|
|
private:
|
|
QStringList outFiles;
|
|
|
|
|
|
};
|
|
|
|
#endif // ZIPARHIVE_H
|