From 8b9213ab169ad3de80ff7bd4271d36dfb474516a Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 26 Nov 2011 10:34:01 +0000 Subject: [PATCH] Remove CAPIDChangeExec git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1914 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b6fc86a88d9597bb1d7f0aee68bbb0acf95ecedc Author: [CST] Focus Date: 2011-11-26 (Sat, 26 Nov 2011) ------------------ This commit was generated by Migit --- src/system/setting_helpers.cpp | 11 ----------- src/system/setting_helpers.h | 6 ------ 2 files changed, 17 deletions(-) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index a1c1d7c75..8463e7c27 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -605,17 +605,6 @@ bool CRecAPIDSettingsNotifier::changeNotify(const neutrino_locale_t, void *) return true; } -int CAPIDChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey) -{ - // printf("CAPIDChangeExec exec: %s\n", actionKey.c_str()); - unsigned int sel= atoi(actionKey.c_str()); - if (g_RemoteControl->current_PIDs.PIDs.selected_apid!= sel ) - { - g_RemoteControl->setAPID(sel); - } - return menu_return::RETURN_EXIT; -} - int CSubtitleChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey) { printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str()); diff --git a/src/system/setting_helpers.h b/src/system/setting_helpers.h index 87f960d52..19015990a 100644 --- a/src/system/setting_helpers.h +++ b/src/system/setting_helpers.h @@ -212,12 +212,6 @@ class CRecAPIDSettingsNotifier : public CChangeObserver bool changeNotify(const neutrino_locale_t OptionName, void*); }; -class CAPIDChangeExec : public CMenuTarget -{ - public: - int exec(CMenuTarget* parent, const std::string & actionKey); -}; - class CSubtitleChangeExec : public CMenuTarget { public: