SVN_SILENT made messages (.desktop file)
[kdepim.git] / kalarm / calendarcompat.h
blob0c92ea21a1f6c37dfed8162131249f85bf67afd9
1 /*
2 * calendarcompat.h - compatibility for old calendar file formats
3 * Program: kalarm
4 * Copyright © 2005-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 CALENDARCOMPAT_H
22 #define CALENDARCOMPAT_H
24 #ifndef USE_AKONADI
26 #include "alarmresource.h"
27 #include <kalarmcal/kacalendar.h>
28 namespace KCal { class CalendarLocal; }
31 namespace CalendarCompat
33 KACalendar::Compat fix(KCal::CalendarLocal&, const QString& localFile,
34 AlarmResource* = 0, AlarmResource::FixFunc = AlarmResource::PROMPT, bool* wrongType = 0);
37 #endif
39 #endif // CALENDARCOMPAT_H
41 // vim: et sw=4: