##// END OF EJS Templates
Add access to DataSourceController from SqpApplication
Alexandre Leroux -
r33:2b201d277e22
parent child
Show More
@@ -10,6 +10,8
10
10
11 Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
11 Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
12
12
13 class DataSourceController;
14
13 /**
15 /**
14 * @brief The SqpApplication class aims to make the link between SciQlop
16 * @brief The SqpApplication class aims to make the link between SciQlop
15 * and its plugins. This is the intermediate class that SciQlop has to use
17 * and its plugins. This is the intermediate class that SciQlop has to use
@@ -26,6 +28,8 public:
26 virtual ~SqpApplication();
28 virtual ~SqpApplication();
27 void initialize();
29 void initialize();
28
30
31 DataSourceController &dataSourceController() const noexcept;
32
29 private:
33 private:
30 class SqpApplicationPrivate;
34 class SqpApplicationPrivate;
31 spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
35 spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
@@ -44,3 +44,8 SqpApplication::~SqpApplication()
44 void SqpApplication::initialize()
44 void SqpApplication::initialize()
45 {
45 {
46 }
46 }
47
48 DataSourceController &SqpApplication::dataSourceController() const noexcept
49 {
50 return *impl->m_DataSourceController;
51 }
General Comments 0
You need to be logged in to leave comments. Login now