phoneapp/phoneuicontrol/inc/mphoneremotecontrolevents.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2005 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:  
       
    15 *     Interface class for handling key events.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MPHONEREMOTECONTROLEVENTS_H
       
    21 #define __MPHONEREMOTECONTROLEVENTS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include    <remconcoreapitargetobserver.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28 *  Interface class for executing UI commands
       
    29 */
       
    30 class MPhoneRemoteControlEvents
       
    31     {
       
    32     public:
       
    33         /**
       
    34         * Destructor
       
    35         */
       
    36         virtual ~MPhoneRemoteControlEvents(){};
       
    37 
       
    38         /**
       
    39         * Handles commands from the Remote Control framework.
       
    40         * @param aOperationId The operation ID of the command.
       
    41         * @param aButtonAct The button action associated with the command.
       
    42         * @return ETrue if the event was handled, EFalse otherwise.
       
    43         */
       
    44         virtual TBool HandleRemConCommandL( 
       
    45             TRemConCoreApiOperationId aOperationId, 
       
    46             TRemConCoreApiButtonAction aButtonAct) = 0;
       
    47          
       
    48     };
       
    49 
       
    50 #endif      // __MPHONEREMOTECONTROLEVENTS_H   
       
    51             
       
    52 // End of File