mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
mediaplayer-setup: formatting code using astyle
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a1db4ef71
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-20 (Wed, 20 Oct 2021)
Origin message was:
------------------
- mediaplayer-setup: formatting code using astyle
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -63,24 +63,23 @@ CMediaPlayerSetup::~CMediaPlayerSetup()
|
||||
{
|
||||
}
|
||||
|
||||
int CMediaPlayerSetup::exec(CMenuTarget* parent, const std::string & /*actionKey*/)
|
||||
int CMediaPlayerSetup::exec(CMenuTarget *parent, const std::string & /*actionKey*/)
|
||||
{
|
||||
dprintf(DEBUG_DEBUG, "init mediaplayer setup menu\n");
|
||||
int res = menu_return::RETURN_REPAINT;
|
||||
int res = menu_return::RETURN_REPAINT;
|
||||
|
||||
if (parent)
|
||||
parent->hide();
|
||||
|
||||
|
||||
res = showMediaPlayerSetup();
|
||||
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/*shows media setup menue entries*/
|
||||
// shows media setup menue entries
|
||||
int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
{
|
||||
CMenuWidget* mediaSetup = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width);
|
||||
CMenuWidget *mediaSetup = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width);
|
||||
mediaSetup->setSelected(selected);
|
||||
|
||||
// intros
|
||||
@@ -138,7 +137,7 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_TIMEOSD_WHILE_SEARCHING);
|
||||
mediaSetup->addItem(mc);
|
||||
|
||||
int res = mediaSetup->exec (NULL, "");
|
||||
int res = mediaSetup->exec(NULL, "");
|
||||
selected = mediaSetup->getSelected();
|
||||
delete mediaSetup;
|
||||
return res;
|
||||
|
@@ -44,12 +44,10 @@ class CMediaPlayerSetup : public CMenuTarget
|
||||
|
||||
int showMediaPlayerSetup();
|
||||
|
||||
|
||||
public:
|
||||
public:
|
||||
CMediaPlayerSetup();
|
||||
~CMediaPlayerSetup();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
int exec(CMenuTarget *parent, const std::string &actionKey);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user