diff -r d1838696558c -r 9dcba1ee99f7 appinstaller/AppMngr2/Widget/src/appmngr2widgetinfoiterator.cpp --- a/appinstaller/AppMngr2/Widget/src/appmngr2widgetinfoiterator.cpp Thu Oct 14 14:11:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -/* -* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Implementation of CAppMngr2WidgetInfoIterator -* -*/ - - -#include "appmngr2widgetinfoiterator.h" // CAppMngr2WidgetInfoIterator -#include "appmngr2widgetappinfo.h" // CAppMngr2WidgetAppInfo -#include // StringLoader -#include // R_SWCOMMON_DETAIL_VALUE_WIDGET - - -// ======== MEMBER FUNCTIONS ======== - -// --------------------------------------------------------------------------- -// CAppMngr2WidgetInfoIterator::NewL() -// --------------------------------------------------------------------------- -// -CAppMngr2WidgetInfoIterator* CAppMngr2WidgetInfoIterator::NewL( - CAppMngr2InfoBase& aWidget, TAppMngr2InfoType aInfoType ) - { - CAppMngr2WidgetInfoIterator* self = - new ( ELeave ) CAppMngr2WidgetInfoIterator( aWidget, aInfoType ); - CleanupStack::PushL( self ); - self->ConstructL(); - CleanupStack::Pop( self ); - return self; - } - -// --------------------------------------------------------------------------- -// CAppMngr2WidgetInfoIterator::~CAppMngr2WidgetInfoIterator() -// --------------------------------------------------------------------------- -// -CAppMngr2WidgetInfoIterator::~CAppMngr2WidgetInfoIterator() - { - } - -// --------------------------------------------------------------------------- -// CAppMngr2WidgetInfoIterator::ConstructL() -// --------------------------------------------------------------------------- -// -void CAppMngr2WidgetInfoIterator::ConstructL() - { - BaseConstructL(); - } - -// --------------------------------------------------------------------------- -// CAppMngr2WidgetInfoIterator::SetOtherFieldsL() -// --------------------------------------------------------------------------- -// -void CAppMngr2WidgetInfoIterator::SetOtherFieldsL() - { - HBufC* type = NULL; - type = StringLoader::LoadLC( R_SWCOMMON_DETAIL_VALUE_WIDGET ); - SetFieldL( R_SWCOMMON_DETAIL_TYPE , *type); - CleanupStack::PopAndDestroy( type ); - } - -// --------------------------------------------------------------------------- -// CAppMngr2WidgetInfoIterator::CAppMngr2WidgetInfoIterator() -// --------------------------------------------------------------------------- -// -CAppMngr2WidgetInfoIterator::CAppMngr2WidgetInfoIterator( - CAppMngr2InfoBase& aWidget, TAppMngr2InfoType aInfoType ) : - CAppMngr2InfoIterator( aWidget, aInfoType ) - { - } -