1/* 2******************************************************************************** 3* Copyright (C) 2005-2009, 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#ifdef U_WINDOWS 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 // #ifdef U_WINDOWS 45 46#endif // __WINUTIL 47