]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/test/intltest/winutil.h
ICU-511.34.tar.gz
[apple/icu.git] / icuSources / test / intltest / winutil.h
... / ...
CommitLineData
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
26class Win32Utilities
27{
28public:
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
38private:
39 Win32Utilities();
40};
41
42#endif /* #if !UCONFIG_NO_FORMATTING */
43
44#endif // U_PLATFORM_HAS_WIN32_API
45
46#endif // __WINUTIL