calendarui/controller/src/calenlocationui.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
    18 
    18 
    19 
    19 
    20 //debug
    20 //debug
    21 #include "calendarui_debug.h"
    21 #include "calendarui_debug.h"
    22 
    22 
    23 #include <calenlocationui.h>
    23 #include "calenlocationui.h"
    24 #include "calencontroller.h"
    24 #include "calencontroller.h"
    25 #include <calencommands.hrh>
    25 #include <calencommands.hrh>
    26 #include "calenlocationactiveselector.h"
    26 #include "calenlocationactiveselector.h"
    27 #include "calenglobaldata.h"
    27 #include "calenglobaldata.h"
    28 #include "calenlocationutil.h"
    28 #include "calenlocationutil.h"
   191 	        isReplaceLocation = ETrue;
   191 	        isReplaceLocation = ETrue;
   192             LaunchMapL();
   192             LaunchMapL();
   193             break;
   193             break;
   194 	    case ECalenShowLocationQuery:
   194 	    case ECalenShowLocationQuery:
   195 	        {
   195 	        {
   196 	        TInt userResponse = ShowDefineLocationQueryL();
   196 	        TInt userResponse = ShowDefineLocationQuery();
   197 	        if(userResponse)
   197 	        if(userResponse)
   198 	            {
   198 	            {
   199 	            isGetLocationAndSave = ETrue;
   199 	            isGetLocationAndSave = ETrue;
   200 	            LaunchMapL();
   200 	            LaunchMapL();
   201 	            }
   201 	            }
   770 // -----------------------------------------------------------------------------
   770 // -----------------------------------------------------------------------------
   771 //  CCalenLocationUi::ShowDefineLocationQuery
   771 //  CCalenLocationUi::ShowDefineLocationQuery
   772 //  Queries user to validate the location frm maps or not
   772 //  Queries user to validate the location frm maps or not
   773 // -----------------------------------------------------------------------------
   773 // -----------------------------------------------------------------------------
   774 //  
   774 //  
   775 TInt CCalenLocationUi::ShowDefineLocationQueryL()
   775 TInt CCalenLocationUi::ShowDefineLocationQuery()
   776     {
   776     {
   777     TRACE_ENTRY_POINT;
   777     TRACE_ENTRY_POINT;
   778     
   778     
   779     CAknQueryDialog *dialog = CAknQueryDialog::NewL( );
   779     CAknQueryDialog *dialog = CAknQueryDialog::NewL( );
   780     CleanupStack::PushL( dialog );
   780     CleanupStack::PushL( dialog );