calendarui/globaldata/inc/calencontextimpl.h
branchRCL_3
changeset 74 97232defd20e
parent 66 bd7edf625bdd
child 86 ed599363c2d7
equal deleted inserted replaced
66:bd7edf625bdd 74:97232defd20e
   126      * Gets the id of the instance currently focused.
   126      * Gets the id of the instance currently focused.
   127      * @return The instance id currently focused. When no instance is focused,
   127      * @return The instance id currently focused. When no instance is focused,
   128      * this will be TCalenInstanceId::NullInstanceIdL()
   128      * this will be TCalenInstanceId::NullInstanceIdL()
   129      */
   129      */
   130     TCalenInstanceId InstanceId() const;
   130     TCalenInstanceId InstanceId() const;
       
   131     
       
   132     /**
       
   133      * Sets the start and end time of the instance that has to be created.
       
   134      * @param aStartTime The start time of the instance that has to be created.
       
   135      * @param aEndTime The end time of the instance that has to be created.
       
   136      */
       
   137     void SetStartAndEndTimeForNewInstance( const TTime& aStartTime,
       
   138                                         const TTime& aEndTime );
       
   139     
       
   140     /**
       
   141      * Gets the start and end time of the instance that has to be created.
       
   142      * @param aStartTime The start time of the instance that has to be created.
       
   143      * @param aEndTime The end time of the instance that has to be created.
       
   144      */
       
   145     void GetStartAndEndTimeForNewInstance( TTime& aStartTime, TTime& aEndTime );
   131 
   146 
   132     /**
   147     /**
   133      * Gets the id of the currently active view.
   148      * Gets the id of the currently active view.
   134      * @return The view id of the currently active view.
   149      * @return The view id of the currently active view.
   135      */
   150      */
   253     // Multiple context ids
   268     // Multiple context ids
   254     RArray<TCalenInstanceId> iMutlipleContextIds;
   269     RArray<TCalenInstanceId> iMutlipleContextIds;
   255     HBufC* iCalenFileName;
   270     HBufC* iCalenFileName;
   256     HBufC* iCalAlarmEntryFileName;
   271     HBufC* iCalAlarmEntryFileName;
   257     TCalLocalUid iCalAlarmLocalUid;
   272     TCalLocalUid iCalAlarmLocalUid;
       
   273 	
       
   274 	// The new instance's start and end time
       
   275     TTime iNewInstStartTime;
       
   276 	TTime iNewInstEndTime;
   258     };
   277     };
   259 
   278 
   260 #endif // CALENCONTEXTIMPL_H
   279 #endif // CALENCONTEXTIMPL_H
   261 
   280 
   262 // End of file
   281 // End of file