libkcal
calstorage.hGo to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KCAL_CALSTORAGE_H
00022 #define KCAL_CALSTORAGE_H
00023
00024 #include "libkcal_export.h"
00025
00026 namespace KCal {
00027
00028 class Calendar;
00029
00033 class LIBKCAL_EXPORT CalStorage
00034 {
00035 public:
00036 CalStorage( Calendar *calendar )
00037 {
00038 mCalendar = calendar;
00039 }
00040 virtual ~CalStorage() {}
00041
00042 Calendar *calendar() const { return mCalendar; }
00043
00044 virtual bool open() = 0;
00045 virtual bool load() = 0;
00046 virtual bool save() = 0;
00047 virtual bool close() = 0;
00048
00049 private:
00050 Calendar *mCalendar;
00051
00052 class Private;
00053 Private *d;
00054 };
00055
00056 }
00057
00058 #endif
|