mtptransports/mtpptpiptransport/ptpipcontroller/interface/rptpipframework.h
changeset 0 d0791faffa3f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mtptransports/mtpptpiptransport/ptpipcontroller/interface/rptpipframework.h	Tue Feb 02 01:11:40 2010 +0200
@@ -0,0 +1,45 @@
+// 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:
+// An instance of  PTP/IP Controller is created by RPTPIPFramework::OpenL().
+// Controller() method returns the instance created by OpenL().In the destructor of the 
+// caller of Controller(), RPTPIPFramework::Close() has to be called to delete the instance of 
+// PTP/IP Controller.
+// publishedPartner
+// 
+//
+
+
+#ifndef __RPTPIPFRAMEWORK_H__
+#define __RPTPIPFRAMEWORK_H__
+
+#include <mtp/mptpipcontroller.h>
+
+
+class CPTPIPController;
+
+class RPTPIPFramework
+{
+	public:
+			
+			IMPORT_C void OpenL();		
+			IMPORT_C MPTPIPController& Controller();
+			IMPORT_C void Close();	
+			IMPORT_C RPTPIPFramework();					
+													
+	private:
+																				
+			CPTPIPController* iCtrl;													 
+};
+
+#endif
\ No newline at end of file