return mapped;
}
-Eyes
-increment_eyes (Eyes e)
-{
- if (e == Eyes::LEFT) {
- return Eyes::RIGHT;
- }
-
- return Eyes::LEFT;
-}
-
size_t
utf8_strlen (string s)
return boost::filesystem::is_regular_file(dir / "ASSETMAP") || boost::filesystem::is_regular_file(dir / "ASSETMAP.xml");
}
+
+bool
+contains_sign_language(ContentList const& content)
+{
+ return std::any_of(
+ content.begin(),
+ content.end(),
+ [](shared_ptr<const Content> c) {
+ return c->video && c->video->type() == VideoType::SIGN_LANGUAGE;
+ });
+}
+