pimappservices/calendarvcalplugin/Inc/agmvcal.h
changeset 18 c198609911f9
parent 0 f979ecb2b13e
child 66 bd7edf625bdd
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
    55 _LIT(KVCalTokenTypeAPPT,"APPOINTMENT");
    55 _LIT(KVCalTokenTypeAPPT,"APPOINTMENT");
    56 _LIT(KVCalTokenTypeANNIV,"ANNIVERSARY");
    56 _LIT(KVCalTokenTypeANNIV,"ANNIVERSARY");
    57 _LIT(KVCalTokenTypeEVENT,"EVENT");
    57 _LIT(KVCalTokenTypeEVENT,"EVENT");
    58 _LIT(KVCalTokenTypeTODO,"TODO");
    58 _LIT(KVCalTokenTypeTODO,"TODO");
    59 _LIT(KVCalTokenTypeREMINDER,"REMINDER");
    59 _LIT(KVCalTokenTypeREMINDER,"REMINDER");
       
    60 _LIT(KVCalTokenTypeNOTE,"NOTE");
    60 
    61 
    61 _LIT(KVCalTokenPUBLIC,"PUBLIC");
    62 _LIT(KVCalTokenPUBLIC,"PUBLIC");
    62 _LIT(KVCalTokenPRIVATE,"PRIVATE");
    63 _LIT(KVCalTokenPRIVATE,"PRIVATE");
    63 _LIT(KVCalTokenCONFIDENTIAL,"CONFIDENTIAL");
    64 _LIT(KVCalTokenCONFIDENTIAL,"CONFIDENTIAL");
    64 
    65 
   337 	
   338 	
   338 	// Additional functions for compliance with vCal spec 1.0 and iCalendar spec
   339 	// Additional functions for compliance with vCal spec 1.0 and iCalendar spec
   339 	void ImportStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
   340 	void ImportStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
   340 	void ImportICalStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
   341 	void ImportICalStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
   341 	void ImportVCalStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
   342 	void ImportVCalStatusPropertyL(CVersitParser& aParser, CCalEntry::TStatus& aStatus);
       
   343 	
       
   344 	/**
       
   345 	 * @brief imports vcalendar for the types EAppt,
       
   346 	 * EReminder,EAnniv,ETodo,EEvent
       
   347 	 * 
       
   348 	 * @param aParser reference to versit parser
       
   349 	 * @param aRelativeTime reference to releative time
       
   350 	 * @param aEntryType type of calendar entry
       
   351 	 */
       
   352 	void ImportVCalendarL(CVersitParser& aParser,
       
   353 			TVersitDateTime::TRelativeTime& aRelativeTime,
       
   354 			CCalEntry::TType& aEntryType);
       
   355 	
       
   356 	/**
       
   357 	 * @brief import note entry from vcal
       
   358 	 * 
       
   359 	 * @param aParser reference to versit parser
       
   360 	 * @param aRelativeTime reference to releative time
       
   361 	 */
       
   362 	void ImportNoteL(CVersitParser& aParser,
       
   363 			TVersitDateTime::TRelativeTime& aRelativeTime);
       
   364 	
   342 private:
   365 private:
   343 	CCalEntry*	iEntry; //for convenience
   366 	CCalEntry*	iEntry; //for convenience
   344 	RTz* iTzConverter; // It is used to convert time between UTC and Symstem local time. RTz* is owned by TAgnVCalConverter
   367 	RTz* iTzConverter; // It is used to convert time between UTC and Symstem local time. RTz* is owned by TAgnVCalConverter
   345 	TVersitDateTime::TRelativeTime iTimeType;
   368 	TVersitDateTime::TRelativeTime iTimeType;
   346 	CTzRules* iTzZone; // It is imported from the vcs file used to convert time between UTC and event local time.
   369 	CTzRules* iTzZone; // It is imported from the vcs file used to convert time between UTC and event local time.