forked from qt-creator/qt-creator
ProjectExplorer: Add some ToolRunner convenience functions
Replicate parts of RunControl's read-only interface for simpler user code. Change-Id: Ic0f2efc0a7a0b96d26c5817f7fbc18b0c91a013b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1305,6 +1305,16 @@ IDevice::ConstPtr ToolRunner::device() const
|
||||
return m_runControl->device();
|
||||
}
|
||||
|
||||
const Runnable &ToolRunner::runnable() const
|
||||
{
|
||||
return m_runControl->runnable();
|
||||
}
|
||||
|
||||
const Connection &ToolRunner::connection() const
|
||||
{
|
||||
return m_runControl->connection();
|
||||
}
|
||||
|
||||
void ToolRunner::prepare()
|
||||
{
|
||||
reportPrepared();
|
||||
|
||||
Reference in New Issue
Block a user