forked from qt-creator/qt-creator
ProjectExplorer: Introduce Runnable and Connection concepts.
A 'Runnable' contains (possibly target-specific) data to describe something that could be run (e.g. a remote executable with arguments, working directory and environment). A 'Connection' contains (possibly target-specific) data to describe a connection to target that will be used to run a Runnable. Runnable and Connection objects are used in the target RunControlFactories and are opaque to the project explorer. Change-Id: I2293dffa71148646cfb52c9b582ccd2675b145a8 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -541,6 +541,16 @@ Core::Id RunControl::runMode() const
|
||||
return m_runMode;
|
||||
}
|
||||
|
||||
void RunControl::setRunnable(const Runnable &runnable)
|
||||
{
|
||||
m_runnable = runnable;
|
||||
}
|
||||
|
||||
void RunControl::setConnection(const Connection &connection)
|
||||
{
|
||||
m_connection = connection;
|
||||
}
|
||||
|
||||
QString RunControl::displayName() const
|
||||
{
|
||||
return m_displayName;
|
||||
|
||||
Reference in New Issue
Block a user