locationsystemui/locationsysui/locsuplsettingsui/src/locsuplservereditor.cpp
branchRCL_3
changeset 4 42de37ce7ce4
parent 0 667063e416a2
child 12 f3bd2a0973b9
--- a/locationsystemui/locationsysui/locsuplsettingsui/src/locsuplservereditor.cpp	Tue Feb 02 10:12:24 2010 +0200
+++ b/locationsystemui/locationsysui/locsuplsettingsui/src/locsuplservereditor.cpp	Fri Feb 19 23:14:27 2010 +0200
@@ -46,6 +46,7 @@
 #include <data_caging_path_literals.hrh>
 #include <gulicon.h>            // Gul Icon
 #include <StringLoader.h>
+#include <hlplch.h> 
 
 #include <epos_csuplsettingsconstants.h>
 #include <epos_csuplsettingparams.h>
@@ -329,6 +330,8 @@
        		}
        	case EAknCmdHelp:
        		{
+            HlpLauncher::LaunchHelpApplicationL( iCoeEnv->WsSession(),
+                                              iAvkonAppUi->AppHelpContextL() );
        		break;
        		}
        	case EEikCmdExit:
@@ -552,6 +555,16 @@
 			            //dont close editor            
 			            retVal = EFalse;	            		
             			}
+            		else if( err == KErrArgument )
+	            		{
+	            		ShowServerValidationInfoNoteL( R_LOC_SERVER_INFO_NOTE );
+						iIsEditMode = ETrue;
+			    		SetEditableL( iIsEditMode );					
+						SetInitialCurrentLine();								
+						SetCursorToEndL();
+	            		//dont close editor            
+	            		retVal = EFalse;	
+	            		}
             		}
             	else
             		{ // save the existing slp entry info
@@ -576,6 +589,16 @@
 						    SetInitialCurrentLine();	            			
 							SetCursorToEndL();
             				}
+            			else if( err == KErrArgument )
+            			    {
+            			    ShowServerValidationInfoNoteL( R_LOC_SERVER_INFO_NOTE );
+            			    iIsEditMode = ETrue;
+            			    SetEditableL( iIsEditMode );                    
+            			    SetInitialCurrentLine();                                
+            			    SetCursorToEndL();
+            			    //dont close editor            
+            			    retVal = EFalse;    
+            			    }
             			}
 	            	HandleMSKCaptionL();
 		            //dont close editor