neutrino: unify modes handling; ...

remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes


Origin commit data
------------------
Branch: ni/coolstream
Commit: 028ec3cf3c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-20 (Mon, 20 Nov 2017)

Origin message was:
------------------
- neutrino: unify modes handling; ...

remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-20 15:19:06 +01:00
parent 70493435d5
commit 476ce63d99
28 changed files with 233 additions and 247 deletions

View File

@@ -370,19 +370,19 @@ static void set_lua_variables(lua_State *L)
table_key neutrino_mode[] =
{
{ "UNKNOWN", (lua_Integer)CNeutrinoApp::mode_unknown },
{ "TV", (lua_Integer)CNeutrinoApp::mode_tv },
{ "RADIO", (lua_Integer)CNeutrinoApp::mode_radio },
{ "SCART", (lua_Integer)CNeutrinoApp::mode_scart },
{ "STANDBY", (lua_Integer)CNeutrinoApp::mode_standby },
{ "AUDIO", (lua_Integer)CNeutrinoApp::mode_audio },
{ "PIC", (lua_Integer)CNeutrinoApp::mode_pic },
{ "TS", (lua_Integer)CNeutrinoApp::mode_ts },
{ "OFF", (lua_Integer)CNeutrinoApp::mode_off },
{ "WEBTV", (lua_Integer)CNeutrinoApp::mode_webtv },
{ "WEBRADIO", (lua_Integer)CNeutrinoApp::mode_webradio },
{ "MASK", (lua_Integer)CNeutrinoApp::mode_mask },
{ "NOREZAP", (lua_Integer)CNeutrinoApp::norezap },
{ "UNKNOWN", (lua_Integer)NeutrinoModes::mode_unknown },
{ "TV", (lua_Integer)NeutrinoModes::mode_tv },
{ "RADIO", (lua_Integer)NeutrinoModes::mode_radio },
{ "SCART", (lua_Integer)NeutrinoModes::mode_scart },
{ "STANDBY", (lua_Integer)NeutrinoModes::mode_standby },
{ "AUDIO", (lua_Integer)NeutrinoModes::mode_audio },
{ "PIC", (lua_Integer)NeutrinoModes::mode_pic },
{ "TS", (lua_Integer)NeutrinoModes::mode_ts },
{ "OFF", (lua_Integer)NeutrinoModes::mode_off },
{ "WEBTV", (lua_Integer)NeutrinoModes::mode_webtv },
{ "WEBRADIO", (lua_Integer)NeutrinoModes::mode_webradio },
{ "MASK", (lua_Integer)NeutrinoModes::mode_mask },
{ "NOREZAP", (lua_Integer)NeutrinoModes::norezap },
{ NULL, 0 }
};