First public contribution.
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 #ifndef NUMBERGROUPING_STD_H
21 #define NUMBERGROUPING_STD_H
29 // number grouping constants
31 const TInt KSingleCharacter = 1;
33 const TInt KErrInvalidChar = -45;
34 const TInt KErrIndexOutOfRange = -46;
35 const TInt KErrSyntaxError = -47;
37 const TInt KStateMatched = -1;
38 const TInt KStateNoMatch = 0;
40 const TInt KCharacterDot = 11;
41 const TInt KCharacterPlus = 12;
45 enum TNumberGroupingPanic
47 ENumberGroupingInvalidSeparatorCharacterInFormat,
48 ENumberGroupingMatchingPatternVersusFormatPatternMismatch,
49 ENumberGroupingNoInitialDigitsInResource,
50 ENumberGroupingBadMinMaxDigitRangeInResource,
51 ENumberGroupingFormattedNumberAlreadyExists,
52 ENumberGroupingNoSuchStateMachine,
53 ENumberGroupingBadLengthToGroup
57 #endif // NUMBERGROUPING_STD_H