CDpsUsbNotifier Class Reference
class CDpsUsbNotifier : public CActive
|
Class for monitoring the usb personality change and cable connection/disconnectin
Constructor & Destructor Documentation
CDpsUsbNotifier(CDpsEngine *)
CDpsUsbNotifier
|
(
|
CDpsEngine
*
|
aEngine
|
)
|
[private]
|
Parameters
CDpsEngine
* aEngine
|
the pointer to the dps engine
|
Member Functions Documentation
CancelPrinterNotify()
void
|
CancelPrinterNotify
|
(
|
)
|
|
Cancels the request for printer connection notification
ConnectNotify()
Issues the request for printer connect/disconnect notification
ConnectState()
TInt
|
ConnectState
|
(
|
)
|
[private]
|
Updates the current device state
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DisconnectNotify(TUsbDeviceState)
Called by ConnectNotifier to indeicate the cable disconnect
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
IsConfigured()
TBool
|
IsConfigured
|
(
|
)
|
const
|
IsSetPrintModeIssued()
TBool
|
IsSetPrintModeIssued
|
(
|
)
|
|
NewL(CDpsEngine *)
Parameters
CDpsEngine
* aEngine
|
the pointer to the dps engine object
|
PersonalityChanged()
void
|
PersonalityChanged
|
(
|
)
|
[private]
|
PtpNotify(TInt)
void
|
PtpNotify
|
(
|
TInt
|
aErr
|
)
|
[private]
|
Called by PtpNotifier to indicate a ptp printer/pc is connected
Rollback()
void
|
Rollback
|
(
|
)
|
[private]
|
Changes back to the previous personality
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aErr
|
)
|
[private, virtual]
|
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
WaitForPrinterNotify()
void
|
WaitForPrinterNotify
|
(
|
)
|
|
Issues the request for printer connection notification
Member Data Documentation
TBool
iConfigured
TBool
|
iConfigured
|
[private]
|
CDpsConnectNotifier * iConnectP
CDpsConnectNotifier *
|
iConnectP
|
[private]
|
TUsbDeviceState
iConnectState
CDpsEngine::TConnectionStatus
iConnection
TInt
iPersonality
TInt
|
iPersonality
|
[private]
|
CDpsPersonalityWatcher * iPersonalityWatcher
CDpsPersonalityWatcher *
|
iPersonalityWatcher
|
[private]
|
CDpsPtpNotifier * iPtpP
CDpsPtpNotifier *
|
iPtpP
|
[private]
|
TBool
iRollback
TBool
|
iRollback
|
[private]
|
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.