summaryrefslogtreecommitdiff
path: root/src/lib/i18n_setup.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-25 14:22:30 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-27 09:36:37 +0200
commit5661c34574fdac778dba0e3c3503f5792c41bb3c (patch)
treebd1022ef2dae2abe880714123bfebdb868edc91b /src/lib/i18n_setup.h
parenta8f06a40096a0cbd56c42602f8dc1ce4857af0d8 (diff)
Move i18n setup into 3 separate platform files.
Diffstat (limited to 'src/lib/i18n_setup.h')
-rw-r--r--src/lib/i18n_setup.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/i18n_setup.h b/src/lib/i18n_setup.h
new file mode 100644
index 000000000..8bb3af152
--- /dev/null
+++ b/src/lib/i18n_setup.h
@@ -0,0 +1,32 @@
+/*
+ Copyright (C) 2025 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic 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.
+
+ DCP-o-matic 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 DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include <boost/filesystem.hpp>
+#include <string>
+
+
+namespace dcpomatic {
+
+boost::filesystem::path mo_path();
+void setup_i18n(std::string forced_language);
+
+}
+