1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 3 /* 4 ******************************************************************************** 5 * Copyright (C) 2005-2011, International Business Machines 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 19 #if U_PLATFORM_HAS_WIN32_API 20 21 #if !UCONFIG_NO_FORMATTING 22 23 /** 24 * \file 25 * \brief C++ API: Format dates using Windows API. 26 */ 27 28 class Win32Utilities 29 { 30 public: 31 struct LCIDRecord 32 { 33 int32_t lcid; 34 char *localeID; 35 }; 36 37 static LCIDRecord *getLocales(int32_t &localeCount); 38 static void freeLocales(LCIDRecord *records); 39 40 private: 41 Win32Utilities(); 42 }; 43 44 #endif /* #if !UCONFIG_NO_FORMATTING */ 45 46 #endif // U_PLATFORM_HAS_WIN32_API 47 48 #endif // __WINUTIL 49