diff -r bd7edf625bdd -r 97232defd20e calendarui/globaldata/inc/calencontextimpl.h --- a/calendarui/globaldata/inc/calencontextimpl.h Wed Sep 01 12:32:31 2010 +0100 +++ b/calendarui/globaldata/inc/calencontextimpl.h Tue Sep 14 21:17:03 2010 +0300 @@ -128,6 +128,21 @@ * this will be TCalenInstanceId::NullInstanceIdL() */ TCalenInstanceId InstanceId() const; + + /** + * Sets the start and end time of the instance that has to be created. + * @param aStartTime The start time of the instance that has to be created. + * @param aEndTime The end time of the instance that has to be created. + */ + void SetStartAndEndTimeForNewInstance( const TTime& aStartTime, + const TTime& aEndTime ); + + /** + * Gets the start and end time of the instance that has to be created. + * @param aStartTime The start time of the instance that has to be created. + * @param aEndTime The end time of the instance that has to be created. + */ + void GetStartAndEndTimeForNewInstance( TTime& aStartTime, TTime& aEndTime ); /** * Gets the id of the currently active view. @@ -255,6 +270,10 @@ HBufC* iCalenFileName; HBufC* iCalAlarmEntryFileName; TCalLocalUid iCalAlarmLocalUid; + + // The new instance's start and end time + TTime iNewInstStartTime; + TTime iNewInstEndTime; }; #endif // CALENCONTEXTIMPL_H