00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef INCL_ICALENDAR_EVENT
00038 #define INCL_ICALENDAR_EVENT
00039
00041 #include "base/util/ArrayElement.h"
00042 #include "vocl/VObject.h"
00043 #include "vocl/iCalendar/iCalProperty.h"
00044
00045 class Event: public VObject, public ArrayElement {
00046
00047 private:
00048 iCalProperty* classEvent;
00049 iCalProperty* created;
00050 iCalProperty* description;
00051 iCalProperty* dtStart;
00052 iCalProperty* geo;
00053 iCalProperty* lastMod;
00054 iCalProperty* location;
00055 iCalProperty* organizer;
00056 iCalProperty* priority;
00057 iCalProperty* dtStamp;
00058 iCalProperty* seq;
00059 iCalProperty* status;
00060 iCalProperty* summary;
00061 iCalProperty* transp;
00062 iCalProperty* uid;
00063 iCalProperty* url;
00064 iCalProperty* recurID;
00065 iCalProperty* dtEnd;
00066 iCalProperty* duration;
00067 ArrayList* attach;
00068 ArrayList* attendee;
00069 ArrayList* categories;
00070 ArrayList* comment;
00071 ArrayList* contact;
00072 ArrayList* exDate;
00073 ArrayList* exRule;
00074 ArrayList* rStatus;
00075 ArrayList* related;
00076 ArrayList* resources;
00077 ArrayList* rDate;
00078 ArrayList* rRule;
00079 ArrayList* xProp;
00080 void set(iCalProperty** oldProperty, iCalProperty& newProperty);
00081 iCalProperty* getiCalPropertyFromVProperty(VProperty* vp);
00082 VProperty* getVPropertyFromiCalProperty(WCHAR* name, iCalProperty* prop);
00083
00084 public:
00085
00086 Event();
00087 ~Event();
00088 WCHAR* toString();
00089 void setClass(iCalProperty& a);
00090 void setCreated(iCalProperty& a);
00091 void setDescription(iCalProperty& a);
00092 void setDtStart(iCalProperty& a);
00093 void setGeo(iCalProperty& a);
00094 void setLastMod(iCalProperty& a);
00095 void setLocation(iCalProperty& a);
00096 void setOrganizer(iCalProperty& a);
00097 void setPriority(iCalProperty& a);
00098 void setDtStamp(iCalProperty& a);
00099 void setSequence(iCalProperty& a);
00100 void setStatus(iCalProperty& a);
00101 void setSummary(iCalProperty& a);
00102 void setTransport(iCalProperty& a);
00103 void setUid(iCalProperty& a);
00104 void setUrl(iCalProperty& a);
00105 void setRecurID(iCalProperty& a);
00106 void setDtEnd(iCalProperty& a);
00107 void setDuration(iCalProperty& a);
00108 void setAttach(ArrayList& list);
00109 void setAttendee(ArrayList& list);
00110 void setCategories(ArrayList& list);
00111 void setComment(ArrayList& list);
00112 void setContact(ArrayList& list);
00113 void setExDate(ArrayList& list);
00114 void setExRule(ArrayList& list);
00115 void setRStatus(ArrayList& list);
00116 void setRelated(ArrayList& list);
00117 void setResources(ArrayList& list);
00118 void setRDate(ArrayList& list);
00119 void setRRule(ArrayList& list);
00120 void setXProp(ArrayList& list);
00121
00122 iCalProperty* getClass();
00123 iCalProperty* getCreated();
00124 iCalProperty* getDescription();
00125 iCalProperty* getDtStart();
00126 iCalProperty* getGeo();
00127 iCalProperty* getLastMod();
00128 iCalProperty* getLocation();
00129 iCalProperty* getOrganizer();
00130 iCalProperty* getPriority();
00131 iCalProperty* getDtStamp();
00132 iCalProperty* getSequence();
00133 iCalProperty* getStatus();
00134 iCalProperty* getSummary();
00135 iCalProperty* getTransport();
00136 iCalProperty* getUid();
00137 iCalProperty* getUrl();
00138 iCalProperty* getRecurID();
00139 iCalProperty* getDtEnd();
00140 iCalProperty* getDuration();
00141 ArrayList* getAttach();
00142 ArrayList* getAttendee();
00143 ArrayList* getCategories();
00144 ArrayList* getComment();
00145 ArrayList* getContact();
00146 ArrayList* getExDate();
00147 ArrayList* getExRule();
00148 ArrayList* getRStatus();
00149 ArrayList* getRelated();
00150 ArrayList* getResources();
00151 ArrayList* getRDate();
00152 ArrayList* getRRule();
00153 ArrayList* getXProp();
00154
00155 ArrayElement* clone();
00156
00157 };
00158
00160 #endif