##// 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 11 Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
12 12
13 class DataSourceController;
14
13 15 /**
14 16 * @brief The SqpApplication class aims to make the link between SciQlop
15 17 * and its plugins. This is the intermediate class that SciQlop has to use
@@ -26,6 +28,8 public:
26 28 virtual ~SqpApplication();
27 29 void initialize();
28 30
31 DataSourceController &dataSourceController() const noexcept;
32
29 33 private:
30 34 class SqpApplicationPrivate;
31 35 spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
@@ -44,3 +44,8 SqpApplication::~SqpApplication()
44 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