diff options
Diffstat (limited to 'rockworkd/libpebble/notification.cpp')
| -rw-r--r-- | rockworkd/libpebble/notification.cpp | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/rockworkd/libpebble/notification.cpp b/rockworkd/libpebble/notification.cpp new file mode 100644 index 0000000..4b149b8 --- /dev/null +++ b/rockworkd/libpebble/notification.cpp @@ -0,0 +1,79 @@ +#include "notification.h" + +Notification::Notification(const QString &sourceId) : + m_sourceId(sourceId) +{ + +} + +QString Notification::sourceId() const +{ + return m_sourceId; +} + +void Notification::setSourceId(const QString &sourceId) +{ + m_sourceId = sourceId; +} + +QString Notification::sourceName() const +{ + return m_sourceName; +} + +void Notification::setSourceName(const QString &sourceName) +{ + m_sourceName = sourceName; +} + +QString Notification::sender() const +{ + return m_sender; +} + +void Notification::setSender(const QString &sender) +{ + m_sender = sender; +} + +QString Notification::subject() const +{ + return m_subject; +} + +void Notification::setSubject(const QString &subject) +{ + m_subject = subject; +} + +QString Notification::body() const +{ + return m_body; +} + +void Notification::setBody(const QString &body) +{ + m_body = body; +} + +Notification::NotificationType Notification::type() const +{ + return m_type; +} + +void Notification::setType(Notification::NotificationType type) +{ + m_type = type; +} + +QString Notification::actToken() const +{ + return m_actToken; +} + +void Notification::setActToken(QString actToken) +{ + m_actToken = actToken; +} + + |
