pimappservices/calendar/inc/calentry.h
changeset 89 b57382753122
parent 18 c198609911f9
equal deleted inserted replaced
83:5aadd1120515 89:b57382753122
    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'.
   274 	IMPORT_C RPointerArray<CCalAttendee>& AttendeesL() const;
   272 	IMPORT_C RPointerArray<CCalAttendee>& AttendeesL() const;
   275 	IMPORT_C void SetOrganizerL(CCalUser* aUser);
   273 	IMPORT_C void SetOrganizerL(CCalUser* aUser);
   276 	IMPORT_C CCalUser* OrganizerL() const;
   274 	IMPORT_C CCalUser* OrganizerL() const;
   277 	IMPORT_C void SetPhoneOwnerL(const CCalUser* aOwner);
   275 	IMPORT_C void SetPhoneOwnerL(const CCalUser* aOwner);
   278 	IMPORT_C CCalUser* PhoneOwnerL() const;
   276 	IMPORT_C CCalUser* PhoneOwnerL() const;
       
   277 	IMPORT_C void CCalEntry::ClearMRSpecificDataL();
   279 
   278 
   280 	// Attachments
   279 	// Attachments
   281 	IMPORT_C void AddAttachmentL(CCalAttachment& aAttachment);
   280 	IMPORT_C void AddAttachmentL(CCalAttachment& aAttachment);
   282 	IMPORT_C void DeleteAttachmentL(const CCalAttachment& aAttachment);
   281 	IMPORT_C void DeleteAttachmentL(const CCalAttachment& aAttachment);
   283 	IMPORT_C CCalAttachment* AttachmentL(TInt aIndex) const;
   282 	IMPORT_C CCalAttachment* AttachmentL(TInt aIndex) const;
   317 
   316 
   318 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   317 	IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
   319 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   318 	IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
   320 
   319 
   321 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   320 	IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
   322 
   321     
   323 	IMPORT_C void SetFavouriteL(TUint32 aFavourite);
   322     IMPORT_C void SetUserInt32L( TUint32 aUserInt );
   324 	IMPORT_C TUint32 FavouriteL();
   323     IMPORT_C TUint32 UserInt32L();
   325 	
   324 
   326 public:
   325 public:
   327 	// Internal APIs
   326 	// Internal APIs
   328 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   327 	static CCalEntry* NewL(CCalEntryImpl* aImpl);
   329 	CCalEntryImpl* Impl() const;
   328 	CCalEntryImpl* Impl() const;
   330 	TUint8 ShortFileIdL();
   329 	TUint8 ShortFileIdL();