territory 1.7 KB
Newer Older
Neil Turton's avatar
Neil Turton committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
/* Copyright 1996 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* Territory reason codes for use in C Library */

#define TERRITORY_UK 1

#define TERRITORY_DECIMAL_POINT     0
#define TERRITORY_THOUSANDS_SEP     1
#define TERRITORY_GROUPING          2
#define TERRITORY_INT_CURR_SYMBOL   3
#define TERRITORY_CURRENCY_SYMBOL   4
#define TERRITORY_MON_DECIMAL_POINT 5
#define TERRITORY_MON_THOUSANDS_SEP 6
#define TERRITORY_MON_GROUPING      7
#define TERRITORY_POSITIVE_SIGN     8
#define TERRITORY_NEGATIVE_SIGN     9
#define TERRITORY_INT_FRAC_DIGITS   10
#define TERRITORY_FRAC_DIGITS       11
#define TERRITORY_P_CS_PRECEDES     12
#define TERRITORY_P_SEP_BY_SPACE    13
#define TERRITORY_N_CS_PRECEDES     14
#define TERRITORY_N_SEP_BY_SPACE    15
#define TERRITORY_P_SIGN_POSN       16
#define TERRITORY_N_SIGN_POSN       17

#define TERRITORY_PROPERTY_CONTROL     0
#define TERRITORY_PROPERTY_UPPERCASE   1
#define TERRITORY_PROPERTY_LOWERCASE   2
#define TERRITORY_PROPERTY_ALPHA       3
#define TERRITORY_PROPERTY_PUNCTUATION 4
#define TERRITORY_PROPERTY_SPACE       5
#define TERRITORY_PROPERTY_DIGIT       6
#define TERRITORY_PROPERTY_XDIGIT      7

#define Territory_TransformString 0x43061