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_TODO
00038 #define INCL_ICALENDAR_TODO
00039
00041 #include "vocl/VObject.h"
00042 #include "vocl/iCalendar/iCalProperty.h"
00043 #include "base/globalsdef.h"
00044
00045 BEGIN_NAMESPACE
00046
00047 class ToDo : public VObject, public ArrayElement {
00048
00049 private:
00050 iCalProperty* classEvent;
00051 iCalProperty* completed;
00052 iCalProperty* created;
00053 iCalProperty* description;
00054 iCalProperty* dtStamp;
00055 iCalProperty* dtStart;
00056 iCalProperty* geo;
00057 iCalProperty* lastMod;
00058 iCalProperty* location;
00059 iCalProperty* organizer;
00060 iCalProperty* percent;
00061 iCalProperty* priority;
00062 iCalProperty* recurID;
00063 iCalProperty* seq;
00064 iCalProperty* status;
00065 iCalProperty* summary;
00066 iCalProperty* uid;
00067 iCalProperty* url;
00068 iCalProperty* due;
00069 iCalProperty* duration;
00070 ArrayList* attach;
00071 ArrayList* attendee;
00072 ArrayList* categories;
00073 ArrayList* comment;
00074 ArrayList* contact;
00075 ArrayList* exDate;
00076 ArrayList* exRule;
00077 ArrayList* rStatus;
00078 ArrayList* related;
00079 ArrayList* resources;
00080 ArrayList* rDate;
00081 ArrayList* rRule;
00082 ArrayList* xProp;
00083 void set(iCalProperty** oldProperty, iCalProperty& newProperty);
00084 iCalProperty* getiCalPropertyFromVProperty(VProperty* vp);
00085 VProperty* getVPropertyFromiCalProperty(const WCHAR* name, iCalProperty* prop);
00086
00087 public:
00088 ToDo();
00089 ~ToDo();
00090 WCHAR* toString();
00091 void setClass(iCalProperty& a);
00092 void setCompleted(iCalProperty& a);
00093 void setCreated(iCalProperty& a);
00094 void setDescription(iCalProperty& a);
00095 void setDtStamp(iCalProperty& a);
00096 void setDtStart(iCalProperty& a);
00097 void setGeo(iCalProperty& a);
00098 void setLastMod(iCalProperty& a);
00099 void setLocation(iCalProperty& a);
00100 void setOrganizer(iCalProperty& a);
00101 void setPercent(iCalProperty& a);
00102 void setPriority(iCalProperty& a);
00103 void setRecurID(iCalProperty& a);
00104 void setSequence(iCalProperty& a);
00105 void setStatus(iCalProperty& a);
00106 void setSummary(iCalProperty& a);
00107 void setUid(iCalProperty& a);
00108 void setUrl(iCalProperty& a);
00109 void setDue(iCalProperty& a);
00110 void setDuration(iCalProperty& a);
00111 void setAttach(ArrayList& list);
00112 void setAttendee(ArrayList& list);
00113 void setCategories(ArrayList& list);
00114 void setComment(ArrayList& list);
00115 void setContact(ArrayList& list);
00116 void setExDate(ArrayList& list);
00117 void setExRule(ArrayList& list);
00118 void setRStatus(ArrayList& list);
00119 void setRelated(ArrayList& list);
00120 void setResources(ArrayList& list);
00121 void setRDate(ArrayList& list);
00122 void setRRule(ArrayList& list);
00123 void setXProp(ArrayList& list);
00124
00125 iCalProperty* getClass();
00126 iCalProperty* getCompleted();
00127 iCalProperty* getCreated();
00128 iCalProperty* getDescription();
00129 iCalProperty* getDtStamp();
00130 iCalProperty* getDtStart();
00131 iCalProperty* getGeo();
00132 iCalProperty* getLastMod();
00133 iCalProperty* getLocation();
00134 iCalProperty* getOrganizer();
00135 iCalProperty* getPercent();
00136 iCalProperty* getPriority();
00137 iCalProperty* getRecurID();
00138 iCalProperty* getSequence();
00139 iCalProperty* getStatus();
00140 iCalProperty* getSummary();
00141 iCalProperty* getUid();
00142 iCalProperty* getUrl();
00143 iCalProperty* getDue();
00144 iCalProperty* getDuration();
00145 ArrayList* getAttach();
00146 ArrayList* getAttendee();
00147 ArrayList* getCategories();
00148 ArrayList* getComment();
00149 ArrayList* getContact();
00150 ArrayList* getExDate();
00151 ArrayList* getExRule();
00152 ArrayList* getRStatus();
00153 ArrayList* getRelated();
00154 ArrayList* getResources();
00155 ArrayList* getRDate();
00156 ArrayList* getRRule();
00157 ArrayList* getXProp();
00158
00159 ArrayElement* clone();
00160
00161 };
00162
00163 END_NAMESPACE
00164
00166 #endif