From 62a8b8bc41b64278474fc46107a64aa789e5f604 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 21 Feb 2011 09:08:14 +0000 Subject: [PATCH] neutrino recordsetup: moved define for yes no message box keayval to mymenu.h git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1180 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/024949a994e218d0731c6382fb0ed5d72dc155f0 Author: Thilo Graf Date: 2011-02-21 (Mon, 21 Feb 2011) Origin message was: ------------------ *neutrino recordsetup: moved define for yes no message box keayval to mymenu.h git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1180 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/record_setup.cpp | 8 -------- src/mymenu.h | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/gui/record_setup.cpp b/src/gui/record_setup.cpp index 26a7c0a25..c30951c40 100644 --- a/src/gui/record_setup.cpp +++ b/src/gui/record_setup.cpp @@ -155,14 +155,6 @@ int CRecordSetup::exec(CMenuTarget* parent, const std::string &actionKey) return res; } -#define MESSAGEBOX_NO_YES_OPTION_COUNT 2 -const CMenuOptionChooser::keyval MESSAGEBOX_NO_YES_OPTIONS[MESSAGEBOX_NO_YES_OPTION_COUNT] = -{ - { 0, LOCALE_MESSAGEBOX_NO }, - { 1, LOCALE_MESSAGEBOX_YES } -}; - - #define RECORDINGMENU_RECORDING_TYPE_OPTION_COUNT 4 const CMenuOptionChooser::keyval RECORDINGMENU_RECORDING_TYPE_OPTIONS[RECORDINGMENU_RECORDING_TYPE_OPTION_COUNT] = { diff --git a/src/mymenu.h b/src/mymenu.h index 645d9116f..c06d1ff15 100644 --- a/src/mymenu.h +++ b/src/mymenu.h @@ -75,3 +75,9 @@ const CMenuOptionChooser::keyval OPTIONS_EAST0_WEST1_OPTIONS[OPTIONS_EAST0_WEST1 { 0, LOCALE_EXTRA_EAST }, { 1, LOCALE_EXTRA_WEST } }; +#define MESSAGEBOX_NO_YES_OPTION_COUNT 2 +const CMenuOptionChooser::keyval MESSAGEBOX_NO_YES_OPTIONS[MESSAGEBOX_NO_YES_OPTION_COUNT] = +{ + { 0, LOCALE_MESSAGEBOX_NO }, + { 1, LOCALE_MESSAGEBOX_YES } +};