CQtDeployer/Deploy/distrostruct.h

46 lines
1.3 KiB
C
Raw Normal View History

2019-08-25 12:06:01 +03:00
//#
//# Copyright (C) 2018-2019 QuasarApp.
//# 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.
//#
#ifndef DISTROSTRUCT_H
#define DISTROSTRUCT_H
#include <QString>
/**
* @brief The DistroStruct class
*/
class DistroStruct
{
private:
QString libOutDir;
QString binOutDir;
QString qmlOutDir;
QString trOutDir;
QString resOutDeir;
QString pluginsOutDir;
2019-08-25 12:43:06 +03:00
QString getRelativePath(QString path) const;
2019-08-25 12:35:31 +03:00
2019-08-25 12:06:01 +03:00
public:
DistroStruct();
2019-08-25 12:35:31 +03:00
QString getLibOutDir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setLibOutDir(const QString &value);
2019-08-25 12:35:31 +03:00
QString getBinOutDir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setBinOutDir(const QString &value);
2019-08-25 12:35:31 +03:00
QString getQmlOutDir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setQmlOutDir(const QString &value);
2019-08-25 12:35:31 +03:00
QString getTrOutDir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setTrOutDir(const QString &value);
2019-08-25 12:35:31 +03:00
QString getResOutDeir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setResOutDeir(const QString &value);
2019-08-25 12:35:31 +03:00
QString getPluginsOutDir(const QString& basePath = "/") const;
2019-08-25 12:06:01 +03:00
void setPluginsOutDir(const QString &value);
};
#endif // DISTROSTRUCT_H