summaryrefslogtreecommitdiff
path: root/src/locale_convert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale_convert.h')
-rw-r--r--src/locale_convert.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/locale_convert.h b/src/locale_convert.h
index f7552f68..3d55a00e 100644
--- a/src/locale_convert.h
+++ b/src/locale_convert.h
@@ -34,9 +34,9 @@
#ifndef LIBDCP_LOCALE_CONVERT_H
#define LIBDCP_LOCALE_CONVERT_H
+#include <boost/filesystem.hpp>
#include <boost/static_assert.hpp>
#include <string>
-#include <stdint.h>
#include <cstdio>
namespace dcp {
@@ -61,11 +61,19 @@ locale_convert (unsigned int x, int, bool);
template <>
std::string
-locale_convert (int64_t x, int, bool);
+locale_convert (long int x, int, bool);
template <>
std::string
-locale_convert (uint64_t x, int, bool);
+locale_convert (unsigned long int x, int, bool);
+
+template <>
+std::string
+locale_convert (long long int x, int, bool);
+
+template <>
+std::string
+locale_convert (unsigned long long int x, int, bool);
template <>
std::string
@@ -88,6 +96,10 @@ std::string
locale_convert (char const * x, int, bool);
template <>
+std::string
+locale_convert (boost::filesystem::path x, int, bool);
+
+template <>
int
locale_convert (std::string x, int, bool);