source: src/alarm/alarm.h @ 6ae1026

qt5
Last change on this file since 6ae1026 was 6ae1026, checked in by pavelpa <pavelpa@…>, 12 years ago

started work on alarm(libaalarm)

  • Property mode set to 100644
File size: 558 bytes
Line 
1#ifndef ALARM_H
2#define ALARM_H
3
4#include <QObject>
5#include <QDateTime>
6
7extern "C"
8{
9#include <alarmd/libalarm.h>
10}
11
12#define APPID "alarm-example"
13
14class Alarm : public QObject
15{
16    Q_OBJECT
17    public:
18        Alarm() {}
19        ~Alarm() {}
20        int addAlarm(int aEventId, const QDateTime &aDateTime);
21        void deleteAlarm(int aEventId);
22    signals:
23        void alarmAdded(int aEventId);
24        void addAlarmFailed(int aEventId);
25        void alarmDeleted(int aEventId);
26        void deleteAlarmFailed(int aEventId);
27};
28
29#endif /* ALARM_H */
30
Note: See TracBrowser for help on using the repository browser.