sdkcreationmw/sdkruntimes/wsock/src/WinsockAgentFactory.cpp
changeset 0 b26acd06ea60
child 1 ac50fd48361b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sdkcreationmw/sdkruntimes/wsock/src/WinsockAgentFactory.cpp	Mon Mar 08 12:09:11 2010 +0530
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2004-2005 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: 
+*
+*/
+
+
+#define TRACE_PREFIX "WSOCK: AgentFactory: "
+#include "wsock.h"
+#include "WinsockAgent.h"
+#include "WinsockAgentFactory.h"
+
+CWinsockAgentFactory::CWinsockAgentFactory()
+{
+}
+
+CWinsockAgentFactory::~CWinsockAgentFactory()
+{
+}
+
+// CNifAgentFactory
+CNifAgentBase * CWinsockAgentFactory::NewAgentL(const TDesC& /*aName*/)
+{
+    return CWinsockAgent::NewL();
+}
+
+TInt CWinsockAgentFactory::Info(TNifAgentInfo& /*aInfo*/,
+                                TInt DEBUG_ONLY(aIndex)) const
+{
+    TRACE1("Info(%d)",aIndex);
+    return KErrNotFound;
+}
+
+// CNifFactory
+void CWinsockAgentFactory::InstallL()
+{
+    TRACE("Install()");
+}