dplayx: Tests for CreatePlayer.
[wine/gsoc_dplay.git] / include / msvcrt / locale.h
blob72c80fab3eafcad9badc563314d59aa644fee1ae
1 /*
2 * Locale definitions
4 * Copyright 2000 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_LOCALE_H
21 #define __WINE_LOCALE_H
22 #ifndef __WINE_USE_MSVCRT
23 #define __WINE_USE_MSVCRT
24 #endif
26 #ifndef _WCHAR_T_DEFINED
27 #define _WCHAR_T_DEFINED
28 #ifndef __cplusplus
29 typedef unsigned short wchar_t;
30 #endif
31 #endif
33 #define LC_ALL 0
34 #define LC_COLLATE 1
35 #define LC_CTYPE 2
36 #define LC_MONETARY 3
37 #define LC_NUMERIC 4
38 #define LC_TIME 5
39 #define LC_MIN LC_ALL
40 #define LC_MAX LC_TIME
42 #ifndef _LCONV_DEFINED
43 #define _LCONV_DEFINED
44 struct lconv
46 char* decimal_point;
47 char* thousands_sep;
48 char* grouping;
49 char* int_curr_symbol;
50 char* currency_symbol;
51 char* mon_decimal_point;
52 char* mon_thousands_sep;
53 char* mon_grouping;
54 char* positive_sign;
55 char* negative_sign;
56 char int_frac_digits;
57 char frac_digits;
58 char p_cs_precedes;
59 char p_sep_by_space;
60 char n_cs_precedes;
61 char n_sep_by_space;
62 char p_sign_posn;
63 char n_sign_posn;
65 #endif /* _LCONV_DEFINED */
68 #ifdef __cplusplus
69 extern "C" {
70 #endif
72 char* setlocale(int,const char*);
73 struct lconv* localeconv(void);
75 #ifndef _WLOCALE_DEFINED
76 #define _WLOCALE_DEFINED
77 wchar_t* _wsetlocale(int,const wchar_t*);
78 #endif /* _WLOCALE_DEFINED */
80 #ifdef __cplusplus
82 #endif
84 #endif /* __WINE_LOCALE_H */