summaryrefslogtreecommitdiffstats
path: root/common/resourcefacade.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resourcefacade.h')
-rw-r--r--common/resourcefacade.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/resourcefacade.h b/common/resourcefacade.h
index 2573b31..64e082f 100644
--- a/common/resourcefacade.h
+++ b/common/resourcefacade.h
@@ -63,12 +63,14 @@ public:
63 typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr emitter(); 63 typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr emitter();
64 void setStatusUpdater(const std::function<void(DomainType &)> &); 64 void setStatusUpdater(const std::function<void(DomainType &)> &);
65 void statusChanged(const QByteArray &identifier); 65 void statusChanged(const QByteArray &identifier);
66 QObject *guard() const;
66 67
67private: 68private:
68 void updateStatus(DomainType &entity); 69 void updateStatus(DomainType &entity);
69 std::function<void(DomainType &)> mStatusUpdater; 70 std::function<void(DomainType &)> mStatusUpdater;
70 QSharedPointer<Sink::ResultProvider<typename DomainType::Ptr>> mResultProvider; 71 QSharedPointer<Sink::ResultProvider<typename DomainType::Ptr>> mResultProvider;
71 ConfigStore mConfigStore; 72 ConfigStore mConfigStore;
73 std::unique_ptr<QObject> mGuard;
72}; 74};
73 75
74template <typename DomainType> 76template <typename DomainType>