diff -r 000000000000 -r ba25891c3a9e ncdengine/engine/src/catalogscontextimpl.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncdengine/engine/src/catalogscontextimpl.cpp Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,139 @@ +/* +* Copyright (c) 2006 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 context-class +* +*/ + + +#include "catalogscontextimpl.h" +#include "catalogsdebug.h" + + + +// ======== MEMBER FUNCTIONS ======== + + +// --------------------------------------------------------------------------- +// Warning: default-constructor leaves iSecureId in a undefined state +// --------------------------------------------------------------------------- +// +CCatalogsContextImpl::CCatalogsContextImpl( TUid aFamilyId, TSecureId aSecureId, + TInt aInstanceId ) : + iFamilyId( aFamilyId ), + iSecureId( aSecureId ), + iInstanceId( aInstanceId ) + { + DLTRACEIN(("this-ptr: %x", this)); + } + +void CCatalogsContextImpl::ConstructL() + { + + } + +CCatalogsContextImpl* CCatalogsContextImpl::NewL( TUid aFamilyId, TSecureId aSecureId, + TInt aInstanceId ) + { + CCatalogsContextImpl* self = CCatalogsContextImpl::NewLC( aFamilyId, aSecureId, + aInstanceId ); + CleanupStack::Pop( self ); + return self; + } + +CCatalogsContextImpl* CCatalogsContextImpl::NewLC( TUid aFamilyId, TSecureId aSecureId, + TInt aInstanceId ) + { + CCatalogsContextImpl* self = new( ELeave ) CCatalogsContextImpl( aFamilyId, + aSecureId, aInstanceId ); + CleanupStack::PushL( self ); + self->ConstructL(); + return self; + } + +CCatalogsContextImpl::~CCatalogsContextImpl() + { + DLTRACEIN(("this-ptr: %x", this)); + for( TInt i=0; i