musicplayer_plat/mpx_music_player_media_key_handler_api/inc/mpxmediakeyhandlerobserver.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2006 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:  MPX media key command observer interface definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_MMPXMEDIAKEYHANDLEROBSERVER_H
       
    21 #define C_MMPXMEDIAKEYHANDLEROBSERVER_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 #include <mpxplaybackcommanddefs.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  MPX Media Key Handler command observer.
       
    32  *
       
    33  *  @lib mpxmediakeyhandler.lib
       
    34  *  @since S60 5.0
       
    35  */
       
    36 NONSHARABLE_CLASS( MMPXMediaKeyHandlerObserver )
       
    37     {
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Handle media key commands.
       
    42      *
       
    43      * @since 5.0
       
    44      * @param aCommand Command to be handled.
       
    45      * @param aData data for the specific command
       
    46      */
       
    47     virtual void HandleMediaKeyCommand(
       
    48         const TMPXPlaybackCommand aCommand,
       
    49         const TInt aData ) = 0;
       
    50     };
       
    51 
       
    52 #endif  // C_MMPXMEDIAKEYHANDLEROBSERVER_H
       
    53 
       
    54 // End of File