MPresenceInfoFieldValueEnum Class Reference

class MPresenceInfoFieldValueEnum : public MXIMPBase

Interface for presence information field value having an enumerated integer value.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceInfoFieldValueEnum()

~MPresenceInfoFieldValueEnum()[inline, virtual]

Public destructor. MPresenceInfoFieldValueEnum object can be deleted through this interface.

Member Functions Documentation

MaxValue()

TInt MaxValue()const [pure virtual]

Returns maximum value of enumeration.

MinValue()

TInt MinValue()const [pure virtual]

Returns minimum value of enumeration.

SetLimits(TInt, TInt)

voidSetLimits(TIntaMin,
TIntaMax
)[pure virtual]

Set the minimum and maximum allowed by the enumeration. The value range set is inclusive, that is [aMin..aMax].

Parameters

TInt aMinThe minimum
TInt aMaxThe maximum

SetValueL(TInt)

voidSetValueL(TIntaValue)[pure virtual]

Set the value of the enumeration.

leave
KErrUnderFlow If the enum value is less than the allowed minimum
leave
KErrOverFlow If the enum value is more than the allowed maximum

Parameters

TInt aValueNew enum value to set

Value()

TInt Value()const [pure virtual]

Returns Value of enumeration.