equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // INCLUDE FILES |
18 // INCLUDE FILES |
19 #include "cphonecenrepproxy.h" |
19 #include "cphonecenrepproxy.h" |
20 // <-- QT PHONE START --> |
|
21 //#include <callhandlingui.rsg> |
|
22 // <-- QT PHONE END --> |
|
23 #include <barsread.h> |
20 #include <barsread.h> |
24 #include <coemain.h> |
21 #include <coemain.h> |
25 |
22 |
26 #include "tphonetouchbuttonconfig.h" |
23 #include "tphonetouchbuttonconfig.h" |
27 #include "phoneui.pan" |
24 #include "phoneui.pan" |
95 // --------------------------------------------------------------------------- |
92 // --------------------------------------------------------------------------- |
96 // |
93 // |
97 void TPhoneTouchButtonConfig::ReadConfigResourceL( |
94 void TPhoneTouchButtonConfig::ReadConfigResourceL( |
98 const TFixedArray<TInt,KTelButtonsConfigKeyCount>& /*aKeyValues*/ ) |
95 const TFixedArray<TInt,KTelButtonsConfigKeyCount>& /*aKeyValues*/ ) |
99 { |
96 { |
100 // <-- QT PHONE START --> |
|
101 /*TResourceReader reader; |
|
102 CCoeEnv::Static()->CreateResourceReaderLC( |
|
103 reader, |
|
104 R_PHONEUI_TOUCH_BUTTON_CONFIG ); |
|
105 |
|
106 TInt configItemCount = reader.ReadInt16(); |
|
107 for ( TInt i=0; i < configItemCount; i++ ) |
|
108 { |
|
109 TInt buttonSetId = reader.ReadInt16(); |
|
110 TInt buttonSetCount = reader.ReadInt16(); |
|
111 for ( TInt j=0; j < buttonSetCount ; j++ ) |
|
112 { |
|
113 TInt buttonSetResourceId = reader.ReadInt32(); |
|
114 if ( j == aKeyValues[ buttonSetId ] ) |
|
115 { |
|
116 iConfiguration[ buttonSetId ] = buttonSetResourceId; |
|
117 } |
|
118 } |
|
119 } |
|
120 |
|
121 CleanupStack::PopAndDestroy(); // reader*/ |
|
122 // <-- QT PHONE END --> |
|
123 } |
97 } |
124 |
98 |
125 // --------------------------------------------------------------------------- |
99 // --------------------------------------------------------------------------- |
126 // MapToCenRepKey |
100 // MapToCenRepKey |
127 // --------------------------------------------------------------------------- |
101 // --------------------------------------------------------------------------- |