From 3a849a66be09d9271b8d8857b1dd17f9f474f2bb 2017-06-20 12:16:12 From: mperrinel Date: 2017-06-20 12:16:12 Subject: [PATCH] Time widget is now used with the variable createion request --- diff --git a/core/include/Variable/VariableController.h b/core/include/Variable/VariableController.h index f7fdba5..0945b53 100644 --- a/core/include/Variable/VariableController.h +++ b/core/include/Variable/VariableController.h @@ -7,6 +7,7 @@ #include class IDataProvider; +class TimeController; class Variable; class VariableModel; @@ -23,6 +24,8 @@ public: VariableModel *variableModel() noexcept; + void setTimeController(TimeController *timeController) noexcept; + signals: /// Signal emitted when a variable has been created void variableCreated(std::shared_ptr variable); diff --git a/core/src/Variable/VariableController.cpp b/core/src/Variable/VariableController.cpp index 7651e40..4ed7282 100644 --- a/core/src/Variable/VariableController.cpp +++ b/core/src/Variable/VariableController.cpp @@ -4,6 +4,7 @@ #include #include #include +#include