CQtDeployer/Deploy/pluginsparser.h

31 lines
580 B
C
Raw Normal View History

2019-08-31 22:22:26 +03:00
#ifndef QTMODULES_H
#define QTMODULES_H
#include <QStringList>
2019-09-09 21:19:44 +03:00
#include "deploy_global.h"
2019-09-14 15:51:23 +03:00
#include "deploycore.h"
2019-08-31 22:22:26 +03:00
class DependenciesScanner;
2019-09-09 21:19:44 +03:00
struct DEPLOYSHARED_EXPORT PluginModuleMapping
2019-08-31 22:22:26 +03:00
{
const char *directoryName;
quint64 module;
};
2019-09-09 21:19:44 +03:00
class DEPLOYSHARED_EXPORT PluginsParser
2019-08-31 22:22:26 +03:00
{
private:
DependenciesScanner *_libScaner = nullptr;
quint64 qtModuleForPlugin(const QString &subDirName);
public:
2019-09-14 15:51:23 +03:00
PluginsParser();
bool scan(const QString &pluginPath, QStringList& resDependencies,
DeployCore::QtModule qtModules);
2019-09-08 13:37:33 +03:00
2019-08-31 22:22:26 +03:00
};
#endif // QTMODULES_H