summaryrefslogtreecommitdiff
path: root/rockworkd/libpebble/notification.cpp
blob: 4b149b85f3dec87b5ecd3fff9b3c8e269a4fcb09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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;
}