--- a/mtpfws/mtpfw/transports/transportapi/inc/mmtpconnectionmgr.h Tue Feb 02 01:11:40 2010 +0200
+++ b/mtpfws/mtpfw/transports/transportapi/inc/mmtpconnectionmgr.h Fri Feb 19 23:40:44 2010 +0200
@@ -39,8 +39,13 @@
Signals that an MTP transport layer connection has become unavailable.
@param aTransportConnection Interface handle of the MTP transport layer
connection instance.
+ @return ETrue means MTP framework successfully cleanup ts env and can accept
+ another ConnectionOpendedL call. EFalse means there is a transaction alive currently,
+ ConnectionOpenedL must not be called until MMTPTransportConnection::TransactionCompleteL is called.
+ @see MMTPConnectionMgr::ConnectionOpenedL()
+ @see MMTPTransportConnection::TransactionCompleteL()
*/
- virtual void ConnectionClosed(MMTPTransportConnection& aTransportConnection) = 0;
+ virtual TBool ConnectionClosed(MMTPTransportConnection& aTransportConnection) = 0;
/**
Signals that an MTP transport layer connection has become available.
@@ -56,4 +61,4 @@
virtual TUid ClientSId()=0;
};
-#endif // MMTPCONNECTIONMGR_H
\ No newline at end of file
+#endif // MMTPCONNECTIONMGR_H