]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/winutil.h
ICU-551.51.tar.gz
[apple/icu.git] / icuSources / test / intltest / winutil.h
1 /*
2 ********************************************************************************
3 * Copyright (C) 2005-2011, International Business Machines
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
17 #if U_PLATFORM_HAS_WIN32_API
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;
32 char *localeID;
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
44 #endif // U_PLATFORM_HAS_WIN32_API
45
46 #endif // __WINUTIL