Refactor modules ownership
This commit is contained in:
8 files changed
+222
-168
No files matched your search
@@ -42,13 +42,12 @@ public:
|
||||
ModuleHandleDock( QWidget* parent, CalypAppModuleIf* moduleIf );
|
||||
~ModuleHandleDock();
|
||||
|
||||
void enableModule( std::unique_ptr<CalypAppModuleIf>&& module );
|
||||
void setModuleReturnValue( double value );
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
private:
|
||||
std::unique_ptr<CalypAppModuleIf> m_pcCurrModuleIf;
|
||||
CalypAppModuleIf* m_pcCurrModuleIf;
|
||||
|
||||
bool m_bIsVisible;
|
||||
QLabel* labelModulueValueLabel;
|
||||
|
||||
Reference in new issue
Block a user