diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.3 2006-08-07 18:20:43 phintuka Exp $ + * $Id: config.h,v 1.4 2006-08-17 18:56:03 phintuka Exp $ * */ @@ -107,9 +107,10 @@ typedef enum { ShowMenu = 0, ShowEq = 1, ShowFiles = 2, - ShowImages = 3, - CloseOsd = 4 -} eMainMenuMode; + ShowMusic = 3, + ShowImages = 4, + CloseOsd = 5 +} eMainMenuMode; class config_t { public: @@ -195,6 +196,7 @@ class config_t { int brightness; // 0...0xffff, -1 == off char browse_files_dir[4096]; + char browse_music_dir[4096]; char browse_images_dir[4096]; eMainMenuMode main_menu_mode; @@ -204,6 +206,9 @@ class config_t { bool SetupParse(const char *Name, const char *Value); bool ProcessArgs(int argc, char *argv[]); + bool IsImageFile(const char *); + bool IsVideoFile(const char *); + protected: bool ProcessArg(const char *Name, const char *Value); char *m_ProcessedArgs; |