10 #define NOTIFICATION_TITLE QStringLiteral("title") 11 #define NOTIFICATION_BODY QStringLiteral("body") 12 #define UNKNOWN_TITLE QStringLiteral("Torc") 13 #define UNKNOWN_BODY QStringLiteral("Unknown") 20 virtual void Notify (
const QVariantMap &Notification) = 0;
35 virtual TorcNotifier* Create (
const QString &Type,
const QVariantMap &Details) = 0;
44 #endif // TORCNOTIFIER_H
TorcNotifierFactory * nextTorcNotifierFactory
TorcNotifier(const QVariantMap &Details)
static TorcNotifierFactory * gTorcNotifierFactory
virtual void Notify(const QVariantMap &Notification)=0
virtual ~TorcNotifier()=default