function LanguageModelDefines() {
}
{
    //dbtag20160906 start
    LanguageModelDefines.SL2_TVAPI_VINT32_LANGUAGE_SUBTITLE_FAVOURED = "de.loewe.sl2.vint32.language.subtitle.favoured";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_FAVOURED_INDEX = "de.loewe.sl2.i32.language.subtitle.favoured.index";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_FAVOURED = "de.loewe.sl2.i32.language.subtitle.favoured";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_ALTERNATIVE_INDEX = "de.loewe.sl2.i32.language.subtitle.alternative.index";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_ALTERNATIVE = "de.loewe.sl2.i32.language.subtitle.alternative";
    LanguageModelDefines.SL2_TVAPI_VINT32_LANGUAGE_AUDIO_FAVOURED = "de.loewe.sl2.vint32.language.audio.favoured";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_FAVOURED_INDEX = "de.loewe.sl2.i32.language.audio.favoured.index";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_FAVOURED = "de.loewe.sl2.i32.language.audio.favoured";
    LanguageModelDefines.SL2_TVAPI_VINT32_LANGUAGE_AUDIO_ALTERNATIVE = "de.loewe.sl2.vint32.language.audio.alternative";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_ALTERNATIVE_INDEX = "de.loewe.sl2.i32.language.audio.alternative.index";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_ALTERNATIVE = "de.loewe.sl2.i32.language.audio.alternative";
    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_OSD = "de.loewe.sl2.i32.language.osd";
//    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_TELETEXT = "de.loewe.sl2.i32.language.teletext";
//    LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_DECODE_PAGE = "de.loewe.sl2.i32.language.decode.page";
    LanguageModelDefines.SL2_TVAPI_VINT32_LANGUAGE_SUBTITLE_ALTERNATIVE = "de.loewe.sl2.vint32.language.subtitle.alternative";
    //dbtag20160906 end
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_GERMAN = 0;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ENGLISH = 1;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_FRENCH = 2;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ITALIAN = 3;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SPANISH = 4;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_NETHERLANDS = 5;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_CZECH = 6;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_GREEK = 7;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_POLISH = 8;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HUNGARIAN = 9;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_FINNISH = 10;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SLOVENIAN = 11;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SLOVAK = 12;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_TURKISH = 13;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SWEDISH = 14;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_DANISH = 15;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_PORTUGUESE = 16;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_RUSSIAN = 17;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_NORWEGIAN = 18;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_CHINESE = 19;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_LATVIAN = 20;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_LITHUANIAN = 21;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ESTONIAN = 22;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_UKRAINIAN = 23;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ROMANIAN = 24;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_BYELORUSSIAN = 25;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SERBIAN = 26;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_CROATIAN = 27;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_JAPANESE = 28;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_IRISH = 29;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_WELSH = 30;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_CATALAN = 31;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_GAELIC = 32;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_BASQUE = 33;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_GALICIAN = 34;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_SCOTS = 35;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_BRETON = 36;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_CORSICAN = 37;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ALEMANNIC = 38;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_BULGARIAN = 39;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_ARABIC = 40;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_WALLOON = 41;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_LUXEMBOURGISH = 42;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_MAX = 43;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_GERMAN = 0;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_ENGLISH = 1;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_FRENCH = 2;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_ITALIAN = 3;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_SPANISH = 4;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_NETHERLANDS = 5;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_CZECH = 6;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_GREEK = 7;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_POLISH = 8;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_HUNGARIAN = 9;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_FINNISH = 10;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_SLOVENIAN = 11;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_SLOVAK = 12;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_TURKISH = 13;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_SWEDISH = 14;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_DANISH = 15;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_PORTUGUESE = 16;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_RUSSIAN = 17;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_NORWEGIAN = 18;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_CHINESE = 19;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_LATVIAN = 20;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_LITHUANIAN = 21;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_ESTONIAN = 22;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_UKRAINIAN = 23;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_ROMANIAN = 24;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_BYELORUSSIAN = 25;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_SERBIAN = 26;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_CROATIAN = 27;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_HDR_MAX = 28;
    LanguageModelDefines.SL2_TVAPI_LANGUAGE_DVB_INDEX_INVALID = -1
}
function LanguageModel(e) {
    SubModel.call(this, e, LanguageModelDefines);

    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_OSD, "getOsd", "setOsd", "onOsdChaged", null, null);
    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_FAVOURED, "getSubtitleFavoured", "setSubtitleFavoured", "onSubtitleFavouredChaged", null, null);
    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_SUBTITLE_ALTERNATIVE, "getSubtitleAlternative", "setSubtitleAlternative", "onSubtitleAlternativeChaged", null, null);
    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_FAVOURED, "getAudioFavoured", "setAudioFavoured", "onAudioFavouredChaged", null, null);
    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_AUDIO_ALTERNATIVE, "getAudioAlternative", "setAudioAlternative", "onAudioAlternativeChaged", null, null);
//    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_TELETEXT, "getTeletext", "setTeletext", "onTeletextChaged", null, null);
//    this.registerIntegerObject(LanguageModelDefines.SL2_TVAPI_I32_LANGUAGE_DECODE_PAGE, "getDecodepage", "setDecodepage", "onDecodepageChaged", null, null)


}
LanguageModel.prototype = new SubModel();
LanguageModel.prototype.constructor = LanguageModel;
{
    SubModel.registerStaticConstants(LanguageModel, LanguageModelDefines, [])
}
