diff -r 000000000000 -r 09774dfdd46b internetradio2.0/include/irconnectionroamingobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/internetradio2.0/include/irconnectionroamingobserver.h Mon Apr 19 14:01:53 2010 +0300 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2008-2008 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: The interface for observing the application level roaming events +* +*/ + + +#ifndef M_IRCONNECTIONROAMINGOBSERVER_H +#define M_IRCONNECTIONROAMINGOBSERVER_H + +#include + +/** + * The interface for observing the application level roaming events + */ +NONSHARABLE_CLASS( MIRConnectionRoamingObserver ) + { +public: + + /** + * The connection roaming event type + */ + enum TIRRoamingEvent + { + /** + * The new connection is being established + */ + EIRRoamingEventHandingOver, + + /** + * The new connection is established and the old one will be closed + */ + EIRRoamingEventConnected, + + /** + * The establishment of the new connection has failed and the old connection will be used + */ + EIRRoamingEventFailed + }; + + /** + * Notifies of the application level roaming event + * + * @param aEvent The event that occured + */ + virtual void HandleRoamingEventL( TIRRoamingEvent aEvent ) = 0; + }; + +#endif // M_IRCONNECTIONROAMINGOBSERVER_H