Build with clang.
[kdepim.git] / kalarm / kalarm.h
blob9d5ee8c538009be5c6981e7b224a80d59947e3e8
1 /*
2 * kalarm.h - global header file
3 * Program: kalarm
4 * Copyright © 2001-2011 by David Jarvie <djarvie@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef KALARM_H
22 #define KALARM_H
24 #undef QT3_SUPPORT
26 // Temporarily define a different version number for the Resources version,
27 // since the only changes post-2.7 are to implement Akonadi.
28 #ifdef USE_AKONADI
29 #define VERSION_SUFFIX "-Ak"
30 #define KALARM_VERSION "2.7.90" VERSION_SUFFIX
31 #else
32 #define VERSION_SUFFIX "-R"
33 #define KALARM_VERSION "2.7.3"
34 #endif
35 #define KALARM_NAME "KAlarm"
36 #define KALARM_DBUS_SERVICE "org.kde.kalarm" // D-Bus service name of KAlarm application
38 #include <kdeversion.h>
40 namespace KAlarm
42 /** Return current KAlarm version number as an integer. */
43 int Version();
46 #endif // KALARM_H