diff options
Diffstat (limited to 'src/core/module/ModuleManager.h')
-rw-r--r-- | src/core/module/ModuleManager.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/module/ModuleManager.h b/src/core/module/ModuleManager.h index 586627b6..865f196b 100644 --- a/src/core/module/ModuleManager.h +++ b/src/core/module/ModuleManager.h @@ -76,7 +76,7 @@ class GPGFRONTEND_CORE_EXPORT ModuleManager : public QObject { std::optional<std::any> RetrieveRTValue(Namespace, Key); - bool ListenPublish(QObject*, Namespace, Key, LPCallback); + bool ListenRTPublish(QObject*, Namespace, Key, LPCallback); private: class Impl; @@ -106,9 +106,12 @@ void TriggerEvent(const EventIdentifier& event_id, Args&&... args) { std::move(MakeEvent(event_id, std::forward<Args>(args)...))); } -bool GPGFRONTEND_CORE_EXPORT UpsertRTValueTyped(const std::string& namespace_, - const std::string& key, - const std::any& value); +bool GPGFRONTEND_CORE_EXPORT UpsertRTValue(const std::string& namespace_, + const std::string& key, + const std::any& value); + +bool GPGFRONTEND_CORE_EXPORT ListenRTPublishEvent(QObject*, Namespace, Key, + LPCallback); template <typename T> std::optional<T> RetrieveRTValueTyped(const std::string& namespace_, |