22 #ifndef CTKPLUGINFRAMEWORKLAUNCHER_H 23 #define CTKPLUGINFRAMEWORKLAUNCHER_H 26 #include <QScopedPointer> 28 #include <ctkPluginFrameworkExport.h> 33 class ctkPluginFrameworkLauncherPrivate;
99 static void setFrameworkProperties(
const ctkProperties& props);
114 static QVariant run(QRunnable* endSplashHandler = NULL,
const QVariant& argument = QVariant());
128 static QVariant run(
const QVariant& argument);
162 static void shutdown();
184 static long install(
const QString& symbolicName,
ctkPluginContext* context = 0);
209 static bool start(
const QString& symbolicName = QString(),
231 static bool stop(
const QString& symbolicName = QString(),
242 static void resolve(
const QSharedPointer<ctkPlugin>& plugin);
250 static void resolve();
266 static QSharedPointer<ctkPluginFramework> getPluginFramework();
277 static void appendPathEnv(
const QString& path);
291 static void addSearchPath(
const QString& searchPath,
bool addToPathEnv =
true);
305 static QString getPluginPath(
const QString& symbolicName);
317 static QStringList getPluginSymbolicNames(
const QString& searchPath);
321 static const QScopedPointer<ctkPluginFrameworkLauncherPrivate> d;
326 #endif // CTKPLUGINFRAMEWORKLAUNCHER_H static const QString PROP_IGNOREAPP
static const QString PROP_ARCH
static const QString PROP_EXITCODE
static const QString PROP_DEV
static const QString PROP_CONSOLE
static const QString PROP_USER_AREA
static const QString PROP_PLUGINS
static const QString PROP_APPLICATION_LAUNCHDEFAULT
static const QString PROP_CONFIG_AREA
static const QString PROP_INSTANCE_AREA
static const QString PROP_CONFIG_AREA_DEFAULT
static const QString PROP_SHARED_CONFIG_AREA
static const QString PROP_OSGI_RELAUNCH
static const QString PROP_DEBUG
static const QString PROP_OS
static const QString PROP_INSTANCE_AREA_DEFAULT
static const QString PROP_ALLOW_APPRELAUNCH
static const QString PROP_USER_AREA_DEFAULT
static const QString PROP_EXITDATA
static const QString PROP_USER_DIR
static const QString PROP_HOME_LOCATION_AREA
static const QString PROP_CONSOLE_LOG
static const QString PROP_NOSHUTDOWN
static const QString PROP_INSTALL_AREA
static const QString PROP_USER_HOME
static const QString PROP_PLUGINS_START_OPTIONS