pimappservices/calendar/inc/calentry.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 29 12af337248b1
child 31 97232defd20e
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
    65 class CTzRules;
    65 class CTzRules;
    66 class TCalRRule;
    66 class TCalRRule;
    67 class CCalEntryIdImpl;
    67 class CCalEntryIdImpl;
    68 
    68 
    69 /** Class representing a calendar entry. This can be an appointment, to-do
    69 /** Class representing a calendar entry. This can be an appointment, to-do
    70 item, reminder, event, anniversary, note.
    70 item, reminder, event or anniversary.
    71 
    71 
    72 CCalEntry contains information about a calendar entry, including
    72 CCalEntry contains information about a calendar entry, including
    73 a repeat definition, synchronisation information, and group scheduling data.
    73 a repeat definition, synchronisation information, and group scheduling data.
    74 
    74 
    75 A repeating calendar entry has more than one occurrence. Instances are
    75 A repeating calendar entry has more than one occurrence. Instances are
    97 		/** An event, which has a start time and end time. */
    97 		/** An event, which has a start time and end time. */
    98 		EEvent,
    98 		EEvent,
    99 		/** A reminder, which has a start time only. */
    99 		/** A reminder, which has a start time only. */
   100 		EReminder,
   100 		EReminder,
   101 		/** An anniversary, which has a start time and end time. */
   101 		/** An anniversary, which has a start time and end time. */
   102 		EAnniv,
   102 		EAnniv
   103 		/** A text note which has description */
       
   104 		ENote
       
   105 		};
   103 		};
   106 
   104 
   107 	/** Defines the possible status values of the entry.
   105 	/** Defines the possible status values of the entry.
   108 	There are values here to support both iCalendar (RFC 2445) and vCalendar v1.0 STATUS properties.
   106 	There are values here to support both iCalendar (RFC 2445) and vCalendar v1.0 STATUS properties.
   109 	Enumerated values for vCalendar v1.0 contain the prefix 'EVCal'.
   107 	Enumerated values for vCalendar v1.0 contain the prefix 'EVCal'.
   317 
   315 
   318 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   316 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   319 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   317 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   320 
   318 
   321 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   319 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   322 
   320     
   323 	IMPORT_C void SetFavouriteL(TUint32 aFavourite);
       
   324 	IMPORT_C TUint32 FavouriteL();
       
   325 	
       
   326 public:
   321 public:
   327 	// Internal APIs
   322 	// Internal APIs
   328 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   323 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   329 	CCalEntryImpl* Impl() const;
   324 	CCalEntryImpl* Impl() const;
   330 	TUint8 ShortFileIdL();
   325 	TUint8 ShortFileIdL();