2020-01-05 13:58:38 +03:00
|
|
|
#ifndef DEFAULTDISTRO_H
|
|
|
|
#define DEFAULTDISTRO_H
|
|
|
|
|
|
|
|
#include "idistribution.h"
|
|
|
|
|
|
|
|
class DEPLOYSHARED_EXPORT DefaultDistro : public iDistribution
|
|
|
|
{
|
|
|
|
public:
|
2020-01-15 18:31:09 +03:00
|
|
|
DefaultDistro(FileManager *);
|
2020-01-05 13:58:38 +03:00
|
|
|
|
2020-03-15 14:22:19 +03:00
|
|
|
QString getConfig() const ;
|
2020-08-15 14:38:03 +03:00
|
|
|
bool deployTemplate(PackageControl &pkg) override;
|
2020-03-15 14:22:19 +03:00
|
|
|
Envirement toolKitEnv() const override;
|
2020-11-10 11:50:54 +03:00
|
|
|
QList<SystemCommandData> runCmd() override;
|
2020-03-15 14:22:19 +03:00
|
|
|
bool removeTemplate() const override;
|
|
|
|
QProcessEnvironment processEnvirement() const override;
|
2020-03-08 13:52:26 +03:00
|
|
|
|
2020-03-15 14:22:19 +03:00
|
|
|
QStringList outPutFiles() const override;
|
2020-11-07 01:12:28 +03:00
|
|
|
|
|
|
|
// iDistribution interface
|
|
|
|
protected:
|
2020-12-03 20:00:14 +03:00
|
|
|
QString dataLocation(const DistroModule &module) const override;
|
|
|
|
QString location(const DistroModule &module) const override;
|
|
|
|
QString releativeLocation(const DistroModule &module) const override;
|
|
|
|
|
2020-01-05 13:58:38 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEFAULTDISTRO_H
|