Changeset View
Changeset View
Standalone View
Standalone View
plugins/execute/executeplugin.cpp
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | |||||
60 | using namespace KDevelop; | 60 | using namespace KDevelop; | ||
61 | 61 | | |||
62 | Q_LOGGING_CATEGORY(PLUGIN_EXECUTE, "kdevplatform.plugins.execute") | 62 | Q_LOGGING_CATEGORY(PLUGIN_EXECUTE, "kdevplatform.plugins.execute") | ||
63 | K_PLUGIN_FACTORY_WITH_JSON(KDevExecuteFactory, "kdevexecute.json", registerPlugin<ExecutePlugin>();) | 63 | K_PLUGIN_FACTORY_WITH_JSON(KDevExecuteFactory, "kdevexecute.json", registerPlugin<ExecutePlugin>();) | ||
64 | 64 | | |||
65 | ExecutePlugin::ExecutePlugin(QObject *parent, const QVariantList&) | 65 | ExecutePlugin::ExecutePlugin(QObject *parent, const QVariantList&) | ||
66 | : KDevelop::IPlugin(QStringLiteral("kdevexecute"), parent) | 66 | : KDevelop::IPlugin(QStringLiteral("kdevexecute"), parent) | ||
67 | { | 67 | { | ||
68 | KDEV_USE_EXTENSION_INTERFACE( IExecutePlugin ) | | |||
69 | m_configType = new NativeAppConfigType(); | 68 | m_configType = new NativeAppConfigType(); | ||
70 | m_configType->addLauncher( new NativeAppLauncher() ); | 69 | m_configType->addLauncher( new NativeAppLauncher() ); | ||
71 | qCDebug(PLUGIN_EXECUTE) << "adding native app launch config"; | 70 | qCDebug(PLUGIN_EXECUTE) << "adding native app launch config"; | ||
72 | core()->runController()->addConfigurationType( m_configType ); | 71 | core()->runController()->addConfigurationType( m_configType ); | ||
73 | } | 72 | } | ||
74 | 73 | | |||
75 | ExecutePlugin::~ExecutePlugin() | 74 | ExecutePlugin::~ExecutePlugin() | ||
76 | { | 75 | { | ||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |