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

@@ -170,16 +170,21 @@ struct NeutrinoMessages {
EVT_WEBTV_ZAP_COMPLETE = CRCInput::RC_WithData + 28, /* data: (t_channel_id *) */
EVT_SCAN_REPORT_FREQUENCYP = CRCInput::RC_WithData + 29
};
};
struct NeutrinoModes
{
enum
{
mode_unknown = -1,
mode_tv = 1,
mode_tv = 1,
mode_radio = 2,
mode_scart = 3,
mode_standby = 4,
mode_audio = 5,
mode_pic = 6,
mode_ts = 7,
mode_off = 8,
mode_webtv = 9,
mode_upnp = 10,
mode_webradio = 11,
@@ -188,5 +193,4 @@ struct NeutrinoMessages {
};
};
#endif