mtpfws/mtpfw/transports/transportapi/inc/mmtpconnectionmgr.h
changeset 0 d0791faffa3f
child 1 f8e15b44d440
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mtpfws/mtpfw/transports/transportapi/inc/mmtpconnectionmgr.h	Tue Feb 02 01:11:40 2010 +0200
@@ -0,0 +1,59 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+ @internalTechnology
+*/
+
+#ifndef MMTPCONNECTIONMGR_H
+#define MMTPCONNECTIONMGR_H
+
+#include <e32cmn.h>
+
+class MMTPTransportConnection;
+
+/** 
+Defines the MTP connection manager interface
+@internalTechnology
+  
+*/
+
+class MMTPConnectionMgr
+    {
+public:
+
+    /**
+    Signals that an MTP transport layer connection has become unavailable.
+    @param aTransportConnection Interface handle of the MTP transport layer 
+    connection instance.
+    */
+    virtual void ConnectionClosed(MMTPTransportConnection& aTransportConnection) = 0;
+    
+    /**
+    Signals that an MTP transport layer connection has become available.
+    @param aTransportConnection Interface handle of the MTP transport layer 
+    connection instance.
+    @leave One of the system wide error codes, if a processing failure occurs.
+    */
+    virtual void ConnectionOpenedL(MMTPTransportConnection& aTransportConnection) = 0;
+    
+    /**
+    Returns the Secure Id of the process that sent the request
+    */
+    virtual TUid ClientSId()=0;
+            
+    };
+#endif // MMTPCONNECTIONMGR_H
\ No newline at end of file