CQtDeployer/Deploy/packing.h

34 lines
597 B
C
Raw Normal View History

2020-01-04 16:39:25 +03:00
#ifndef PACKING_H
#define PACKING_H
#include <QObject>
#include <QProcess>
#include "deploy_global.h"
2020-01-04 16:39:25 +03:00
/**
* @brief The Packing class - this class have interface for configure package and
* create package from deployment distibution.
*/
class ConfigParser;
class iDistribution;
class DEPLOYSHARED_EXPORT Packing : public QObject
2020-01-04 16:39:25 +03:00
{
Q_OBJECT
2020-01-04 16:39:25 +03:00
public:
Packing();
~Packing();
void setDistribution(iDistribution *pakage);
bool create();
private:
iDistribution *_pakage = nullptr;
QProcess *_proc;
private slots:
void handleOutputUpdate();
2020-01-04 16:39:25 +03:00
};
#endif // PACKING_H