mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +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");
|
dprintf(DEBUG_DEBUG, "init mediaplayer setup menu\n");
|
||||||
int res = menu_return::RETURN_REPAINT;
|
int res = menu_return::RETURN_REPAINT;
|
||||||
|
|
||||||
if (parent)
|
if (parent)
|
||||||
parent->hide();
|
parent->hide();
|
||||||
|
|
||||||
|
|
||||||
res = showMediaPlayerSetup();
|
res = showMediaPlayerSetup();
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*shows media setup menue entries*/
|
// shows media setup menue entries
|
||||||
int CMediaPlayerSetup::showMediaPlayerSetup()
|
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);
|
mediaSetup->setSelected(selected);
|
||||||
|
|
||||||
// intros
|
// intros
|
||||||
@@ -138,7 +137,7 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
|
|||||||
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_TIMEOSD_WHILE_SEARCHING);
|
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_TIMEOSD_WHILE_SEARCHING);
|
||||||
mediaSetup->addItem(mc);
|
mediaSetup->addItem(mc);
|
||||||
|
|
||||||
int res = mediaSetup->exec (NULL, "");
|
int res = mediaSetup->exec(NULL, "");
|
||||||
selected = mediaSetup->getSelected();
|
selected = mediaSetup->getSelected();
|
||||||
delete mediaSetup;
|
delete mediaSetup;
|
||||||
return res;
|
return res;
|
||||||
|
@@ -44,12 +44,10 @@ class CMediaPlayerSetup : public CMenuTarget
|
|||||||
|
|
||||||
int showMediaPlayerSetup();
|
int showMediaPlayerSetup();
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CMediaPlayerSetup();
|
CMediaPlayerSetup();
|
||||||
~CMediaPlayerSetup();
|
~CMediaPlayerSetup();
|
||||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
int exec(CMenuTarget *parent, const std::string &actionKey);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user