mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
moviebrowser: add return value to CMovieBrowser::onDeleteFile()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c683c8eb65
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-10-01 (Thu, 01 Oct 2015)
Origin message was:
------------------
- moviebrowser: add return value to CMovieBrowser::onDeleteFile()
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2143,9 +2143,10 @@ bool CMovieBrowser::onButtonPressMovieInfoList(neutrino_msg_t msg)
|
|||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
|
bool CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
|
||||||
{
|
{
|
||||||
//TRACE("[onDeleteFile] ");
|
//TRACE("[onDeleteFile] ");
|
||||||
|
bool result = false;
|
||||||
#if 0
|
#if 0
|
||||||
int test= movieinfo->file.Name.find(".ts", movieinfo->file.Name.length()-3);
|
int test= movieinfo->file.Name.find(".ts", movieinfo->file.Name.length()-3);
|
||||||
if (test == -1) {
|
if (test == -1) {
|
||||||
@@ -2224,7 +2225,9 @@ void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
|
|||||||
refreshMovieInfo();
|
refreshMovieInfo();
|
||||||
refresh();
|
refresh();
|
||||||
#endif
|
#endif
|
||||||
|
result = true;
|
||||||
}
|
}
|
||||||
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMovieBrowser::onSetGUIWindow(MB_GUI gui)
|
void CMovieBrowser::onSetGUIWindow(MB_GUI gui)
|
||||||
|
@@ -425,7 +425,7 @@ class CMovieBrowser : public CMenuTarget
|
|||||||
void onSetGUIWindow(MB_GUI gui);
|
void onSetGUIWindow(MB_GUI gui);
|
||||||
void onSetGUIWindowNext(void);
|
void onSetGUIWindowNext(void);
|
||||||
void onSetGUIWindowPrev(void);
|
void onSetGUIWindowPrev(void);
|
||||||
void onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk = false); // P4
|
bool onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk = false); // P4
|
||||||
bool onSortMovieInfoHandleList(std::vector<MI_MOVIE_INFO*>& pv_handle_list, MB_INFO_ITEM sort_type, MB_DIRECTION direction);
|
bool onSortMovieInfoHandleList(std::vector<MI_MOVIE_INFO*>& pv_handle_list, MB_INFO_ITEM sort_type, MB_DIRECTION direction);
|
||||||
|
|
||||||
///// parse Storage Directories /////////////
|
///// parse Storage Directories /////////////
|
||||||
|
Reference in New Issue
Block a user