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 Written by Moritz Bunkus <moritz@bunkus.org>. 10 */ 11 12 #pragma once 13 14 #include "common/common_pch.h" 15 16 #include "common/debugging.h" 17 18 namespace mtx { 19 20 class doc_type_version_handler_c; 21 22 class doc_type_version_handler_private_c { 23 friend class doc_type_version_handler_c; 24 25 debugging_option_c debug{"doc_type_version|doc_type_version_handler"}; 26 27 unsigned int version{1}, read_version{1}; 28 29 static std::unordered_map<unsigned int, unsigned int> s_version_by_element, s_read_version_by_element; 30 static void init_tables(); 31 }; 32 33 } // namespace mtx 34