X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.h;h=7c0eb4b6d475af23f134118e21a5aee2abebf206;hb=95f4db0a8bb5bbf742a0195fbbe17d304fb99507;hp=f62b2c4925e89b2df9152b8afccaf4b0d268165c;hpb=05d90a3edda9c1f5e7499f0ce7b6617fe46ac54d;p=dcpomatic.git diff --git a/src/lib/util.h b/src/lib/util.h index f62b2c492..7c0eb4b6d 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -99,5 +99,11 @@ extern std::pair audio_channel_types (std::list mapped, int chann extern boost::shared_ptr remap (boost::shared_ptr input, int output_channels, AudioMapping map); extern Eyes increment_eyes (Eyes e); extern void checked_fread (void* ptr, size_t size, FILE* stream, boost::filesystem::path path); +extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost::filesystem::path path); +extern size_t utf8_strlen (std::string s); +#ifdef DCPOMATIC_VARIANT_SWAROOP +extern boost::shared_ptr read_swaroop_chain (boost::filesystem::path path); +extern void write_swaroop_chain (boost::shared_ptr chain, boost::filesystem::path output); +#endif #endif