--- a/pimappservices/calendar/client/src/calentry.cpp Tue Feb 02 10:12:19 2010 +0200
+++ b/pimappservices/calendar/client/src/calentry.cpp Fri Apr 16 14:57:40 2010 +0300
@@ -28,7 +28,7 @@
Note that this function will not work unless a CCalSession has been created
by calling CCalSession::NewL().
-@param aType One of: EAppt, ETodo, EEvent, EReminder, EAnniv to create
+@param aType One of: EAppt, ETodo, EEvent, EReminder, EAnniv, ENote to create
an appointment, a todo, an event, a reminder or an anniversary entry.
@param aUid The Global UID of the entry. This field is mandatory. NewL takes ownership of the global UID.
@param aMethod The Method value describing the entry. Default value is EGSMethodNone.
@@ -52,7 +52,7 @@
The entry takes ownership of the Uid descriptor.
-@param aType One of: EAppt, ETodo, EEvent, EReminder, EAnniv to create
+@param aType One of: EAppt, ETodo, EEvent, EReminder, EAnniv, ENote to create
an appointment, a todo, an event, a reminder or an anniversary entry.
@param aUid The Global UID of the entry. This field is mandatory. NewL takes ownership of the global UID.
@param aMethod The Method value describing the entry.
@@ -513,7 +513,7 @@
/** Gets the type of entry.
-@return The entry type. One of: EAppt, ETodo, EEvent, EReminder, EAnniv.
+@return The entry type. One of: EAppt, ETodo, EEvent, EReminder, EAnniv, ENote.
@publishedAll
@released
@@ -1143,6 +1143,33 @@
return iImpl->ShortFileIdL();
}
+/** Set the entry as favourite
+
+@param aFavourite value for favourite
+ positive integer for setting entry as favourite
+ zero for unmarking as favourite
+
+@pre None
+@post None
+@capability None
+ */
+EXPORT_C void CCalEntry::SetFavouriteL(TUint32 aFavourite)
+ {
+ iImpl->SetUserIntL(aFavourite);
+ }
+
+/** Get favourite property from the entry
+
+@return TUint32 return value for favourite
+ positive integer if entry is favourite
+ zero if entry is not favourite
+@capability None
+ */
+EXPORT_C TUint32 CCalEntry::FavouriteL()
+ {
+ return iImpl->UserIntL();
+ }
+
// CCalEntryId //