]>
Commit | Line | Data |
---|---|---|
73c04bcf A |
1 | /* |
2 | ******************************************************************************** | |
4388f060 | 3 | * Copyright (C) 2005-2011, International Business Machines |
73c04bcf A |
4 | * Corporation and others. All Rights Reserved. |
5 | ******************************************************************************** | |
6 | * | |
7 | * File WINUTIL.H | |
8 | * | |
9 | ******************************************************************************** | |
10 | */ | |
11 | ||
12 | #ifndef __WINUTIL | |
13 | #define __WINUTIL | |
14 | ||
15 | #include "unicode/utypes.h" | |
16 | ||
4388f060 | 17 | #if U_PLATFORM_HAS_WIN32_API |
73c04bcf A |
18 | |
19 | #if !UCONFIG_NO_FORMATTING | |
20 | ||
21 | /** | |
22 | * \file | |
23 | * \brief C++ API: Format dates using Windows API. | |
24 | */ | |
25 | ||
26 | class Win32Utilities | |
27 | { | |
28 | public: | |
29 | struct LCIDRecord | |
30 | { | |
31 | int32_t lcid; | |
729e4ab9 | 32 | char *localeID; |
73c04bcf A |
33 | }; |
34 | ||
35 | static LCIDRecord *getLocales(int32_t &localeCount); | |
36 | static void freeLocales(LCIDRecord *records); | |
37 | ||
38 | private: | |
39 | Win32Utilities(); | |
40 | }; | |
41 | ||
42 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
43 | ||
4388f060 | 44 | #endif // U_PLATFORM_HAS_WIN32_API |
73c04bcf A |
45 | |
46 | #endif // __WINUTIL |