1#ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_MESSENGER_HPP
2#define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_MESSENGER_HPP
4#include "internal/common.hpp"
6#include "ExceptionMixin.hpp"
7#include "Singleton.hpp"
10#include <QMutexLocker>
24#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
26 QML_UNCREATABLE(
"Messenger is a singleton")
53 const Message * message()
const;
91 Q_INVOKABLE
void resetAdvertiser(
QObject * advertiser);
Exception mixin.
Definition: ExceptionMixin.hpp:18
Message.
Definition: Message.hpp:22
No advertiser exception.
Definition: Messenger.hpp:39
Messenger.
Definition: Messenger.hpp:21
void messageRequested(QVariant message)
Message requested.
MPtr< Members > m
Definition: Messenger.hpp:111
Singleton template.
Definition: Singleton.hpp:32
Definition: constants.hpp:6
Definition: Messenger.hpp:106