refs #907, model interface

* extended interface, function to get simulator
* made CDbMappingComponentAware an interface
* public getMappingComponent
This commit is contained in:
Klaus Basan
2017-03-09 22:47:17 +01:00
committed by Mathew Sutcliffe
parent 1153f70776
commit 60a937b5b6
5 changed files with 25 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ namespace BlackGui
public BlackCore::IProgressIndicator
{
Q_OBJECT
Q_INTERFACES(BlackGui::Components::CDbMappingComponentAware)
public:
//! Current state of this component
@@ -62,7 +63,7 @@ namespace BlackGui
explicit CDbAutoStashingComponent(QWidget *parent = nullptr);
//! Destructor
~CDbAutoStashingComponent();
virtual ~CDbAutoStashingComponent();
//! At least run once and completed
bool isCompleted() const { return m_state == Completed; }