]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/winutil.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / winutil.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
73c04bcf
A
3/*
4********************************************************************************
4388f060 5* Copyright (C) 2005-2011, International Business Machines
73c04bcf
A
6* Corporation and others. All Rights Reserved.
7********************************************************************************
8*
9* File WINUTIL.H
10*
11********************************************************************************
12*/
13
14#ifndef __WINUTIL
15#define __WINUTIL
16
17#include "unicode/utypes.h"
18
4388f060 19#if U_PLATFORM_HAS_WIN32_API
73c04bcf
A
20
21#if !UCONFIG_NO_FORMATTING
22
23/**
24 * \file
25 * \brief C++ API: Format dates using Windows API.
26 */
27
28class Win32Utilities
29{
30public:
31 struct LCIDRecord
32 {
33 int32_t lcid;
729e4ab9 34 char *localeID;
73c04bcf
A
35 };
36
37 static LCIDRecord *getLocales(int32_t &localeCount);
38 static void freeLocales(LCIDRecord *records);
39
40private:
41 Win32Utilities();
42};
43
44#endif /* #if !UCONFIG_NO_FORMATTING */
45
4388f060 46#endif // U_PLATFORM_HAS_WIN32_API
73c04bcf
A
47
48#endif // __WINUTIL