javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtmobiledevice.cpp
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtmobiledevice.cpp	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtmobiledevice.cpp	Thu Aug 19 09:48:13 2010 +0300
@@ -11,6 +11,7 @@
 
 
 #include <hal.h>
+#include <e32svr.h>
 #include <aknsoundsystem.h>
 #include <aknappui.h>
 #include <aknenv.h>
@@ -48,7 +49,7 @@
 // CSwtMobileDevice::GetHwInputs
 // ---------------------------------------------------------------------------
 //
-void CSwtMobileDevice::GetHwInputs(
+void CSwtMobileDevice::GetHwInputsL(
     RArray<CSwtMobileDevice::TSwtHwInput>& aInputs)
 {
     TInt mask;
@@ -68,9 +69,9 @@
             tempInput.iLocation = MSwtMobileDevice::ELocal;
         }
         tempInput.iType = MSwtInput::ESoftKeys;
-        aInputs.Append(tempInput);
+        aInputs.AppendL(tempInput);
         tempInput.iType = MSwtInput::EFullKeyboard;
-        aInputs.Append(tempInput);
+        aInputs.AppendL(tempInput);
     }
 
     if (mask & EKeyboard_Keypad)
@@ -84,9 +85,9 @@
             tempInput.iLocation = MSwtMobileDevice::ELocal;
         }
         tempInput.iType = MSwtInput::ESoftKeys;
-        aInputs.Append(tempInput);
+        aInputs.AppendL(tempInput);
         tempInput.iType = MSwtInput::EKeyPad;
-        aInputs.Append(tempInput);
+        aInputs.AppendL(tempInput);
     }
 }