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_C TUsbPersonalityParams ( RUsb & aUsbMan,
CUsbPersonalityNotifier & aPersonalityNotifier
)

Parameters

RUsb & aUsbMan
CUsbPersonalityNotifier & aPersonalityNotifier

~TUsbPersonalityParams()

IMPORT_C ~TUsbPersonalityParams ( )

Member Functions Documentation

PersonalityId()

IMPORT_C TInt PersonalityId ( ) 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 void SetPersonalityId ( TInt aPersonalityId )

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