2020-10-29 21:16:45 +03:00
|
|
|
#ifndef DEB_H
|
|
|
|
#define DEB_H
|
|
|
|
|
|
|
|
#include "idistribution.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The deb class contains methods for create a debian pacakge.
|
|
|
|
*/
|
|
|
|
class DEPLOYSHARED_EXPORT Deb: public iDistribution
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Deb(FileManager *fileManager);
|
|
|
|
|
|
|
|
// iDistribution interface
|
|
|
|
public:
|
|
|
|
bool deployTemplate(PackageControl &pkgCtrl) override;
|
|
|
|
bool removeTemplate() const override;
|
|
|
|
Envirement toolKitEnv() const override;
|
|
|
|
QProcessEnvironment processEnvirement() const override;
|
2020-11-10 11:50:54 +03:00
|
|
|
QList<SystemCommandData> runCmd() override;
|
2020-10-29 21:16:45 +03:00
|
|
|
QStringList outPutFiles() const override;
|
2020-11-09 16:33:50 +03:00
|
|
|
bool cb() const override;
|
2020-11-07 01:12:28 +03:00
|
|
|
|
|
|
|
// iDistribution interface
|
|
|
|
protected:
|
|
|
|
QString dataLocation(const QString &packageName) const override;
|
|
|
|
QString location(const QString &packageName) const override;
|
2020-11-09 16:33:50 +03:00
|
|
|
|
|
|
|
private:
|
|
|
|
QStringList outFiles;
|
|
|
|
QStringList packageFolders;
|
|
|
|
|
2020-10-29 21:16:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEB_H
|