DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
language_utils.h
1 // Copyright 2015 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Funtions used by MpdBuilder class to generate an MPD file.
8 
9 #ifndef MPD_BASE_LANGUAGE_UTILS_H_
10 #define MPD_BASE_LANGUAGE_UTILS_H_
11 
12 #include <string>
13 
14 namespace edash_packager {
15 
19 std::string LanguageToShortestForm(const std::string& language);
20 
24 std::string LanguageToISO_639_2(const std::string& language);
25 
26 } // namespace edash_packager
27 
28 #endif // MPD_BASE_LANGUAGE_UTILS_H_
std::string LanguageToShortestForm(const std::string &language)
std::string LanguageToISO_639_2(const std::string &language)