Update GPL blurb in source files.
[toast/confclerk.git] / src / alarm / calendar.h
1 /*
2  * Copyright (C) 2010 Ixonos Plc.
3  *
4  * This file is part of ConfClerk.
5  *
6  * ConfClerk is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the Free
8  * Software Foundation, either version 2 of the License, or (at your option)
9  * any later version.
10  *
11  * ConfClerk is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14  * more details.
15  *
16  * You should have received a copy of the GNU General Public License along with
17  * ConfClerk.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef CALENDAR_H
20 #define CALENDAR_H
21
22 #include <QObject>
23 #include <QDateTime>
24
25 class CMulticalendar;
26 class CCalendar;
27
28 class Calendar : public QObject
29 {
30     Q_OBJECT
31     public:
32         Calendar();
33         ~Calendar();
34         int addCalendarEvent(QString summary, QString description, QString location, uint dateStart, uint dateEnd, int eventId);
35         void deleteCalendarEvent(uint dateStart, uint dateEnd, int eventId);
36         bool hasCalendarEvent(int eventId);
37
38         CMulticalendar * m_pMultiCalendar;
39         CCalendar * m_pCalendar;
40 //    signals:
41 //        void alarmAdded(int aEventId);
42 //        void addAlarmFailed(int aEventId);
43 //        void alarmDeleted(int aEventId);
44 //        void deleteAlarmFailed(int aEventId);
45 };
46
47 #endif /* CALENDAR_H */