diff -r 000000000000 -r 15bf7259bb7c uiaccelerator_plat/alf_visual_api/inc/alf/alfinputcapabilitiessupplier.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiaccelerator_plat/alf_visual_api/inc/alf/alfinputcapabilitiessupplier.h Tue Feb 02 07:56:43 2010 +0200 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Mixin class for objects to interface with the FEP +* +*/ + + + +#ifndef C_ALFINPUTCAPABILITIESSUPPLIER_H +#define C_ALFINPUTCAPABILITIESSUPPLIER_H + +#include +class TCoeInputCapabilities; + +/** +* This mixin allows objects to be handled within the Alf system to +* interface to a FEP. Objects implementing this mixin are likely to be those +* implementing editor functionality +*/ +class MAlfInputCapabilitiesSupplier + { + public: + + /** + * The method that will be called by CAlfDisplayCoeControl on the currently focused editor + * in its implementation of CCoeControl::InputCapabilities(). + * + * @return Cone-defined FEP interface structure + */ + virtual TCoeInputCapabilities InputCapabilities() const = 0; + + /** + * Extension interface factory + */ + virtual TAny* MAlfInputCapabilitiesSupplier_ExtendedInterface( const TUid& aInterfaceUid ) const = 0; + }; + +#endif // C_ALFINPUTCAPABILITIESSUPPLIER_H