##// END OF EJS Templates
Make access to controllers non-const (maybe the controller will be modified)
Alexandre Leroux -
r110:b680d9f3a133
parent child
Show More
@@ -36,9 +36,9 public:
36 void initialize();
36 void initialize();
37
37
38 /// Accessors for the differents sciqlop controllers
38 /// Accessors for the differents sciqlop controllers
39 DataSourceController &dataSourceController() const noexcept;
39 DataSourceController &dataSourceController() noexcept;
40 VariableController &variableController() const noexcept;
40 VariableController &variableController() noexcept;
41 VisualizationController &visualizationController() const noexcept;
41 VisualizationController &visualizationController() noexcept;
42
42
43 private:
43 private:
44 class SqpApplicationPrivate;
44 class SqpApplicationPrivate;
@@ -75,17 +75,17 void SqpApplication::initialize()
75 {
75 {
76 }
76 }
77
77
78 DataSourceController &SqpApplication::dataSourceController() const noexcept
78 DataSourceController &SqpApplication::dataSourceController() noexcept
79 {
79 {
80 return *impl->m_DataSourceController;
80 return *impl->m_DataSourceController;
81 }
81 }
82
82
83 VariableController &SqpApplication::variableController() const noexcept
83 VariableController &SqpApplication::variableController() noexcept
84 {
84 {
85 return *impl->m_VariableController;
85 return *impl->m_VariableController;
86 }
86 }
87
87
88 VisualizationController &SqpApplication::visualizationController() const noexcept
88 VisualizationController &SqpApplication::visualizationController() noexcept
89 {
89 {
90 return *impl->m_VisualizationController;
90 return *impl->m_VisualizationController;
91 }
91 }
General Comments 0
You need to be logged in to leave comments. Login now