--- a/mtpfws/mtpfw/inc/cmtpconnectionmgr.h Tue Feb 02 01:11:40 2010 +0200
+++ b/mtpfws/mtpfw/inc/cmtpconnectionmgr.h Fri Feb 19 23:40:44 2010 +0200
@@ -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