VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/locale.h@ 16477

Last change on this file since 16477 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1/*
2 * Locale definitions
3 *
4 * Copyright 2000 Francois Gouget.
5 *
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.
10 *
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.
15 *
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
19 */
20
21/*
22 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29#ifndef __WINE_LOCALE_H
30#define __WINE_LOCALE_H
31#ifndef __WINE_USE_MSVCRT
32#define __WINE_USE_MSVCRT
33#endif
34
35#ifndef _WCHAR_T_DEFINED
36#define _WCHAR_T_DEFINED
37#ifndef __cplusplus
38typedef unsigned short wchar_t;
39#endif
40#endif
41
42#define LC_ALL 0
43#define LC_COLLATE 1
44#define LC_CTYPE 2
45#define LC_MONETARY 3
46#define LC_NUMERIC 4
47#define LC_TIME 5
48#define LC_MIN LC_ALL
49#define LC_MAX LC_TIME
50
51#ifndef _LCONV_DEFINED
52#define _LCONV_DEFINED
53struct lconv
54{
55 char* decimal_point;
56 char* thousands_sep;
57 char* grouping;
58 char* int_curr_symbol;
59 char* currency_symbol;
60 char* mon_decimal_point;
61 char* mon_thousands_sep;
62 char* mon_grouping;
63 char* positive_sign;
64 char* negative_sign;
65 char int_frac_digits;
66 char frac_digits;
67 char p_cs_precedes;
68 char p_sep_by_space;
69 char n_cs_precedes;
70 char n_sep_by_space;
71 char p_sign_posn;
72 char n_sign_posn;
73};
74#endif /* _LCONV_DEFINED */
75
76
77#ifdef __cplusplus
78extern "C" {
79#endif
80
81char* setlocale(int,const char*);
82struct lconv* localeconv(void);
83
84#ifndef _WLOCALE_DEFINED
85#define _WLOCALE_DEFINED
86wchar_t* _wsetlocale(int,const wchar_t*);
87#endif /* _WLOCALE_DEFINED */
88
89#ifdef __cplusplus
90}
91#endif
92
93#endif /* __WINE_LOCALE_H */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette