mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
webtv-setup: minor changes in changeNotify() function
Origin commit data
------------------
Commit: 1305b5d339
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-21 (Fri, 21 Sep 2018)
Origin message was:
------------------
- webtv-setup: minor changes in changeNotify() function
This commit is contained in:
@@ -209,10 +209,17 @@ int CWebTVSetup::Show()
|
||||
}
|
||||
|
||||
//NI
|
||||
bool CWebTVSetup::changeNotify(const neutrino_locale_t, void */*data*/)
|
||||
bool CWebTVSetup::changeNotify(const neutrino_locale_t OptionName, void */*data*/)
|
||||
{
|
||||
changed = true;
|
||||
return false;
|
||||
int ret = menu_return::RETURN_NONE;
|
||||
|
||||
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_WEBTV_XML_AUTO))
|
||||
{
|
||||
changed = true;
|
||||
ret = menu_return::RETURN_REPAINT;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
//NI
|
||||
|
@@ -39,7 +39,7 @@ class CWebTVSetup : public CMenuTarget, CChangeObserver //NI
|
||||
CWebTVSetup();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
int Show();
|
||||
bool changeNotify(const neutrino_locale_t, void * data); //NI
|
||||
bool changeNotify(const neutrino_locale_t OptionName, void *data); //NI
|
||||
void webtv_xml_auto(); //NI
|
||||
bool webtv_xml_autodir(std::string directory);
|
||||
};
|
||||
|
Reference in New Issue
Block a user