forked from qt-creator/qt-creator
ProjectExplorer: Drop LocalApplicationRunConfiguration
The functionality can be provided by producing a suitable Runnable in the derived classes directly. Change-Id: I7b8e8fe33fffd2b00176b6cf6633eca4e152e466 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -26,24 +26,13 @@
|
||||
#ifndef CMAKERUNCONFIGURATION_H
|
||||
#define CMAKERUNCONFIGURATION_H
|
||||
|
||||
#include <projectexplorer/localapplicationrunconfiguration.h>
|
||||
#include <projectexplorer/runnables.h>
|
||||
#include <utils/environment.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class PathChooser;
|
||||
class DetailsWidget;
|
||||
}
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class CMakeTarget;
|
||||
|
||||
class CMakeRunConfiguration : public ProjectExplorer::LocalApplicationRunConfiguration
|
||||
class CMakeRunConfiguration : public ProjectExplorer::RunConfiguration
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class CMakeRunConfigurationWidget;
|
||||
@@ -53,10 +42,7 @@ public:
|
||||
CMakeRunConfiguration(ProjectExplorer::Target *parent, Core::Id id, const QString &target,
|
||||
const QString &workingDirectory, const QString &title);
|
||||
|
||||
QString executable() const override;
|
||||
ProjectExplorer::ApplicationLauncher::Mode runMode() const override;
|
||||
QString workingDirectory() const override;
|
||||
QString commandLineArguments() const override;
|
||||
ProjectExplorer::Runnable runnable() const override;
|
||||
QWidget *createConfigurationWidget() override;
|
||||
|
||||
void setExecutable(const QString &executable);
|
||||
|
||||
Reference in New Issue
Block a user