diff -r bb577720afcd -r 5851d9e42c5b mtpfws/mtpfw/inc/cmtpconnectionmgr.h --- a/mtpfws/mtpfw/inc/cmtpconnectionmgr.h Mon Mar 08 21:44:10 2010 +0000 +++ b/mtpfws/mtpfw/inc/cmtpconnectionmgr.h Sun Mar 14 13:12:01 2010 +0000 @@ -54,6 +54,7 @@ IMPORT_C CMTPConnection& ConnectionL(TUint aConnectionId) const; TUint ConnectionCount() const; CMTPConnection& operator[](TInt aIndex) const; + void ConnectionCloseComplete(const TUint& aConnUid); IMPORT_C void StartTransportL(TUid aTransport); IMPORT_C void StartTransportL(TUid aTransport, const TAny* aParameter); IMPORT_C void QueueTransportL( TUid aTransport, const TAny* aParameter ); @@ -63,13 +64,11 @@ IMPORT_C void StopTransports(); IMPORT_C TInt TransportCount() const; IMPORT_C TUid TransportUid(); - - + private: // From MMTPConnectionMgr - void ConnectionClosed(MMTPTransportConnection& aTransportConnection); + TBool ConnectionClosed(MMTPTransportConnection& aTransportConnection); void ConnectionOpenedL(MMTPTransportConnection& aTransportConnection); - TBool DeleteConnection(TUint aConnectionId); TUid ClientSId(); private: @@ -92,6 +91,7 @@ TUid iTransportUid; TUint iTransportCount; TUid iSecureId; + TBool iIsTransportStopping; /** * Array storing the UIDs of the suspended transport plugins