sdkcreationmw/sdkruntimes/wsock/inc/WinsockInterfaceFactory.h
author rajpuroh
Mon, 08 Mar 2010 12:09:11 +0530
changeset 0 b26acd06ea60
child 1 ac50fd48361b
permissions -rw-r--r--
First Contribution of SDK components

/*
* 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: 
*
*/


#ifndef _WSOCK_INTERFACE_FACTORY_H_
#define _WSOCK_INTERFACE_FACTORY_H_

#include <nifif.h>

class CWinsockInterfaceFactory : public CNifIfFactory
{
public:
    CWinsockInterfaceFactory();

protected:
    virtual ~CWinsockInterfaceFactory();

    // CNifIfFactory
    virtual CNifIfBase *NewInterfaceL(const TDesC& aName);
    virtual CNifIfBase *NewInterfaceL(const TDesC& aName, MNifIfNotify* aNotify);
    virtual TInt Info(TNifIfInfo& aInfo, TInt aIndex) const;

    // CNifFactory
    virtual void InstallL();
};

#endif // _WSOCK_INTERFACE_FACTORY_H_