namespace HandBrake.Interop
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
///
/// 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; }
}
}