forked from qt-creator/qt-creator
Add a runMode method to the RunControl
And use it to implement changing the run icon in the application output. That implementation does only support the two run modes run and debug for now. Further abstraction for more run modes to be done once needed. Task-Nr: QTCREATORBUG-1232
This commit is contained in:
@@ -39,10 +39,11 @@ class QmlProjectRunConfiguration;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class QmlRunControl : public ProjectExplorer::RunControl {
|
||||
class QmlRunControl : public ProjectExplorer::RunControl
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit QmlRunControl(QmlProjectRunConfiguration *runConfiguration, bool debugMode);
|
||||
explicit QmlRunControl(QmlProjectRunConfiguration *runConfiguration, QString mode);
|
||||
virtual ~QmlRunControl ();
|
||||
|
||||
// RunControl
|
||||
@@ -63,7 +64,6 @@ private:
|
||||
|
||||
QString m_executable;
|
||||
QStringList m_commandLineArguments;
|
||||
bool m_debugMode;
|
||||
};
|
||||
|
||||
class QmlRunControlFactory : public ProjectExplorer::IRunControlFactory {
|
||||
|
||||
Reference in New Issue
Block a user