datacommsserver/esockserver/commsdataobjects/test/src/queryconnsettingstiermgrimpl.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2007-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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #include "queryconnsettingstiermgrimpl.h"
       
    22 
       
    23 
       
    24 CQueryConnSettingsTierMgrImpl* CQueryConnSettingsTierMgrImpl::NewL(TUint aIap)
       
    25 	{
       
    26 	CQueryConnSettingsTierMgrImpl* self = new (ELeave)CQueryConnSettingsTierMgrImpl();
       
    27 	self->iIapView = CCommsDatIapView::NewL(aIap);
       
    28 	return self;
       
    29 	}
       
    30 
       
    31 TInt CQueryConnSettingsTierMgrImpl::GetInt(CommsDat::TMDBElementId aElementId, TUint32& aValue, MPlatsecApiExt* aPlatsecApiExt)
       
    32 	{
       
    33 	(void)aPlatsecApiExt;
       
    34 	return iIapView->GetInt(aElementId, aValue);
       
    35 	}
       
    36 	
       
    37 TInt CQueryConnSettingsTierMgrImpl::GetInt(CommsDat::TMDBElementId aElementId, TInt& aValue, MPlatsecApiExt* aPlatsecApiExt)
       
    38 	{
       
    39 	(void)aPlatsecApiExt;
       
    40 	return iIapView->GetInt(aElementId, aValue);
       
    41 	}
       
    42 	
       
    43 TInt CQueryConnSettingsTierMgrImpl::GetBool(CommsDat::TMDBElementId aElementId, TBool& aValue, MPlatsecApiExt* aPlatsecApiExt)
       
    44 	{
       
    45 	(void)aPlatsecApiExt;
       
    46 	return iIapView->GetBool(aElementId, aValue);
       
    47 	}
       
    48 	
       
    49 TInt CQueryConnSettingsTierMgrImpl::GetText(CommsDat::TMDBElementId aElementId, HBufC8*& aValue, MPlatsecApiExt* aPlatsecApiExt)
       
    50 	{
       
    51 	(void)aPlatsecApiExt;
       
    52 	return iIapView->GetText(aElementId, aValue);
       
    53 	}
       
    54 	
       
    55 TInt CQueryConnSettingsTierMgrImpl::GetText(CommsDat::TMDBElementId aElementId, HBufC16*& aValue, MPlatsecApiExt* aPlatsecApiExt)
       
    56 	{
       
    57 	(void)aPlatsecApiExt;
       
    58 	return iIapView->GetText(aElementId, aValue);
       
    59 	}
       
    60