telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnproviderfactory.cpp
branchRCL_3
changeset 82 042fd2753b8f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnproviderfactory.cpp	Wed Oct 13 15:51:46 2010 +0300
@@ -0,0 +1,53 @@
+// Copyright (c) 2010 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:
+// Connection Provider Factory
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerconnproviderfactory.h"
+#include "mbufgobblerconnprovider.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerConnProviderFactory::~CMbufGobblerConnProviderFactory()
+	{
+	}
+
+CMbufGobblerConnProviderFactory* CMbufGobblerConnProviderFactory::NewL(TAny* aParentContainer)
+    {
+    return new (ELeave) CMbufGobblerConnProviderFactory(TUid::Uid(CMbufGobblerConnProviderFactory::iUid), *reinterpret_cast<ESock::CConnectionFactoryContainer*>(aParentContainer));
+    }
+
+CMbufGobblerConnProviderFactory::CMbufGobblerConnProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer)
+:	CConnectionProviderFactoryBase(aFactoryId, aParentContainer)
+    {
+    }
+
+ESock::ACommsFactoryNodeId* CMbufGobblerConnProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */)
+    {    
+	return CMbufGobblerConnProvider::NewL(*this); 
+    }
+
+void CMbufGobblerConnProviderFactory::EnumerateConnectionsL(RPointerArray<ESock::TSourcedConnectionInfo>& aConnectionInfoPtrArray)
+    {
+    (void)aConnectionInfoPtrArray;
+    //TEnumerateConnectionsQuery query(aConnectionInfoPtrArray);
+    //Find(query);
+    }
+
+