diff -r ebd48d2de13c -r ecbabf52600f textinput/peninputfingerhwrar/inc/peninputfingerhwrarevent.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textinput/peninputfingerhwrar/inc/peninputfingerhwrarevent.h Wed Sep 01 12:23:33 2010 +0100 @@ -0,0 +1,66 @@ +/* +* Copyright (c) 2009-2010 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: Enum values of events broadcasted by control to observers +* +*/ + + +#ifndef PENINPUTFINGERHWRAREVENT_H +#define PENINPUTFINGERHWRAREVENT_H + +#include + +/** + * TPeninputFingerHwrEvent + * + * defines the events from internal controls. Those events are sent + * by controls via calling ReportEvent() + * + * @lib peninputfingerhwrar.lib + * @since S60 v5.0 + */ +enum TPeninputFingerHwrEvent + { + //This definition is user close hwrwnd manully, + //and must be reopened by EHwrCmdWindowOpen + EHwrEventWindowClose = EEventControlUserBase, + + //This definition is user select a candidate + EHwrEventCandidateSelected, + + //This definition is user select a predictive + EHwrEventPredictiveSelected, + + //This definition is user click the backspace key + EHwrEventKeyBack, + + //This defintion is user click arrow-down of drop down list + EHwrEventGetNextCandidatePage, + + // close penui layout + EHwrEventClose, + + // arrow control clicked + EHwrEventNavKeyClicked, + + // the event is sent out when clicking the screen outside of the symbol table + EHwrEventOutsideEvent, + + //This definition is the last event + EHwrEventLast + }; + +#endif //PENINPUTFINGERHWRAREVENT_H + +// End Of File