diff -r 3785f754ee62 -r 5360b7ddc251 upnpframework/upnputilities/inc/upnpconnectionmonitorobserver.h --- a/upnpframework/upnputilities/inc/upnpconnectionmonitorobserver.h Fri Sep 17 08:31:21 2010 +0300 +++ b/upnpframework/upnputilities/inc/upnpconnectionmonitorobserver.h Mon Nov 01 12:37:49 2010 +0200 @@ -1,45 +1,56 @@ -/* -* Copyright (c) 2002-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: UPnP Connection monitor observer interface class declaration. -* -*/ - - -#ifndef M_UPNPCONNECTIONMONITOROBSERVER_H -#define M_UPNPCONNECTIONMONITOROBSERVER_H - -// INCLUDES -#include - -/** - * MUPnPConnectionMonitorObserver is an interface for Connection Monitor. - * - * @lib upnputilities.lib - * @since S60 3.0 - */ -class MUPnPConnectionMonitorObserver - { -public: - - /** - * This function will be called when WLan connection is lost for UPnP - * - * @since S60 3.1 - */ - virtual void ConnectionLost() = 0; - }; - -#endif // M_UPNPCONNECTIONMONITOROBSERVER_H - -// End of File +/* +* Copyright (c) 2002-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: UPnP Connection monitor observer interface class declaration. +* +*/ + + +#ifndef M_UPNPCONNECTIONMONITOROBSERVER_H +#define M_UPNPCONNECTIONMONITOROBSERVER_H + +// INCLUDES +#include + +/** + * MUPnPConnectionMonitorObserver is an interface for Connection Monitor. + * + * @lib upnputilities.lib + * @since S60 3.0 + */ +class MUPnPConnectionMonitorObserver + { +public: + + /** + * This function will be called when WLan connection is lost for UPnP + * + * @since S60 3.1 + */ + virtual void ConnectionLost( TBool aUserOriented ) = 0; + /** + * This function will be called when Wlan connection is created + * @param aConnectionId Id of created connection. + */ + virtual void ConnectionCreated( TInt /*aConnectionId*/ ){} + /** + * This function will be called when access point requested + * in NotifyIap function call is available. + * @param aIapId Id of access point. + */ + virtual void IapAvailable( TInt /*aIapId*/ ){} + }; + +#endif // M_UPNPCONNECTIONMONITOROBSERVER_H + +// End of File