include/CTodo.h

Go to the documentation of this file.
00001 
00020 #ifndef __CTODO_H__
00021 #define __CTODO_H__
00022 
00023 /* Headers */
00024 #include "CComponentDetails.h"
00025 
00026 class CProperties;
00027 
00028 
00034 class CTodo:public CComponentDetails {
00035 
00036 public:
00047     bool setGeo(string szGeo);
00048     
00060     string getGeo();
00061 
00071     int getDue();
00072 
00083     bool setDue(int iDue);
00084 
00093     int getCompleted();
00094 
00106     bool setCompleted(int iCompleted);
00107 
00116     bool setPercentComplete(int iPercentComplete);
00117 
00124     int getPercentComplete();
00125 
00126 
00133     int getPriority();
00134 
00142     bool setPriority(int iPriority);
00143     
00147     CTodo(CTodo & ref);
00148     
00152     CTodo & operator=(CTodo & right);
00153 
00154     /* Constructors and paramterized constructors */
00155     CTodo();
00156     CTodo(string szSummary, int iDateStart, int iStatus);
00157     CTodo(string sId, int iType, int iFlags, string szSummary, string szDescription,
00158             string szLocation, int iStatus, int iDateStart, int iDateEnd, int iLastModified,
00159             int iCreatedTime, int iDateStamp, COrganizer * pOrganizer,
00160             vector < CAttendee * >vAttendee, vector < string >vAttachements, int iSequence, int iUId,
00161             string szUrl, string szCategory, string szComments, string szContacts, string szRelated,
00162             string szResources, vector < CProperties* > vXProp,map<string,vector < CParameters* > > hashMap, string szGeo, int iDue, int iCompleted,
00163             int iPercentComplete, int iPriority);
00164 
00165     /* Destructors */
00166     ~CTodo();
00167     
00168 private:
00169 
00170     /* Member variables are defined as per ical rfc */
00171 
00172     string szGeo; 
00174     int iDue; 
00176     int iCompleted; 
00178     int iPercentComplete; 
00180     int iPriority; 
00181 };
00182 
00183 #endif

Generated on Tue Feb 24 16:21:31 2009 for calendar-backend by  doxygen 1.5.1