TBaSoundPriorityBase Class Reference

class TBaSoundPriorityBase

Utility class to bundle up priority, priority preference and device specific data Only intended to be used in conjunction with TBaSystemSoundInfo::iPriority

Layout of class is bits 31 -> 16: Device specific priority preference data bits 15 -> 8: Standard Epoc TMdaPriorityPreference setting bits 7 -> 0: Priority value stored as a TInt8. Maximum range possible is -256 -> +255 Note that MediaSvr currently defines a narrower range than this

Public Member Functions
TInt Int()
TInt Priority()
IMPORT_C TMdaPriorityPreferencePriorityPreference()
Protected Member Functions
TBaSoundPriorityBase()
voidSet(TInt, TMdaPriorityPreference)
Protected Attributes
TInt iPriority

Constructor & Destructor Documentation

TBaSoundPriorityBase()

TBaSoundPriorityBase()[protected, inline]

Member Functions Documentation

Int()

TInt Int()const [inline]

Priority()

TInt Priority()const [inline]

PriorityPreference()

IMPORT_C TMdaPriorityPreferencePriorityPreference()const

Set(TInt, TMdaPriorityPreference)

voidSet(TIntaPriority,
TMdaPriorityPreferenceaPriorityPreference = EMdaPriorityPreferenceTimeAndQuality
)[protected]

Parameters

TInt aPriority
TMdaPriorityPreference aPriorityPreference = EMdaPriorityPreferenceTimeAndQuality

Member Data Documentation

TInt iPriority

TInt iPriority[protected]