00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INCL_WINEVENT
00020 #define INCL_WINEVENT
00021
00026 #include "vocl/WinItem.h"
00027 #include "vocl/WinRecurrence.h"
00028 #include "vocl/WinRecipient.h"
00029 #include "vocl/constants.h"
00030 #include "vocl/VObject.h"
00031
00032
00038 class WinEvent : public WinItem {
00039
00040 private:
00041
00043 wstring vCalendar;
00044
00046 WinRecurrence recPattern;
00047
00049 list<wstring> excludeDate;
00051 list<wstring> includeDate;
00052
00054 list<WinRecipient> recipients;
00055
00056
00057
00058
00059
00068 bool checkVCalendarTypeAndVersion(VObject* vo);
00069
00076 WCHAR* getVObjectPropertyValue(VObject* vo, const WCHAR* propertyName);
00077
00078
00079 public:
00080
00082 WinEvent();
00083
00085 WinEvent(const wstring dataString);
00086
00088 ~WinEvent();
00089
00090
00098 int parse(const wstring dataString);
00099
00106 wstring& toString();
00107
00108
00109
00111 WinRecurrence* getRecPattern();
00112
00114 list<wstring>* getExcludeDates();
00115
00117 list<wstring>* getIncludeDates();
00118
00120 list<WinRecipient>* getRecipients();
00121 };
00122
00125 #endif