iaupdate/IAD/configurator/src/iadctrldcmoadapter.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 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> 
    20 #include <f32file.h> 
    22 #include <f32file.h> 
    21 #include <data_caging_path_literals.hrh>
    23 #include <data_caging_path_literals.hrh>
    22 #include "iadctrldcmoadapter.h"
    24 #include "iadctrldcmoadapter.h"
    23 
    25 
    24 _LIT( KiadCtrlProperty, "IAD");
    26 _LIT( KiadCtrlProperty, "IAD");
   209 
   211 
   210 // ----------------------------------------------------------------------------------------
   212 // ----------------------------------------------------------------------------------------
   211 // CiadCtrlDCMOAdapter::GetLocalizedNameL
   213 // CiadCtrlDCMOAdapter::GetLocalizedNameL
   212 // Returns the localized name of IAD plug-in Adapter.
   214 // Returns the localized name of IAD plug-in Adapter.
   213 // ----------------------------------------------------------------------------------------
   215 // ----------------------------------------------------------------------------------------
   214 void CiadCtrlDCMOAdapter::GetLocalizedNameL( HBufC*& /*aLocName*/ )
   216 void CiadCtrlDCMOAdapter::GetLocalizedNameL( HBufC*& aLocName )
   215 {
   217 {
   216 	TFileName myFileName;
   218 	TFileName myFileName;
   217     TParse parseObj;
   219     TParse parseObj;
   218     parseObj.Set( KRuntimeResourceFileName(), &KDC_RESOURCE_FILES_DIR,NULL );
   220     parseObj.Set( KRuntimeResourceFileName(), &KDC_RESOURCE_FILES_DIR,NULL );
   219     myFileName = parseObj.FullName();
   221     myFileName = parseObj.FullName();
   220 /*	CStringResourceReader* test = CStringResourceReader::NewLC( myFileName );
   222 	CStringResourceReader* test = CStringResourceReader::NewLC( myFileName );
   221 	TPtrC buf;
   223 	TPtrC buf;
   222 	buf.Set(test->ReadResourceString( R_SWUPDATE_CONFIGURING_TITLE ) ); 
   224 	buf.Set(test->ReadResourceString( R_SWUPDATE_CONFIGURING_TITLE ) ); 
   223 	aLocName = buf.AllocL() ; 
   225 	aLocName = buf.AllocL() ; 
   224 	CleanupStack::PopAndDestroy( test );*/
   226 	CleanupStack::PopAndDestroy( test );
   225 }
   227 }