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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 Sets one of the settings defined by the CLbsAdmin class.
20 @param aSetting The setting to be changed.
21 @param aValue The new value of the setting.
22 @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.
23 @capability WriteDeviceData
28 inline TInt CLbsAdmin::Set(const TLbsAdminSetting& aSetting, const T& aValue)
30 return DoSet(aSetting, aValue);
34 /** Gets one of the settings defined by the CLbsAdmin class.
35 @param aSetting The setting to be retrieved.
36 @param aValue The value of the setting.
37 @return KErrNone if successful, one of the system wide error codes otherwise.
41 inline TInt CLbsAdmin::Get(const TLbsAdminSetting& aSetting, T& aValue) const
43 return DoGet(aSetting, aValue);