mpxmusicplayer/activeidle/aiplayerplugin/inc/aiplayerpluginengineobserver.h
branchRCL_3
changeset 11 13afc0e517bd
parent 5 2a40e88564c8
child 13 a914e47e7a01
child 14 943ff5625028
--- a/mpxmusicplayer/activeidle/aiplayerplugin/inc/aiplayerpluginengineobserver.h	Tue Feb 02 00:09:33 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
-* Copyright (c)  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:  Music Player stautus observer
-*
-*/
-
-
-#ifndef M_AIPLAYERPLUGINENGINEOBSERVER_H
-#define M_AIPLAYERPLUGINENGINEOBSERVER_H
-
-#include <e32std.h>
-
-/**
- *  Player state.
- */
-enum TMPlayerState
-    {
-    EMPlayerStatePlaying,
-    EMPlayerStatePaused,
-    EMPlayerStateSeeking,
-    EMPlayerStateOther
-    };
-
-/**
- *  Observer interface to be implemented by a client of AiPlayerPluginEngine.
- *
- *  @lib aiplayerplugin2.lib
- *  @since S60 5.0
- */
-class MAiPlayerPluginEngineObserver
-    {
-public:
-
-    /**
-     * Called when active player instance's state changes
-     *
-     * @since S60 5.0
-     * @param aState Active player state
-     * @see TMPlayerState
-     */
-    virtual void PlayerStateChanged( TMPlayerState aState ) = 0;
-
-    /**
-     * Called when track info changes (i.e. track changes or current track's
-     * info is updated) in the active player instance.
-     *
-     * @since S60 5.0
-     * @param aTitle Current track's title.
-     * @param aArtist Current track's artist.
-     */
-    virtual void TrackInfoChanged( const TDesC& aTitle, const TDesC& aArtist ) = 0;
-
-    /**
-     * Called each second during playback.
-     *
-     * @since S60 5.0
-     * @param aPosition Current playback position in seconds.
-     */
-    virtual void PlaybackPositionChanged( TInt aPosition ) = 0;
-
-    /**
-     * Called when the player volume is changed.
-     *
-     * @since S60 5.0
-     * @param aVolume volume level.
-     */
-    virtual void VolumeChanged( TInt aVolume ) = 0;
-    };
-
-
-#endif // ?M_AIPLAYERPLUGINENGINEOBSERVER_H