]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/winutil.h
ICU-511.34.tar.gz
[apple/icu.git] / icuSources / test / intltest / winutil.h
CommitLineData
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
26class Win32Utilities
27{
28public:
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
38private:
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