aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/icu/Init.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-10 22:38:00 +0200
committerMax Kellermann <max@duempel.org>2014-06-10 23:21:09 +0200
commit37b31907525dd3554924ec4144f4345993579376 (patch)
treec73142153d36066bb9bb537b689b122db4cc51b6 /src/lib/icu/Init.cxx
parentd51265d48f1eb8d2ba7640793d5ce6968805d2c0 (diff)
downloadmpd-37b31907525dd3554924ec4144f4345993579376.tar.gz
mpd-37b31907525dd3554924ec4144f4345993579376.tar.xz
mpd-37b31907525dd3554924ec4144f4345993579376.zip
lib/icu: add IcuInit(), IcuFinish()
Diffstat (limited to 'src/lib/icu/Init.cxx')
-rw-r--r--src/lib/icu/Init.cxx34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/lib/icu/Init.cxx b/src/lib/icu/Init.cxx
new file mode 100644
index 000000000..e6c0814d8
--- /dev/null
+++ b/src/lib/icu/Init.cxx
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "config.h"
+#include "Init.hxx"
+#include "Collate.hxx"
+
+bool
+IcuInit(Error &error)
+{
+ return IcuCollateInit(error);
+}
+
+void
+IcuFinish()
+{
+ IcuCollateFinish();
+}