diff -r 000000000000 -r eb1f2e154e89 fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/aknfepuictrleepcontrol.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/aknfepuictrleepcontrol.inl Tue Feb 02 01:02:04 2010 +0200 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2008 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 CAknFepUICtrlPinyinEEP definition + * +*/ + + + + + + + + + + + + +// --------------------------------------------------------- +// C++ constructor. +// --------------------------------------------------------- +// +inline CAknFepUICtrlEEPControl::TSegment::TSegment( TInt aBeg, TInt aEnd, + TDspStyle aStyle ) + { + iBegin = aBeg; + iEnd = aEnd; + iStyle = aStyle; + } + +// --------------------------------------------------------- +// Compare the Index. +// --------------------------------------------------------- +// +inline TInt CAknFepUICtrlEEPControl::TSegment::CompareByBegIndex( + const TSegment& s1, const TSegment& s2 ) + { + if ( s1.iBegin == s2.iBegin ) + return 0; + else + return s1.iBegin > s2.iBegin ? 1 : -1; + } +