upnpframework/upnputilities/inc/upnpconnectionmonitorobserver.h
author samhuttu
Mon, 01 Nov 2010 12:37:49 +0200
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 0 7f85d04be362
permissions -rw-r--r--
New development branch with e.g. rendering state machine and a simple Qt example application using it.

/*
* 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 <e32std.h>

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