phoneapp/phoneuiutils/src/cphoneqwertyhandler.cpp
branchRCL_3
changeset 6 38529f706030
parent 0 5f000ab63145
child 9 91c2fb4b78df
--- a/phoneapp/phoneuiutils/src/cphoneqwertyhandler.cpp	Mon Mar 15 12:40:24 2010 +0200
+++ b/phoneapp/phoneuiutils/src/cphoneqwertyhandler.cpp	Wed Mar 31 21:30:06 2010 +0300
@@ -228,4 +228,18 @@
     return EKeyNull;         
     }           
 
+// -----------------------------------------------------------------------------
+// CPhoneQwertyHandler::AddQwertyModeObserverL
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void CPhoneQwertyHandler::AddQwertyModeObserverL( 
+        MPhoneQwertyModeObserver& aObserver )
+    {
+    iQwertyModeMonitor->AddObserverL( aObserver );
+    
+    // Observer need to be notified with a current qwerty status so that
+    // status dependent objects would get correct initial value.
+    aObserver.HandleQwertyModeChange( iQwertyMode );
+    }
+
 //  End of File