diff options
Diffstat (limited to 'src/language_tag.h')
| -rw-r--r-- | src/language_tag.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/language_tag.h b/src/language_tag.h index d4d41fd7..abccdb2d 100644 --- a/src/language_tag.h +++ b/src/language_tag.h @@ -35,6 +35,7 @@ #define LIBDCP_LANGUAGE_TAG_H +#include <boost/filesystem.hpp> #include <boost/optional.hpp> #include <string> #include <vector> @@ -206,7 +207,7 @@ public: std::vector<std::pair<SubtagType, SubtagData> > subtags () const; - static std::vector<SubtagData> get_all (SubtagType type); + static std::vector<SubtagData> const& get_all (SubtagType type); static std::string subtag_type_name (SubtagType type); static boost::optional<std::string> get_subtag_description (SubtagType, std::string subtag); @@ -234,6 +235,9 @@ private: extern bool operator==(dcp::LanguageTag const& a, dcp::LanguageTag const& b); extern std::ostream& operator<<(std::ostream& os, dcp::LanguageTag const& tag); + +extern void load_language_tag_lists (boost::filesystem::path tags_directory); + } #endif |
