diff -r 0f07cd1b5772 -r 1984aceb8774 calendarui/controller/inc/calenmultipledbui.h --- a/calendarui/controller/inc/calenmultipledbui.h Mon Mar 15 12:40:18 2010 +0200 +++ b/calendarui/controller/inc/calenmultipledbui.h Wed Mar 31 21:29:10 2010 +0300 @@ -248,6 +248,8 @@ * Async exit for the dialog */ static TInt DoAsyncExit(TAny* aPtr); + + static TInt DoAsyncDeleteTemL(TAny* aPtr); /* @@ -292,7 +294,21 @@ * may be obtained by accessing the list box itself. */ void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); - + +public: + + /* + * Updates after add/edit had been performed. + * Called from editor before exiting the dialog. + * @param aItemAdded ETure if add else edit. + */ + void UpdateOnAddOrEditL(TBool aItemAdded); + + /* + * Exit the dialog; + */ + void ExitDialogL(); + private: CCalenMultipleDbListbox* iListBox; CAknsBasicBackgroundControlContext* iBgContext; //Owns @@ -300,16 +316,19 @@ CCalenController& iController; CDesCArrayFlat* iDesArray; //Owns TRect iRect; - TBool iFirstTap; - TBool iDialogLaunched; RArray iIconIndices; CAknIconArray* iIconList; RArray iColorUidArray; CAsyncCallBack* iAsyncExit; + CAsyncCallBack* iAsyncDeletequery; TInt iAsyncExitCmd; CCalenMultiDBEditor* iDbEditor;//Not not owned TBool iConflictOccured; TBool iIsDbEditorOpen ; + + CCalCalendarInfo* iCalendarInfoNew; + CCalCalendarInfo* iCalendarInfoOriginal; + CCalCalendarInfo* iCalendarInfoEdited; };