// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Represents a language. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.Interop { /// /// Represents a language. /// public class Language { /// /// Initializes a new instance of the Language class. /// /// The code for the langauge. public Language(string code) { this.Code = code; } /// /// Gets the friendly name of the language. /// public string Name { get { return LanguageCodes.Decode(this.Code); } } /// /// Gets or sets the language code. /// public string Code { get; set; } } }