diff options
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 0e8fccb53..3371e48bf 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -33,6 +33,7 @@ #include <dcp/name_format.h> #include <dcp/certificate_chain.h> #include <dcp/encrypted_kdm.h> +#include <dcp/language_tag.h> #include <boost/signals2.hpp> #include <boost/filesystem.hpp> #include <vector> @@ -540,6 +541,10 @@ public: return _minimum_frame_size; } + std::vector<dcp::LanguageTag> custom_languages () const { + return _custom_languages; + } + /* SET (mostly) */ void set_master_encoding_threads (int n) { @@ -1055,6 +1060,8 @@ public: maybe_set (_minimum_frame_size, size); } + void add_custom_language (dcp::LanguageTag tag); + void changed (Property p = OTHER); boost::signals2::signal<void (Property)> Changed; /** Emitted if read() failed on an existing Config file. There is nothing @@ -1269,6 +1276,7 @@ private: boost::optional<boost::filesystem::path> _player_kdm_directory; boost::optional<AudioMapping> _audio_mapping; int _minimum_frame_size; + std::vector<dcp::LanguageTag> _custom_languages; static int const _current_version; |
