diff -r 1dabf2d94237 -r f043c81198e3 fepstub/UiPlugins/AknFepUiInterface/inc/AknFepUICtrlCandidatePaneInterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fepstub/UiPlugins/AknFepUiInterface/inc/AknFepUICtrlCandidatePaneInterface.h Fri Jun 11 14:00:11 2010 +0300 @@ -0,0 +1,84 @@ +/* +* Copyright (c) 2002-2004 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: +* Provides the MAknFepUICtrlCandidatePaneInterface definition. +* +*/ + + + + + + + + + + + + +#ifndef __AKN_FEP_UI_CTRL_CANDIDATEPANE_INTERFACE_H__ +#define __AKN_FEP_UI_CTRL_CANDIDATEPANE_INTERFACE_H__ + +#include +#include //CDesCArrayFlat + +enum TAknFepUICtrlScroll + { + EScrollNone, + EScrollLeft, + EScrollRight, + EScrollUp, + EScrollDown + }; + + +class MAknFepUICtrlCandidatePaneInterface + { +public: + /** + * Destructor. + */ + virtual ~MAknFepUICtrlCandidatePaneInterface() {}; + /** + * Show Candidate List + * + * @param aItems The disposition of an item + * @param aIndex The index of the cursor position when an initial display + * @param aLeftSideOfBaseLine + * @param aHeight + * @param aAscent + */ + virtual void ShowCandidateListL(CDesCArrayFlat* aItems, + TInt aIndex, TInt aResourceID) = 0; + /** + * Close Candidate List + */ + virtual void HideWindow() = 0; + /** + * + */ + virtual TInt CurrentItemIndexOfCandidate() = 0; + /** + * + */ + virtual TInt MoveItem(TAknFepUICtrlScroll aDirection) = 0; + /** + * + */ + virtual void SetWindowPosition(const TPoint& aLeftSideOfBaseLine, TInt aHeight, TInt aAscent) = 0; + }; + +#endif + +// End of file