summaryrefslogtreecommitdiff
path: root/libguile/locale-categories.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2006-11-18 18:18:23 +0000
committerLudovic Courtès <ludo@gnu.org>2006-11-18 18:18:23 +0000
commit5b3a39c7ff472eee3978784549a6902c09600810 (patch)
tree5c24f2d19bf5ac9760d5c73b78a8cac70ffe36b4 /libguile/locale-categories.h
parentb89c494395ce659d04508f47ea489d4fd1002182 (diff)
downloadguile-5b3a39c7ff472eee3978784549a6902c09600810.tar.gz
Added missing files for `(ice-9 i18n)'.
Diffstat (limited to 'libguile/locale-categories.h')
-rw-r--r--libguile/locale-categories.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/libguile/locale-categories.h b/libguile/locale-categories.h
new file mode 100644
index 000000000..cec91fb91
--- /dev/null
+++ b/libguile/locale-categories.h
@@ -0,0 +1,47 @@
+/* Copyright (C) 2006 Free Software Foundation, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/* A list of all available locale categories, not including `ALL'. */
+
+
+/* The six standard categories, as defined in IEEE Std 1003.1-2001. */
+SCM_DEFINE_LOCALE_CATEGORY (COLLATE)
+SCM_DEFINE_LOCALE_CATEGORY (CTYPE)
+SCM_DEFINE_LOCALE_CATEGORY (MESSAGES)
+SCM_DEFINE_LOCALE_CATEGORY (MONETARY)
+SCM_DEFINE_LOCALE_CATEGORY (NUMERIC)
+SCM_DEFINE_LOCALE_CATEGORY (TIME)
+
+/* Additional non-standard categories. */
+#ifdef LC_PAPER
+SCM_DEFINE_LOCALE_CATEGORY (PAPER)
+#endif
+#ifdef LC_NAME
+SCM_DEFINE_LOCALE_CATEGORY (NAME)
+#endif
+#ifdef LC_ADDRESS
+SCM_DEFINE_LOCALE_CATEGORY (ADDRESS)
+#endif
+#ifdef LC_TELEPHONE
+SCM_DEFINE_LOCALE_CATEGORY (TELEPHONE)
+#endif
+#ifdef LC_MEASUREMENT
+SCM_DEFINE_LOCALE_CATEGORY (MEASUREMENT)
+#endif
+#ifdef LC_IDENTIFICATION
+SCM_DEFINE_LOCALE_CATEGORY (IDENTIFICATION)
+#endif