textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp
branchRCL_3
changeset 56 8152b1f1763a
parent 50 5a1685599b76
--- a/textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp	Wed Sep 15 12:34:44 2010 +0300
+++ b/textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp	Wed Oct 13 14:55:58 2010 +0300
@@ -278,6 +278,12 @@
             vkbWindow->DimArrowKeys( IsDimArrowKeys );
             }
             break;
+        case ECmdPeninputVietSyncToneMarker:
+        	{
+        	TBool bDimToneMarker = *aData;
+        	vkbWindow->EnableToneMarker(bDimToneMarker);
+        	}
+        	break;
         case ECmdPenInputDimEnterKey:
             {
             TBool isDimEnterKey = *((TUint16*)( aData ));            
@@ -377,13 +383,6 @@
             SignalOwner(ESignalKeyEvent, KDisplaySpace);            
             }
         	break;
-        case EEventVirtualKeyDown:
-        	{
-        	HandleVirtualKeyDown();
-        	CPeninputCommonLayoutExt::HandleControlEvent( aEventType, 
-        			aCtrl, aEventData );
-        	break;
-        	}
         default:
             {
             CPeninputCommonLayoutExt::HandleControlEvent(aEventType, aCtrl, aEventData);
@@ -540,21 +539,6 @@
         }
     }
 
-// ---------------------------------------------------------------------------
-// Handle virtual key down event
-// ---------------------------------------------------------------------------
-//
-void CPeninputGenericVkbLayout::HandleVirtualKeyDown()
-	{
-	CPeninputGenericVkbWindow* window = 
-			static_cast<CPeninputGenericVkbWindow*>( iLayoutWindow );
-	
-	if ( window )
-		{
-		window->HandleVirtualKeyDownEvent();
-		}
-	}
-
 TBool CPeninputGenericVkbLayout::TranslateMirrorUnicode( TUint16 aInputCode, TUint16& aOutputCode )
     {
     TBool isMirrorChar = EFalse;