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:
vanhofen
2015-10-01 20:31:46 +02:00
parent eeb4f456ff
commit 10d2d97e87
2 changed files with 5 additions and 2 deletions

View File

@@ -2143,9 +2143,10 @@ bool CMovieBrowser::onButtonPressMovieInfoList(neutrino_msg_t msg)
return (result);
}
void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
bool CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
{
//TRACE("[onDeleteFile] ");
bool result = false;
#if 0
int test= movieinfo->file.Name.find(".ts", movieinfo->file.Name.length()-3);
if (test == -1) {
@@ -2224,7 +2225,9 @@ void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
refreshMovieInfo();
refresh();
#endif
result = true;
}
return (result);
}
void CMovieBrowser::onSetGUIWindow(MB_GUI gui)

View File

@@ -425,7 +425,7 @@ class CMovieBrowser : public CMenuTarget
void onSetGUIWindow(MB_GUI gui);
void onSetGUIWindowNext(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);
///// parse Storage Directories /////////////