diff options
| author | phintuka <phintuka> | 2012-03-19 11:38:43 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2012-03-19 11:38:43 +0000 |
| commit | 5f137a1e8f3bc62ee977c741fcc8b4ffccf034b6 (patch) | |
| tree | 588a9e155b2e81e77ee6b379578b7564a3fcffbb | |
| parent | a888c2ebca7902a8172f7d4000ad80d3546559f9 (diff) | |
| download | xineliboutput-5f137a1e8f3bc62ee977c741fcc8b4ffccf034b6.tar.gz xineliboutput-5f137a1e8f3bc62ee977c741fcc8b4ffccf034b6.tar.bz2 | |
Commented out unused data
| -rw-r--r-- | config.c | 4 | ||||
| -rw-r--r-- | config.h | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.114 2012-03-19 11:29:14 phintuka Exp $ + * $Id: config.c,v 1.115 2012-03-19 11:38:43 phintuka Exp $ * */ @@ -718,10 +718,12 @@ config_t::config_t() { force_primary_device = 0; }; +#if 0 static uint8_t g_hidden_options[sizeof(config_t)] = {0}; static uint8_t g_readonly_options[sizeof(config_t)] = {0}; uint8_t *config_t::hidden_options = &g_hidden_options[0]; uint8_t *config_t::readonly_options = &g_readonly_options[0]; +#endif cString config_t::m_ProcessedArgs; bool config_t::ProcessArg(const char *Name, const char *Value) @@ -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.89 2012-03-19 11:29:14 phintuka Exp $ + * $Id: config.h,v 1.90 2012-03-19 11:38:43 phintuka Exp $ * */ @@ -464,15 +464,18 @@ class config_t { cString UnsharpOptions(void); cString Denoise3dOptions(void); +#if 0 template<typename T> bool IsOptionHidden(T & option) { return hidden_options[(int)((long int)&option - (long int)this)];}; template<typename T> bool IsOptionReadOnly(T & option) { return readonly_options[(int)((long int)&option - (long int)this)];}; +#endif protected: bool ProcessArg(const char *Name, const char *Value); static cString m_ProcessedArgs; +#if 0 static uint8_t *hidden_options; static uint8_t *readonly_options; @@ -480,6 +483,7 @@ class config_t { { hidden_options[(int)((long int)&option - (long int)this)] = 1;}; template<typename T> void ReadOnlyOption(T & option) { readonly_options[(int)((long int)&option - (long int)this)] = 1;}; +#endif }; // Global instance |
