1 /*
2    mkvmerge -- utility for splicing together matroska files
3    from component media subtypes
4 
5    Distributed under the GPL v2
6    see the file COPYING for details
7    or visit https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8 
9    ISO 639 language definitions, lookup functions
10 
11    Written by Moritz Bunkus <moritz@bunkus.org>.
12 */
13 
14 #pragma once
15 
16 #include "common/common_pch.h"
17 
18 #include "common/iso639_types.h"
19 
20 namespace mtx::iso639 {
21 
22 void init();
23 std::optional<language_t> look_up(std::string const &s, bool also_look_up_by_name = false);
24 void list_languages();
25 
26 } // namespace mtx::iso639
27