telephonyprotocols/rawipnif/version1/inc/RawIPNifMainFactory.h
author ivan.fildichev@opencode.com
Thu, 18 Nov 2010 15:42:16 +0200
branchopencode
changeset 88 5e27cc612ac7
parent 24 6638e7f4bd8f
permissions -rw-r--r--
Latest bug-fixes with added tests.

// Copyright (c) 2002-2009 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:
// Defines the factory class which is used to instantiate the RAW IP NIF.
// 
//

/**
 @file
*/

#ifndef RAWIPNIFMAINFACTORY_H__
#define RAWIPNIFMAINFACTORY_H__

#include <comms-infras/nifif.h>
#include "bttlog.h"

class CRawIPNifMainFactory : public CNifIfFactory
	{
public:
	virtual CNifIfBase* NewInterfaceL(const TDesC& aName);
	virtual CNifIfBase* NewInterfaceL(const TDesC& aName,MNifIfNotify* aNotify);

protected:
	virtual void InstallL();
	virtual TInt Info(TNifIfInfo& aInfo, TInt aIndex) const;

private:
	CBttLogger* iTheLogger;
	};

#endif