~mzanetti/+junk/upebble

« back to all changes in this revision

Viewing changes to upebbled/libpebble/pebble.h

  • Committer: Michael Zanetti
  • Date: 2015-12-06 23:17:41 UTC
  • Revision ID: michael.zanetti@canonical.com-20151206231741-w0n1tdybvilxy0o3
create BlobDB class

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
class AppMsgManager;
17
17
class BankManager;
18
18
class JSKitManager;
 
19
class BlobDB;
19
20
 
20
21
class Pebble : public QObject
21
22
{
22
23
    Q_OBJECT
23
24
    Q_ENUMS(Pebble::NotificationType)
24
25
    Q_PROPERTY(QBluetoothAddress address MEMBER m_address)
 
26
    Q_PROPERTY(QString name MEMBER m_name)
25
27
    Q_PROPERTY(HardwareRevision HardwareRevision READ hardwareRevision)
26
28
    Q_PROPERTY(HardwarePlatform hardwarePlatform MEMBER m_hardwarePlatform)
27
29
    Q_PROPERTY(QString serialNumber MEMBER m_serialNumber)
57
59
 
58
60
    enum NotificationType {
59
61
        NotificationTypeEmail,
60
 
        NotificationTypeSMS
 
62
        NotificationTypeSMS,
 
63
        NotificationTypeFacebook,
 
64
        NotificationTypeTwitter
61
65
    };
62
66
    enum MusicControl {
63
67
        MusicControlPlayPause,
91
95
public slots:
92
96
    void sendNotification(NotificationType type, const QString &sender, const QString &subject, const QString &data);
93
97
    void setMusicMetadata(const MusicMetaData &metaData);
 
98
    void insertTimelinePin();
 
99
    void insertReminder();
 
100
    void clearTimeline();
94
101
 
95
102
    void incomingCall(uint cookie, const QString &number, const QString &name);
96
103
    void callStarted(uint cookie);
127
134
    AppMsgManager *m_appMsgManager;
128
135
    JSKitManager *m_jskitManager;
129
136
    BankManager *m_bankManager;
 
137
    BlobDB *m_blobDB;
130
138
};
131
139
 
132
140
#endif // PEBBLE_H