28 #ifndef PLUGINSPEC_P_H
29 #define PLUGINSPEC_P_H
33 #include <QtCore/QObject>
34 #include <QtCore/QStringList>
35 #include <QtCore/QXmlStreamReader>
37 namespace ExtensionSystem {
51 bool read(
const QString &fileName);
52 bool provides(
const QString &pluginName,
const QString &version)
const;
55 bool initializePlugin();
56 bool initializeExtensions();
82 static bool isValidVersion(
const QString &version);
83 static int versionCompare(
const QString &version1,
const QString &version2);
88 bool reportError(
const QString &err);
89 void readPluginSpec(QXmlStreamReader &reader);
90 void readDependencies(QXmlStreamReader &reader);
91 void readDependencyEntry(QXmlStreamReader &reader);
92 void readArgumentDescriptions(QXmlStreamReader &reader);
93 void readArgumentDescription(QXmlStreamReader &reader);
95 static QRegExp &versionRegExp();
101 #endif // PLUGINSPEC_P_H
PluginSpec::PluginArgumentDescriptions argumentDescriptions
QList< PluginDependency > dependencies
QList< PluginSpec * > dependencySpecs
Contains the information of the plugins xml description file and information about the plugin's curre...
Base class for all plugins.