Add set_font_file()
[libdcp.git] / src / util.h
index 2626162a65d31c6d5684d64f55aa0d073272dfd8..b66832654d02812da85ef9e04b908df11831395c 100644 (file)
@@ -48,6 +48,8 @@
 #include <string>
 #include <stdint.h>
 
+#define LIBDCP_UNUSED(x) (void)(x)
+
 namespace xmlpp {
        class Element;
        class Node;
@@ -76,8 +78,8 @@ extern xmlpp::Node* find_child (xmlpp::Node const * node, std::string name);
 extern std::string openjpeg_version();
 extern std::string spaces (int n);
 extern void indent (xmlpp::Element* element, int initial);
-extern bool day_less_than_or_equal (struct tm a, LocalTime b);
-extern bool day_greater_than_or_equal (struct tm a, LocalTime b);
+extern bool day_less_than_or_equal (LocalTime a, LocalTime b);
+extern bool day_greater_than_or_equal (LocalTime a, LocalTime b);
 extern std::string unique_string (std::list<std::string> existing, std::string base);
 
 }