Refactor modules ownership

This commit is contained in:
jfmcarreira committed 2021-09-19 21:50:15 +01:00
1 parent a093efce9c
commit 94444e38ec
8 files changed
+222 -168

No files matched your search

+1 -2
View File
@@ -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;