sdkcreationmw/sdkruntimes/wsock/src/WinsockAgentFactory.cpp
author rajpuroh
Wed, 21 Apr 2010 09:56:53 +0530
changeset 1 ac50fd48361b
parent 0 b26acd06ea60
permissions -rw-r--r--
Second Contribution

/*
* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* which accompanies this distribution, and is available
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
*
*/


#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()");
}