gui/filebrowser.cpp: cleanup, simplify footer

Origin commit data
------------------
Branch: ni/coolstream
Commit: 713820a1c0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-01 (Wed, 01 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-10-01 17:15:57 +04:00
parent 695a007fe8
commit 573c8d3636
2 changed files with 248 additions and 501 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -54,7 +54,6 @@
#include <vector> #include <vector>
#define ENABLE_INTERNETRADIO #define ENABLE_INTERNETRADIO
#define VLC_URI "vlc://"
bool chooserDir(std::string &setting_dir, bool test_dir, const char *action_str, bool allow_tmp = false); bool chooserDir(std::string &setting_dir, bool test_dir, const char *action_str, bool allow_tmp = false);
bool chooserDir(char *setting_dir, bool test_dir, const char *action_str, size_t str_leng, bool allow_tmp = false); bool chooserDir(char *setting_dir, bool test_dir, const char *action_str, size_t str_leng, bool allow_tmp = false);
@@ -152,9 +151,6 @@ class CFileBrowser
CFileList selected_filelist; CFileList selected_filelist;
bool readDir(const std::string & dirname, CFileList* flist); bool readDir(const std::string & dirname, CFileList* flist);
#ifdef ENABLE_MOVIEPLAYER_VLC
bool readDir_vlc(const std::string & dirname, CFileList* flist);
#endif
bool readDir_std(const std::string & dirname, CFileList* flist); bool readDir_std(const std::string & dirname, CFileList* flist);
#ifdef ENABLE_INTERNETRADIO #ifdef ENABLE_INTERNETRADIO
bool readDir_sc(const std::string & dirname, CFileList* flist); bool readDir_sc(const std::string & dirname, CFileList* flist);
@@ -188,7 +184,7 @@ class CFileBrowser
void paintItem(unsigned pos); void paintItem(unsigned pos);
void paint(); void paint();
void paintHead(); void paintHead();
void paintFoot(); int paintFoot(bool show = true);
void paintSMSKey(); void paintSMSKey();
void recursiveDelete(const char* file); void recursiveDelete(const char* file);
@@ -201,7 +197,6 @@ class CFileBrowser
typedef enum { typedef enum {
ModeFile, ModeFile,
ModeVLC,
ModeSC ModeSC
} tFileBrowserMode; } tFileBrowserMode;