MRadioPreset Class Reference
This class provides an interface for controlling the preset settings. This is an abstract interface that must be implemented by all preset utilities.
RadioPresetUtility.lib
- Since
- S60 3.2
Member Functions Documentation
DeletePresetL(TInt)
void | DeletePresetL | ( | TInt | aIndex | ) | [pure virtual] |
Delete the specified preset. Has not effect if specified index contains no preset.
NOTE: Specifying aIndex == 0, will delete all presets.
Parameters
TInt aIndex | A preset index. |
GetFirstPresetL(TInt &)
void | GetFirstPresetL | ( | TInt & | aIndex | ) | const [pure virtual] |
Get the first preset index that has been set. Leaves with KErrNone if no preset exists.
Parameters
TInt & aIndex | On return contains the index of the first preset. |
GetMaxNumberOfPresets(TInt &)
TInt
| GetMaxNumberOfPresets | ( | TInt & | aMaxNumOfPresets | ) | const [pure virtual] |
Get the maximum number of presets supported by this utility. The numbering of presets starts from 1 and the largest preset number equals the value returned from this function.
Parameters
TInt & aMaxNumOfPresets | On return contains the maximum number of presets. |
GetNextPresetL(TInt, TInt &)
void | GetNextPresetL | ( | TInt | aIndex, |
| TInt & | aNextIndex |
| ) | const [pure virtual] |
Get the next preset index that has been set, given the current index. Leaves with KErrNone if no other preset exists.
Parameters
TInt aIndex | Current preset index. |
TInt & aNextIndex | On return contains the index of next preset. |
GetNumberOfPresets(TInt &)
TInt
| GetNumberOfPresets | ( | TInt & | aNumOfPresets | ) | const [pure virtual] |
Get the number of presets already set by the client (i.e. contains data).
Parameters
TInt & aNumOfPresets | On return contains the current number of presets. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.