internetradio2.0/include/irconnectionroamingobserver.h
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  The interface for observing the application level roaming events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_IRCONNECTIONROAMINGOBSERVER_H
       
    20 #define M_IRCONNECTIONROAMINGOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 /**
       
    25  * The interface for observing the application level roaming events
       
    26  */
       
    27 NONSHARABLE_CLASS( MIRConnectionRoamingObserver )
       
    28     {
       
    29 public:
       
    30 
       
    31     /**
       
    32      * The connection roaming event type
       
    33      */
       
    34     enum TIRRoamingEvent
       
    35         {
       
    36         /** 
       
    37          * The new connection is being established 
       
    38          */
       
    39         EIRRoamingEventHandingOver,
       
    40 
       
    41         /**
       
    42          * The new connection is established and the old one will be closed
       
    43          */
       
    44         EIRRoamingEventConnected,
       
    45 
       
    46         /**
       
    47          * The establishment of the new connection has failed and the old connection will be used
       
    48          */
       
    49         EIRRoamingEventFailed
       
    50         };
       
    51 
       
    52     /**
       
    53      * Notifies of the application level roaming event
       
    54      * 
       
    55      * @param aEvent The event that occured
       
    56      */
       
    57     virtual void HandleRoamingEventL( TIRRoamingEvent aEvent ) = 0;
       
    58     };
       
    59 
       
    60 #endif // M_IRCONNECTIONROAMINGOBSERVER_H