TUsbPersonalityParams Class Reference

class TUsbPersonalityParams

Container class for USB personalities

Personality id, handle for Usb Manager and personality notifier is given with this class to USB personalities.

euser.lib, usbman.lib
Since
S60 3.2

Constructor & Destructor Documentation

TUsbPersonalityParams(RUsb &, CUsbPersonalityNotifier &)

IMPORT_CTUsbPersonalityParams(RUsb &aUsbMan,
CUsbPersonalityNotifier &aPersonalityNotifier
)

Parameters

RUsb & aUsbMan
CUsbPersonalityNotifier & aPersonalityNotifier

~TUsbPersonalityParams()

IMPORT_C~TUsbPersonalityParams()

Member Functions Documentation

PersonalityId()

IMPORT_C TIntPersonalityId()const

Method to get current personality id

Since
S60 3.2

PersonalityNotifier()

IMPORT_C CUsbPersonalityNotifier &PersonalityNotifier()const

Method to get handle to personality notifier

Since
S60 3.2

SetPersonalityId(TInt)

IMPORT_C voidSetPersonalityId(TIntaPersonalityId)

Set personality id.

Since
S60 3.2

Parameters

TInt aPersonalityId

UsbMan()

IMPORT_C RUsb &UsbMan()const

Method to get handle to USB Manager

Since
S60 3.2

Member Data Documentation

TInt iPersonalityId

TInt iPersonalityId[private]

Current personality id

CUsbPersonalityNotifier & iPersonalityNotifier

CUsbPersonalityNotifier &iPersonalityNotifier[private]

Handle to personality notifier

RUsb & iUsbMan

RUsb &iUsbMan[private]

Handle to USB Manager