williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: Sets one of the settings defined by the CLbsAdmin class. williamr@2: @param aSetting The setting to be changed. williamr@2: @param aValue The new value of the setting. williamr@2: @return KErrNone if successful, KErrArgument if the value is out of range, KErrNotSupported if the value is not supported and one of the system wide error codes otherwise. williamr@2: @capability WriteDeviceData williamr@2: @see TLbsAdminSetting williamr@2: @prototype williamr@2: */ williamr@2: template williamr@2: inline TInt CLbsAdmin::Set(const TLbsAdminSetting& aSetting, const T& aValue) williamr@2: { williamr@2: return DoSet(aSetting, aValue); williamr@2: } williamr@2: williamr@2: williamr@2: /** Gets one of the settings defined by the CLbsAdmin class. williamr@2: @param aSetting The setting to be retrieved. williamr@2: @param aValue The value of the setting. williamr@2: @return KErrNone if successful, one of the system wide error codes otherwise. williamr@2: @see TLbsAdminSetting williamr@2: @prototype */ williamr@2: template williamr@2: inline TInt CLbsAdmin::Get(const TLbsAdminSetting& aSetting, T& aValue) const williamr@2: { williamr@2: return DoGet(aSetting, aValue); williamr@2: }