konsolekalendar
stdcalendar.h
Go to the documentation of this file.00001 /* 00002 This file was originally from libkcal, then moved into korganizer. 00003 This version has been hacked for use by konsolekalendar. 00004 00005 Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> 00006 Copyright (c) 2005 Allen Winter <winter@kde.org> 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Library General Public 00010 License as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Library General Public License for more details. 00017 00018 You should have received a copy of the GNU Library General Public License 00019 along with this library; see the file COPYING.LIB. If not, write to 00020 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00021 Boston, MA 02110-1301, USA. 00022 */ 00023 #ifndef KONSOLEKALENDAR_STDCALENDAR_H 00024 #define KONSOLEKALENDAR_STDCALENDAR_H 00025 00026 #include <libkcal/calendarresources.h> 00027 00028 namespace KCal { 00029 00030 class KDE_EXPORT StdCalendar : public KCal::CalendarResources 00031 { 00032 public: 00033 StdCalendar(); 00034 StdCalendar( const QString &fileName, const QString &resName ); 00035 ~StdCalendar(); 00036 00037 void addFileResource( const QString &fileName, const QString &resName ); 00038 00039 private: 00040 KCal::CalendarResourceManager *mManager; 00041 }; 00042 00043 } 00044 00045 #endif