uiaccelerator_plat/alf_visual_api/inc/alf/alfinputcapabilitiessupplier.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     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:   Mixin class for objects to interface with the FEP
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_ALFINPUTCAPABILITIESSUPPLIER_H
       
    21 #define C_ALFINPUTCAPABILITIESSUPPLIER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 class TCoeInputCapabilities;
       
    25 
       
    26 /**
       
    27 * This mixin allows objects to be handled within the Alf system to 
       
    28 * interface to a FEP.  Objects implementing this mixin are likely to be those
       
    29 * implementing editor functionality
       
    30 */ 
       
    31 class MAlfInputCapabilitiesSupplier
       
    32     {
       
    33     public:
       
    34 
       
    35     /**
       
    36     * The method that will be called by CAlfDisplayCoeControl on the currently focused editor
       
    37     * in its implementation of CCoeControl::InputCapabilities().
       
    38     *
       
    39     * @return   Cone-defined FEP interface structure
       
    40     */
       
    41     virtual TCoeInputCapabilities InputCapabilities() const = 0;
       
    42 
       
    43     /**
       
    44     * Extension interface factory
       
    45     */
       
    46     virtual TAny* MAlfInputCapabilitiesSupplier_ExtendedInterface( const TUid& aInterfaceUid ) const = 0;    
       
    47     };
       
    48 
       
    49 #endif  // C_ALFINPUTCAPABILITIESSUPPLIER_H