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