summaryrefslogtreecommitdiff
path: root/libtmdb/conversions.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 13:57:46 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 13:57:46 +0100
commit36c44ba6a88eeebecd019cc2766ad822d62c2739 (patch)
tree1cfc1139f9c12134199af62621a283b0ddc591c3 /libtmdb/conversions.h
parentdebuginstallc shouldn't be built by default (diff)
downloadp2pvr-36c44ba6a88eeebecd019cc2766ad822d62c2739.tar.bz2
p2pvr-36c44ba6a88eeebecd019cc2766ad822d62c2739.tar.xz
p2pvr-36c44ba6a88eeebecd019cc2766ad822d62c2739.zip
Fixes to workaround release date sometimes being an empty string :(p2pvr-0.2.0
Diffstat (limited to 'libtmdb/conversions.h')
-rw-r--r--libtmdb/conversions.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libtmdb/conversions.h b/libtmdb/conversions.h
new file mode 100644
index 0000000..c64cf92
--- /dev/null
+++ b/libtmdb/conversions.h
@@ -0,0 +1,13 @@
+#ifndef LIBTMDB_OPTIONS_H
+#define LIBTMDB_OPTIONS_H
+
+#include <visibility.h>
+#include <tmdb-common.h>
+
+namespace Slicer {
+ DLL_PUBLIC std::string dateToString(const IceUtil::Optional<::TMDb::Date> &);
+ DLL_PUBLIC IceUtil::Optional<::TMDb::Date> stringToDate(const std::string &);
+}
+
+#endif
+