summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-xetex/test/intltest/winutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/intltest/winutil.h')
-rw-r--r--Build/source/libs/icu/icu-xetex/test/intltest/winutil.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/intltest/winutil.h b/Build/source/libs/icu/icu-xetex/test/intltest/winutil.h
new file mode 100644
index 00000000000..03a0044ac6e
--- /dev/null
+++ b/Build/source/libs/icu/icu-xetex/test/intltest/winutil.h
@@ -0,0 +1,46 @@
+/*
+********************************************************************************
+* Copyright (C) 2005-2006, International Business Machines
+* Corporation and others. All Rights Reserved.
+********************************************************************************
+*
+* File WINUTIL.H
+*
+********************************************************************************
+*/
+
+#ifndef __WINUTIL
+#define __WINUTIL
+
+#include "unicode/utypes.h"
+
+#ifdef U_WINDOWS
+
+#if !UCONFIG_NO_FORMATTING
+
+/**
+ * \file
+ * \brief C++ API: Format dates using Windows API.
+ */
+
+class Win32Utilities
+{
+public:
+ struct LCIDRecord
+ {
+ int32_t lcid;
+ const char *localeID;
+ };
+
+ static LCIDRecord *getLocales(int32_t &localeCount);
+ static void freeLocales(LCIDRecord *records);
+
+private:
+ Win32Utilities();
+};
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif // #ifdef U_WINDOWS
+
+#endif // __WINUTIL