textandlocutils/numbergrouping/group/NumberGrouping.rh
branchRCL_3
changeset 54 748ec5531811
equal deleted inserted replaced
36:f902e87c146f 54:748ec5531811
       
     1 /*
       
     2 * Copyright (c) 2009 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 "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 // the structures used for storing the grouping information
       
    18 
       
    19 STRUCT NUMBER_GROUPING_ITEM
       
    20 {
       
    21 	LTEXT initialDigits;			// REGULAR EXPRESSION
       
    22 	BYTE  minNumberOfDigits=-1;		// MINIMUM NUMBER OF DIGITS
       
    23 	BYTE  maxNumberOfDigits=-1;		// MAXIMUM NUMBER OF DIGITS
       
    24 	LTEXT format="";				// FORMATTING PATTERN
       
    25 }
       
    26 
       
    27 STRUCT NUMBER_GROUPING_LIST
       
    28 {
       
    29 	LEN BYTE STRUCT items[];     	// NUMBER_GROUPING_ITEM
       
    30 }
       
    31 
       
    32 STRUCT NUMBER_GROUPING_INFORMATION
       
    33 {
       
    34 	BYTE	languageID;
       
    35 	STRUCT	numberGroupingScheme;	// NUMBER_GROUPING_LIST
       
    36 }
       
    37 
       
    38 STRUCT NUMBER_GROUPING_MAPPING
       
    39 {
       
    40 	LEN BYTE STRUCT  items[];     	// NUMBER_GROUPING_INFORMATION
       
    41 	STRUCT default;					// NUMBER_GROUPING_INFORMATION
       
    42 }