epoc32/include/mw/aknmfnecommandobserver.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2002-2004 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef __AKNMFNECOMMANDOBSERVER
    21 #define __AKNMFNECOMMANDOBSERVER
    22 
    23 #include <e32base.h>
    24 
    25 // CLASS DECLARATION
    26 
    27 /**
    28 *  Interface for giving commands to MFNE editors from the owning controls.
    29 *  This interface was added to forward touch command button events to MFNE
    30 *  editors. The interface can be extended later by adding more commands to 
    31 *  TMfneCommand enum if needed.
    32 *
    33 *  @lib eikctl.lib
    34 *  @since Series 60 3.0
    35 */
    36 class MAknMfneCommandObserver
    37     {
    38     public:
    39         
    40         /**
    41         * List of commands that can be given to MFNE editor with 
    42         * HandleMfneCommand() function
    43         */
    44         enum TMfneCommand
    45             {
    46             EMfneIncrementCurrentFieldValue,
    47             EMfneDecrementCurrentFieldValue
    48             };
    49         
    50         /**
    51         * Interface function allowing other classes to give commands to MFNE editors.
    52         * The commands are defined in TMfneCommand enum.
    53         *
    54         * @since Series 60 5.0
    55         * @param aCommand Command defined in TMfneCommand
    56         */
    57         virtual void HandleMfneCommandL(TInt aCommand) = 0;
    58     };
    59 
    60 #endif      // __AKNMFNECOMMANDOBSERVER  
    61             
    62 // End of File