calendarui/controller/inc/calenmultipledbui.h
branchRCL_3
changeset 14 21239b3bcd78
parent 13 1984aceb8774
child 27 aba12c885d83
equal deleted inserted replaced
13:1984aceb8774 14:21239b3bcd78
   243      */
   243      */
   244     TBool CheckForChangesL( CCalCalendarInfo& aCalendarInfoOriginal,
   244     TBool CheckForChangesL( CCalCalendarInfo& aCalendarInfoOriginal,
   245                 CCalCalendarInfo& aCalendarInfoModified);
   245                 CCalCalendarInfo& aCalendarInfoModified);
   246     
   246     
   247     /*
   247     /*
   248      * Async exit for the dialog
   248      * Callback for CAsyncCallBack class
   249      */
   249      * @param aThisPtr* this pointer.
   250     static TInt DoAsyncExit(TAny* aPtr);
   250      * @return TInt status.
   251     
   251      */
   252     static TInt DoAsyncDeleteTemL(TAny* aPtr);
   252     static TInt AsyncCallBackL(TAny* aThisPtr);
   253 
   253     
       
   254     /*
       
   255      * Async method to handle all async commnds
       
   256      * @param aCommand Async command
       
   257      */
       
   258     void HandleAsyncCommandL(const TInt aCommand);
       
   259 
       
   260     /*
       
   261      * Async method to handle all async commnds
       
   262      * @param aCommand Async command
       
   263      */
       
   264     void DoAsyncActionL(const TInt aCommand);
   254 
   265 
   255     /*
   266     /*
   256      * @brief Creates button for the toolbar.
   267      * @brief Creates button for the toolbar.
   257 	 * @param aIcon Icon to be displayed for a button.
   268 	 * @param aIcon Icon to be displayed for a button.
   258 	 * @param aDisplayTextID text to be displayed for a button.
   269 	 * @param aDisplayTextID text to be displayed for a button.
   275     
   286     
   276     /*
   287     /*
   277      * Refocus the items in list when delete action happened. 
   288      * Refocus the items in list when delete action happened. 
   278      */
   289      */
   279     void ReAdjustListItemFocusL(const TInt aCurrentIndex);
   290     void ReAdjustListItemFocusL(const TInt aCurrentIndex);
       
   291     
       
   292     /**
       
   293      * From CCoeControl Gets help context
       
   294      * @param aContext Help context
       
   295      */
       
   296     void GetHelpContext(TCoeHelpContext& aContext) const;
   280 
   297 
   281 public:  // from MCalenNotificationHandler
   298 public:  // from MCalenNotificationHandler
   282 	/** 
   299 	/** 
   283 	* @brief Handle notifications
   300 	* @brief Handle notifications
   284 	* @param aNotification Nofication to be handled
   301 	* @param aNotification Nofication to be handled
   317     CDesCArrayFlat* iDesArray; //Owns
   334     CDesCArrayFlat* iDesArray; //Owns
   318     TRect iRect;
   335     TRect iRect;
   319     RArray<MCalenServices::TCalenIcons> iIconIndices;
   336     RArray<MCalenServices::TCalenIcons> iIconIndices;
   320     CAknIconArray* iIconList;
   337     CAknIconArray* iIconList;
   321     RArray<TInt32> iColorUidArray;
   338     RArray<TInt32> iColorUidArray;
   322     CAsyncCallBack* iAsyncExit;
       
   323     CAsyncCallBack* iAsyncDeletequery;
       
   324     TInt iAsyncExitCmd;
       
   325     CCalenMultiDBEditor* iDbEditor;//Not not owned
   339     CCalenMultiDBEditor* iDbEditor;//Not not owned
   326     TBool iConflictOccured;
   340     TBool iConflictOccured;
   327     TBool iIsDbEditorOpen ; 
   341     TBool iIsDbEditorOpen ; 
   328     
   342     
   329     CCalCalendarInfo* iCalendarInfoNew;
   343     CCalCalendarInfo* iCalendarInfoNew;
   330     CCalCalendarInfo* iCalendarInfoOriginal;
   344     CCalCalendarInfo* iCalendarInfoOriginal;
   331     CCalCalendarInfo* iCalendarInfoEdited;
   345     CCalCalendarInfo* iCalendarInfoEdited;
       
   346     
       
   347     CAsyncCallBack*  iAsyncAction;
       
   348     TInt             iAsyncActionCmd;
       
   349     TInt             iCurrentIndex;
   332     };
   350     };
   333 
   351 
   334 
   352 
   335 NONSHARABLE_CLASS( CCalenMultipleDbListboxItemDrawer ) : public CFormattedCellListBoxItemDrawer
   353 NONSHARABLE_CLASS( CCalenMultipleDbListboxItemDrawer ) : public CFormattedCellListBoxItemDrawer
   336     {
   354     {