calendarui/globaldata/inc/calencontextimpl.h
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
   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 );
       
   146 
   131 
   147     /**
   132     /**
   148      * Gets the id of the currently active view.
   133      * Gets the id of the currently active view.
   149      * @return The view id of the currently active view.
   134      * @return The view id of the currently active view.
   150      */
   135      */
   268     // Multiple context ids
   253     // Multiple context ids
   269     RArray<TCalenInstanceId> iMutlipleContextIds;
   254     RArray<TCalenInstanceId> iMutlipleContextIds;
   270     HBufC* iCalenFileName;
   255     HBufC* iCalenFileName;
   271     HBufC* iCalAlarmEntryFileName;
   256     HBufC* iCalAlarmEntryFileName;
   272     TCalLocalUid iCalAlarmLocalUid;
   257     TCalLocalUid iCalAlarmLocalUid;
   273 	
       
   274 	// The new instance's start and end time
       
   275     TTime iNewInstStartTime;
       
   276 	TTime iNewInstEndTime;
       
   277     };
   258     };
   278 
   259 
   279 #endif // CALENCONTEXTIMPL_H
   260 #endif // CALENCONTEXTIMPL_H
   280 
   261 
   281 // End of file
   262 // End of file