diff -r f10336de0cd6 -r faa5ef4f80da bearermanagement/mpm/inc/mpmdefaultconnserver.h --- a/bearermanagement/mpm/inc/mpmdefaultconnserver.h Thu Jun 17 22:32:02 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,90 +0,0 @@ -/* -* Copyright (c) 2007 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: Server allows registering IAP to be used as default connection -* -*/ - -#ifndef CMPMDEFAULTCONNSERVER_H -#define CMPMDEFAULTCONNSERVER_H - -#include - -#include "mpmserver.h" - -class CMPMServer; - -/** - * Server allows registering IAP to be used as default connection. - * Server allows WLAN Active Idle plug-in to register the started - * WLAN IAP as default connection. Only one client is served at the time. - * - * - * @lib MPMServer.exe - * @since S60 v3.2 - */ -class CMPMDefaultConnServer : public CPolicyServer - { - -public: - - /** - * Two-phased constructor. - */ - static CMPMDefaultConnServer* NewL( CMPMServer* aMPMServer ); - - /** - * Destructor. - */ - virtual ~CMPMDefaultConnServer(); - - /** - * Creates new session - * - * @since S60 v3.2 - * @return MPMServer object - */ - CMPMServer* MPMServer(); - -// from base class CServer2 - - - /** - * From CServer2 - * Creates new session - * - * @since S60 v3.2 - * @param aVersion Version information - * @param aMessage Message, not used here - */ - CSession2* NewSessionL( const TVersion& aVersion, - const RMessage2& aMessage) const; - -private: - - CMPMDefaultConnServer( CMPMServer* aMPMServer ); - - void ConstructL(); - - -private: // data - - /** - * Reference to MPM Server for storing the default IAP. - * Not own. - */ - CMPMServer* iMPMServer; - - }; - -#endif // CMPMDEFAULTCONNSERVER_H