phoneengine/phonemodel/inc/mpekeysequencerecognitionif.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     1 /*
       
     2 * Copyright (c) 2010 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:  This file contains the interface for key sequence recognition.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPEKEYSEQUENCERECOGNITIONIF_H
       
    19 #define MPEKEYSEQUENCERECOGNITIONIF_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26 *  Defines interface for key sequence recognition and execution. 
       
    27 * 
       
    28 *  @lib phoneengine.lib
       
    29 *  @since S60_10.1
       
    30 */
       
    31 NONSHARABLE_CLASS( MPEKeySequenceRecognitionIF ) 
       
    32 {
       
    33     public:    //New functions
       
    34 
       
    35         /**
       
    36          * Executes provided key sequence if the sequence is recognized.
       
    37          * @param   aSequence   The key sequence.
       
    38          * @return  ETrue if the key sequence was executed, EFalse otherwise.
       
    39          */
       
    40         virtual TBool ExecuteKeySequenceL(const TDesC16& aSequence) = 0;   
       
    41     };
       
    42 
       
    43 #endif // MPEKEYSEQUENCERECOGNITIONIF_H
       
    44 
       
    45 // End of File