diff options
author | phintuka <phintuka> | 2006-08-17 18:56:03 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-17 18:56:03 +0000 |
commit | b243517daec439b317fe34ee5db78915588ce15f (patch) | |
tree | 8f4bc902ca65ebbbd0868408c72dd00dfa704cd3 /config.h | |
parent | 1b05494652f7d98bee199e8bdb6e3523352a2fe1 (diff) | |
download | xineliboutput-b243517daec439b317fe34ee5db78915588ce15f.tar.gz xineliboutput-b243517daec439b317fe34ee5db78915588ce15f.tar.bz2 |
New config entry for last replayed audio file.
Moved file types to config.
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; |