Followscreenings: add enumeration for a better readability

This commit is contained in:
2017-06-07 14:17:12 +02:00
committed by M. Liebmann
parent 866f5c37b8
commit 141d198b29
4 changed files with 17 additions and 2 deletions

View File

@@ -41,6 +41,7 @@
#include "record_setup.h"
#include <gui/filebrowser.h>
#include <gui/followscreenings.h>
#include <gui/widget/icons.h>
#include <gui/widget/msgbox.h>
@@ -173,6 +174,13 @@ const CMenuOptionChooser::keyval END_OF_RECORDING[END_OF_RECORDING_COUNT] =
{1, LOCALE_RECORDINGMENU_END_OF_RECORDING_EPG}
};
const CMenuOptionChooser::keyval timer_followscreenings_options[] =
{
{CFollowScreenings::FOLLOWSCREENINGS_OFF ,LOCALE_OPTIONS_OFF },
{CFollowScreenings::FOLLOWSCREENINGS_ON ,LOCALE_OPTIONS_ON }
};
size_t timer_followscreenings_options_count = sizeof(timer_followscreenings_options)/sizeof(CMenuOptionChooser::keyval);
int CRecordSetup::showRecordSetup()
{
CMenuForwarder * mf;