Add <platform> element to pluginspec-files.

The <platform> element may contain a regular expression
matching the names of the platforms on which the plugin works.

Task-number: QTCREATORBUG-9002
Change-Id: Ic816cfed69a5dd2c4112c976843b9106ba2cbd22
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Friedemann Kleint
2013-08-28 16:29:08 +02:00
parent 54a114e639
commit 1d56d718cd
9 changed files with 310 additions and 176 deletions

View File

@@ -36,6 +36,7 @@
#include <QObject>
#include <QStringList>
#include <QXmlStreamReader>
#include <QRegExp>
namespace ExtensionSystem {
@@ -72,6 +73,7 @@ public:
QString description;
QString url;
QString category;
QRegExp platformSpecification;
QList<PluginDependency> dependencies;
bool enabledInSettings;
bool disabledIndirectly;