internetradio2.0/activeidleenginc/iractiveidleengnotifyhandler.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 19 Apr 2010 14:01:53 +0300
changeset 0 09774dfdd46b
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* Copyright (c) 2006-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:  ?Description
*
*/


#ifndef IRACTIVEIDLEENGNOTIFYHANDLER_H
#define IRACTIVEIDLEENGNOTIFYHANDLER_H

#include "irpubsubkeys.h"

class CIRMetaData;

/**
* Observer interface for CIRActiveIdleEng.
* The observer is notified about the changes in relevant keys through this interface.
*/
NONSHARABLE_CLASS(MIRActiveIdleEngNotifyHandler)
    {

public:
        
    /**
    * Invoked when a new channel has been tuned into.
    */
    virtual void HandleChannelChangeL() = 0;
    
    /**
    * Invoked when a new channel has been tuned into.
    * @param    aVolume       The index of the volume level.
    */
    virtual void HandleVolumeChangeL( TInt aVolume ) = 0;
    
    /**
    * Invoked when a new channel has been tuned into.
    */
    virtual void HandlePlayStopL( TIRStopPlayState aState ) = 0;
    
   /**
    * Invoked when the application's running state has changed.
    * @param    aRunningState   The new running state.
    */
    virtual void HandleApplicationRunningStateChangeL( 
    			TIRPSApplicationRunningState aRunningState ) = 0;

    /**
     * Invoked when meta data is received.
     *
     * @param   aMetaData       The meta data that was received.
     */
    virtual void HandleMetaDataReceivedL( const CIRMetaData& aMetaData ) = 0;

     /**
     * Invoked when buffering starts or stops 
     *
     * @param   aValue  The state of buffering
     */
    virtual void HandleBufferingStateL(TIRBufferingState aState) = 0;

    };

#endif//IRACTIVEIDLEENGNOTIFYHANDLER_H