epoc32/include/mw/eiklay.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 eiklay.h
     1 /*
       
     2 * Copyright (c) 2001 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __EIKLAY_H__
       
    20 #define __EIKLAY_H__
       
    21 
       
    22 #include <frmtlay.h>
       
    23 
       
    24 class TAvkonEditorCustomWrap : public MFormCustomWrap
       
    25 	{
       
    26 public:
       
    27 	enum
       
    28 		{
       
    29 		EAvkSpaceLineBreakClass=MTmCustom::ELineBreakClasses, // 29
       
    30 		EAvkLineBreakClasses
       
    31 		};
       
    32 
       
    33 public:
       
    34 	// overrides of line break functions from MFormCustomWrap
       
    35 	TUint LineBreakClass(TUint aCode,TUint& aRangeStart,TUint& aRangeEnd) const;
       
    36 	TBool LineBreakPossible(TUint aPrevClass,TUint aNextClass,TBool aHaveSpaces) const;
       
    37 	};
       
    38 
       
    39 #endif // __EIKLAY_H__