idlehomescreen/xmluirendering/uiengine/src/xnnodepluginif.cpp
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
--- a/idlehomescreen/xmluirendering/uiengine/src/xnnodepluginif.cpp	Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnnodepluginif.cpp	Tue Sep 14 20:58:58 2010 +0300
@@ -26,6 +26,9 @@
 #include "xndomdocument.h"
 #include "xnodt.h"
 
+_LIT8( KFocus, "focus" );
+_LIT8( KEdit, "edit" );
+
 // ============================ MEMBER FUNCTIONS ===============================
 
 // -----------------------------------------------------------------------------
@@ -207,7 +210,16 @@
 //
 EXPORT_C TBool CXnNodePluginIf::IsFocusedState()
     {
-    return iNode->IsStateSet( _L8( "focus" ) );
+    return iNode->IsStateSet( KFocus );
+    }
+
+// -----------------------------------------------------------------------------
+// CXnNodePluginIf::IsEditState
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TBool CXnNodePluginIf::IsEditState()
+    {
+    return iNode->IsStateSet( KEdit );
     }
 
 // -----------------------------------------------------------------------------