1 // --------------------------------------------------------------------------------------------------------------------
\r
2 // <copyright file="Language.cs" company="HandBrake Project (http://handbrake.fr)">
\r
3 // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
\r
6 // Represents a language.
\r
8 // --------------------------------------------------------------------------------------------------------------------
\r
10 namespace HandBrake.Interop
\r
13 /// Represents a language.
\r
15 public class Language
\r
18 /// Initializes a new instance of the Language class.
\r
20 /// <param name="code">The code for the langauge.</param>
\r
21 public Language(string code)
\r
27 /// Gets the friendly name of the language.
\r
33 return LanguageCodes.Decode(this.Code);
\r
38 /// Gets or sets the language code.
\r
40 public string Code { get; set; }
\r