diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-01 20:29:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-14 23:05:31 +0100 |
| commit | a023022cfb2b5cc6369ca22f3a99a8dc0831f790 (patch) | |
| tree | 2e52091d611922ae0ccf223868a54bbb65d25da4 /src/util.h | |
| parent | 5f582d5f8faf4592a49180214741e7cca492749f (diff) | |
Make dcp::init() take a general resources directory rather than specifically tags.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -95,11 +95,12 @@ extern std::string remove_urn_uuid (std::string raw); /** Set up various bits that the library needs. Should be called once * by client applications. * - * @param tags_directory Path to a copy of the tags directory from the source code; - * if none is specified libdcp will look for a tags directory in the environment - * variable LIBDCP_RESOURCES or based on where the current executable is. + * @param resources_directory Path to a directory containing the tags and xsd + * directories from the source code; if none is specified libdcp will look + * in the directory given by LIBDCP_RESOURCES or based on where the current + * executable is. */ -extern void init (boost::optional<boost::filesystem::path> tags_directory = boost::optional<boost::filesystem::path>()); +extern void init (boost::optional<boost::filesystem::path> resources_directory = boost::optional<boost::filesystem::path>()); /** Decode a base64 string. The base64 decode routine in KM_util.cpp * gives different values to both this and the command-line base64 |
