--- a/phoneapp/phoneuiutils/src/tphonetouchbuttonconfig.cpp Thu Aug 19 09:54:27 2010 +0300
+++ b/phoneapp/phoneuiutils/src/tphonetouchbuttonconfig.cpp Tue Aug 31 15:14:29 2010 +0300
@@ -17,7 +17,6 @@
// INCLUDE FILES
#include "cphonecenrepproxy.h"
-#include <callhandlingui.rsg>
#include <barsread.h>
#include <coemain.h>
@@ -93,29 +92,8 @@
// ---------------------------------------------------------------------------
//
void TPhoneTouchButtonConfig::ReadConfigResourceL(
- const TFixedArray<TInt,KTelButtonsConfigKeyCount>& aKeyValues )
+ const TFixedArray<TInt,KTelButtonsConfigKeyCount>& /*aKeyValues*/ )
{
- TResourceReader reader;
- CCoeEnv::Static()->CreateResourceReaderLC(
- reader,
- R_PHONEUI_TOUCH_BUTTON_CONFIG );
-
- TInt configItemCount = reader.ReadInt16();
- for ( TInt i=0; i < configItemCount; i++ )
- {
- TInt buttonSetId = reader.ReadInt16();
- TInt buttonSetCount = reader.ReadInt16();
- for ( TInt j=0; j < buttonSetCount ; j++ )
- {
- TInt buttonSetResourceId = reader.ReadInt32();
- if ( j == aKeyValues[ buttonSetId ] )
- {
- iConfiguration[ buttonSetId ] = buttonSetResourceId;
- }
- }
- }
-
- CleanupStack::PopAndDestroy(); // reader
}
// ---------------------------------------------------------------------------