datacommsserver/esockserver/commsdataobjects/test/src/queryconnsettingstiermgrimpl.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 20:01:43 +0300
branchRCL_3
changeset 23 cbb19216b74d
parent 0 dfb7c4ff071f
permissions -rw-r--r--
Revision: 201027 Kit: 2010127

// Copyright (c) 2007-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:
//

/**
 @file
 @internalTechnology
*/

#include "queryconnsettingstiermgrimpl.h"


CQueryConnSettingsTierMgrImpl* CQueryConnSettingsTierMgrImpl::NewL(TUint aIap)
	{
	CQueryConnSettingsTierMgrImpl* self = new (ELeave)CQueryConnSettingsTierMgrImpl();
	self->iIapView = CCommsDatIapView::NewL(aIap);
	return self;
	}

TInt CQueryConnSettingsTierMgrImpl::GetInt(CommsDat::TMDBElementId aElementId, TUint32& aValue, MPlatsecApiExt* aPlatsecApiExt)
	{
	(void)aPlatsecApiExt;
	return iIapView->GetInt(aElementId, aValue);
	}
	
TInt CQueryConnSettingsTierMgrImpl::GetInt(CommsDat::TMDBElementId aElementId, TInt& aValue, MPlatsecApiExt* aPlatsecApiExt)
	{
	(void)aPlatsecApiExt;
	return iIapView->GetInt(aElementId, aValue);
	}
	
TInt CQueryConnSettingsTierMgrImpl::GetBool(CommsDat::TMDBElementId aElementId, TBool& aValue, MPlatsecApiExt* aPlatsecApiExt)
	{
	(void)aPlatsecApiExt;
	return iIapView->GetBool(aElementId, aValue);
	}
	
TInt CQueryConnSettingsTierMgrImpl::GetText(CommsDat::TMDBElementId aElementId, HBufC8*& aValue, MPlatsecApiExt* aPlatsecApiExt)
	{
	(void)aPlatsecApiExt;
	return iIapView->GetText(aElementId, aValue);
	}
	
TInt CQueryConnSettingsTierMgrImpl::GetText(CommsDat::TMDBElementId aElementId, HBufC16*& aValue, MPlatsecApiExt* aPlatsecApiExt)
	{
	(void)aPlatsecApiExt;
	return iIapView->GetText(aElementId, aValue);
	}