2018-08-19 11:00:13 +03:00
|
|
|
/*
|
2019-01-26 07:54:56 +03:00
|
|
|
* Copyright (C) 2018-2019 QuasarApp.
|
2018-08-19 11:00:13 +03:00
|
|
|
* Distributed under the lgplv3 software license, see the accompanying
|
|
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
|
|
* of this license document, but changing it is not allowed.
|
2018-10-24 17:26:42 +03:00
|
|
|
*/
|
2018-08-19 11:00:13 +03:00
|
|
|
|
2018-08-17 20:47:49 +03:00
|
|
|
#ifndef DEPLOY_H
|
|
|
|
#define DEPLOY_H
|
2018-08-18 18:37:33 +03:00
|
|
|
|
2019-09-08 13:37:33 +03:00
|
|
|
#include "deploy_global.h"
|
2018-08-17 23:54:29 +03:00
|
|
|
|
2019-09-08 13:37:33 +03:00
|
|
|
class CQT;
|
|
|
|
class Extracter;
|
|
|
|
class FileManager;
|
2018-11-23 14:56:55 +03:00
|
|
|
|
2019-09-08 13:37:33 +03:00
|
|
|
class DEPLOYSHARED_EXPORT Deploy
|
|
|
|
{
|
|
|
|
private:
|
2018-12-15 20:51:25 +03:00
|
|
|
|
2019-09-09 18:12:39 +03:00
|
|
|
CQT * _paramsParser = nullptr;
|
|
|
|
Extracter *_extracter = nullptr;
|
|
|
|
FileManager *_fileManager = nullptr;
|
2018-10-24 17:26:42 +03:00
|
|
|
|
2019-09-09 18:12:39 +03:00
|
|
|
bool prepare();
|
|
|
|
int deploy();
|
2019-05-23 18:31:51 +03:00
|
|
|
|
2018-12-09 17:35:07 +03:00
|
|
|
public:
|
2018-08-17 20:47:49 +03:00
|
|
|
Deploy();
|
2019-09-09 18:12:39 +03:00
|
|
|
int run();
|
|
|
|
~Deploy();
|
|
|
|
|
2018-11-23 14:56:55 +03:00
|
|
|
|
2019-09-10 18:22:49 +03:00
|
|
|
friend class deploytest;
|
|
|
|
|
|
|
|
|
2018-08-17 20:47:49 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEPLOY_H
|