diff -r 6646e488a904 -r 34fc115b8742 baseconnectionproviders/refscpr/src/ReferenceSCPR_subconparams.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/baseconnectionproviders/refscpr/src/ReferenceSCPR_subconparams.cpp Fri Jun 11 14:52:21 2010 +0300 @@ -0,0 +1,47 @@ +// Copyright (c) 2005-2009 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: +// The implementation file for the Reference SubConnection Parameter Set. +// +// + +/** + @file + @internalComponent +*/ + + +#include +#include "ReferenceSCPR_subconparams.h" +#include + + +START_ATTRIBUTE_TABLE( CSubConReferenceParamSet, KSubConReferenceParamsUid, KSubConReferenceParamsType ) + REGISTER_ATTRIBUTE( CSubConReferenceParamSet, iDummyTIntParameter, TMetaNumber ) + REGISTER_ATTRIBUTE( CSubConReferenceParamSet, iDummyName, TMetaNumber ) +END_ATTRIBUTE_TABLE() + + +CSubConExtensionParameterSet* CReferenceSubConnExtensionParamsFactory::NewL(TAny* aConstructionParameters) + { + TInt32 type = reinterpret_cast(aConstructionParameters); + switch (type) + { + case (KSubConReferenceParamsType): + return new (ELeave) CSubConReferenceParamSet; + default: + User::Leave(KErrNotFound); + } + return NULL; + } +