fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/aknfepuictrleepcontrol.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:09:27 +0200
branchRCL_3
changeset 3 f5a1e66df979
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* 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;
    }