baseconnectionproviders/refscpr/inc/ReferenceSCPR_subconparams.inl
branchRCL_3
changeset 25 9d7ce34704c8
equal deleted inserted replaced
24:00c6709d25aa 25:9d7ce34704c8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Inline Functions file for the Reference SubConnection Parameter Set.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 
       
    24 inline CSubConReferenceParamSet* CSubConReferenceParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
       
    25 	{
       
    26 	CSubConReferenceParamSet* obj = NewL();
       
    27 	CleanupStack::PushL(obj);
       
    28 	aFamily.AddExtensionSetL(*obj, aType);
       
    29 	CleanupStack::Pop(obj);
       
    30 	return obj;
       
    31 	}
       
    32 
       
    33 inline CSubConReferenceParamSet* CSubConReferenceParamSet::NewL()
       
    34 	{
       
    35 	STypeId typeId(KSubConReferenceParamsUid, KSubConReferenceParamsType);
       
    36 	return static_cast<CSubConReferenceParamSet*>(CSubConParameterSet::NewL(typeId));
       
    37 	}
       
    38 
       
    39 inline CSubConReferenceParamSet::CSubConReferenceParamSet()
       
    40 	: CSubConExtensionParameterSet(), 
       
    41 	iDummyTIntParameter(0),
       
    42 	iDummyName()
       
    43 	{
       
    44 	}
       
    45 	
       
    46 	
       
    47 inline TInt CSubConReferenceParamSet::GetDummyTIntParameter() const
       
    48 	{
       
    49 	return iDummyTIntParameter;
       
    50 	}
       
    51 	
       
    52 inline const TName& CSubConReferenceParamSet::GetDummyTNameParameter() const
       
    53 	{
       
    54 	return iDummyName;
       
    55 	}
       
    56 	
       
    57 inline void CSubConReferenceParamSet::SetDummyTIntParameter(TInt aDummyTIntParameter)
       
    58 	{
       
    59 	iDummyTIntParameter = aDummyTIntParameter;
       
    60 	}
       
    61 	
       
    62 inline void CSubConReferenceParamSet::SetDummyTNameParameter(const TName& aDummyName)
       
    63 	{
       
    64 	iDummyName = aDummyName;	
       
    65 	}