0
|
1 |
/*
|
|
2 |
* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* which accompanies this distribution, and is available
|
|
6 |
*
|
|
7 |
* Initial Contributors:
|
|
8 |
* Nokia Corporation - initial contribution.
|
|
9 |
*
|
|
10 |
* Contributors:
|
|
11 |
*
|
|
12 |
*
|
|
13 |
*/
|
|
14 |
|
|
15 |
|
|
16 |
#define TRACE_PREFIX "WSOCK: AgentFactory: "
|
|
17 |
#include "wsock.h"
|
|
18 |
#include "WinsockAgent.h"
|
|
19 |
#include "WinsockAgentFactory.h"
|
|
20 |
|
|
21 |
CWinsockAgentFactory::CWinsockAgentFactory()
|
|
22 |
{
|
|
23 |
}
|
|
24 |
|
|
25 |
CWinsockAgentFactory::~CWinsockAgentFactory()
|
|
26 |
{
|
|
27 |
}
|
|
28 |
|
|
29 |
// CNifAgentFactory
|
|
30 |
CNifAgentBase * CWinsockAgentFactory::NewAgentL(const TDesC& /*aName*/)
|
|
31 |
{
|
|
32 |
return CWinsockAgent::NewL();
|
|
33 |
}
|
|
34 |
|
|
35 |
TInt CWinsockAgentFactory::Info(TNifAgentInfo& /*aInfo*/,
|
|
36 |
TInt DEBUG_ONLY(aIndex)) const
|
|
37 |
{
|
|
38 |
TRACE1("Info(%d)",aIndex);
|
|
39 |
return KErrNotFound;
|
|
40 |
}
|
|
41 |
|
|
42 |
// CNifFactory
|
|
43 |
void CWinsockAgentFactory::InstallL()
|
|
44 |
{
|
|
45 |
TRACE("Install()");
|
|
46 |
}
|