pimappservices/calendar/inc/calentry.h
changeset 18 c198609911f9
parent 0 f979ecb2b13e
child 66 bd7edf625bdd
child 89 b57382753122
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
    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 or anniversary.
    70 item, reminder, event, anniversary, note.
    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
   103 		};
   105 		};
   104 
   106 
   105 	/** Defines the possible status values of the entry.
   107 	/** Defines the possible status values of the entry.
   106 	There are values here to support both iCalendar (RFC 2445) and vCalendar v1.0 STATUS properties.
   108 	There are values here to support both iCalendar (RFC 2445) and vCalendar v1.0 STATUS properties.
   107 	Enumerated values for vCalendar v1.0 contain the prefix 'EVCal'.
   109 	Enumerated values for vCalendar v1.0 contain the prefix 'EVCal'.
   315 
   317 
   316 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   318 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   317 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   319 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   318 
   320 
   319 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   321 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   320     
   322 
       
   323 	IMPORT_C void SetFavouriteL(TUint32 aFavourite);
       
   324 	IMPORT_C TUint32 FavouriteL();
       
   325 	
   321 public:
   326 public:
   322 	// Internal APIs
   327 	// Internal APIs
   323 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   328 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   324 	CCalEntryImpl* Impl() const;
   329 	CCalEntryImpl* Impl() const;
   325 	TUint8 ShortFileIdL();
   330 	TUint8 ShortFileIdL();