1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <featmgr.h> |
18 #include <featmgr.h> |
19 #include <featurecontrol.h> |
19 #include <featurecontrol.h> |
20 #include <iadctrl.rsg> |
|
21 #include <stringresourcereader.h> |
|
22 #include <f32file.h> |
20 #include <f32file.h> |
23 #include <data_caging_path_literals.hrh> |
21 #include <data_caging_path_literals.hrh> |
24 #include "iadctrldcmoadapter.h" |
22 #include "iadctrldcmoadapter.h" |
25 |
23 |
26 _LIT( KiadCtrlProperty, "IAD"); |
24 _LIT( KiadCtrlProperty, "IAD"); |
211 |
209 |
212 // ---------------------------------------------------------------------------------------- |
210 // ---------------------------------------------------------------------------------------- |
213 // CiadCtrlDCMOAdapter::GetLocalizedNameL |
211 // CiadCtrlDCMOAdapter::GetLocalizedNameL |
214 // Returns the localized name of IAD plug-in Adapter. |
212 // Returns the localized name of IAD plug-in Adapter. |
215 // ---------------------------------------------------------------------------------------- |
213 // ---------------------------------------------------------------------------------------- |
216 void CiadCtrlDCMOAdapter::GetLocalizedNameL( HBufC*& aLocName ) |
214 void CiadCtrlDCMOAdapter::GetLocalizedNameL( HBufC*& /*aLocName*/ ) |
217 { |
215 { |
218 TFileName myFileName; |
216 TFileName myFileName; |
219 TParse parseObj; |
217 TParse parseObj; |
220 parseObj.Set( KRuntimeResourceFileName(), &KDC_RESOURCE_FILES_DIR,NULL ); |
218 parseObj.Set( KRuntimeResourceFileName(), &KDC_RESOURCE_FILES_DIR,NULL ); |
221 myFileName = parseObj.FullName(); |
219 myFileName = parseObj.FullName(); |
222 CStringResourceReader* test = CStringResourceReader::NewLC( myFileName ); |
220 /* CStringResourceReader* test = CStringResourceReader::NewLC( myFileName ); |
223 TPtrC buf; |
221 TPtrC buf; |
224 buf.Set(test->ReadResourceString( R_SWUPDATE_CONFIGURING_TITLE ) ); |
222 buf.Set(test->ReadResourceString( R_SWUPDATE_CONFIGURING_TITLE ) ); |
225 aLocName = buf.AllocL() ; |
223 aLocName = buf.AllocL() ; |
226 CleanupStack::PopAndDestroy( test ); |
224 CleanupStack::PopAndDestroy( test );*/ |
227 } |
225 } |