uifw/uiklaf/src/laflabel.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 1997-2000 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "laflabel.h"
       
    20 #include "LAFSTD.H"
       
    21 
       
    22 const TInt KLafLabelDefaultGapBetweenLines = 1;
       
    23 
       
    24 /**
       
    25  * @internal
       
    26  */
       
    27 EXPORT_C TInt LafLabel::Constant(TConstantType aConstant)
       
    28 	{// static
       
    29 	TInt retValue = 0;
       
    30 	switch (aConstant)
       
    31 		{
       
    32 	case EDefaultGapBetweenLines:
       
    33 		retValue = KLafLabelDefaultGapBetweenLines;
       
    34 		break;
       
    35 	default:
       
    36 		__ASSERT_DEBUG(EFalse, Panic(ELafPanicConstantNotKnown));
       
    37 		break;
       
    38 		}
       
    39 	return retValue;
       
    40 	}