00001
00021 #ifndef __CEVENT_H__
00022 #define __CEVENT_H__
00023
00024
00025 #include "CComponentDetails.h"
00026 #include "CAttendee.h"
00027 class CProperties;
00033 class CEvent:public CComponentDetails {
00034
00035 public:
00036
00040 CEvent();
00041
00042
00043 CEvent(string szSummary, string szDescription, string szLocation, int iDateStart, int iDateEnd);
00044
00048 CEvent(string sId,
00049 int iType,
00050 int iFlags,
00051 string szSummary,
00052 string szDescription,
00053 string szLocation,
00054 int iStatus,
00055 int iDateStart,
00056 int iDateEnd,
00057 int iLastModified,
00058 int iCreatedTime,
00059 int iDateStamp,
00060 COrganizer * pOrganizer,
00061 vector < CAttendee * >vAttendee,
00062 vector < string >vAttachements,
00063 int iSequence,
00064 int iUId,
00065 string szUrl,
00066 string szCategory,
00067 string szComments,
00068 string szContacts,
00069 string szRelated,
00070 string szResources, vector < CProperties* > vXProp,map<string,vector < CParameters* > > hashMap, string szGeo, string szTransparency, int iPriority);
00071
00075 ~CEvent();
00076
00084 bool setGeo(string szGeo);
00085
00093 string getGeo();
00094
00102 string getTransparency();
00114 bool setTransparency(string szTransparency);
00121 int getPriority();
00122
00131 bool setPriority(int iPriority);
00132
00137 CEvent(CEvent & ref);
00138
00143 const CEvent & operator=(const CEvent & right);
00144
00145 private:
00146
00147
00148
00149 string szGeo;
00151 string szTransparency;
00153 int iPriority;
00154 };
00155
00156 #endif