diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-09-09 19:24:48 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-09-09 19:24:48 +0000 |
commit | 6d580c1e2b663bea95a2107370b458fb58afda37 (patch) | |
tree | 91400358abf6427a1e060d67a3aa6f98282974f1 /src/xine-engine/configfile.h | |
parent | c8489f82948511ec9bbd97f7146ed4b772a89c7f (diff) | |
download | xine-lib-6d580c1e2b663bea95a2107370b458fb58afda37.tar.gz xine-lib-6d580c1e2b663bea95a2107370b458fb58afda37.tar.bz2 |
Remove so const abuse ;-)
CVS patchset: 2637
CVS date: 2002/09/09 19:24:48
Diffstat (limited to 'src/xine-engine/configfile.h')
-rw-r--r-- | src/xine-engine/configfile.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/src/xine-engine/configfile.h b/src/xine-engine/configfile.h index 978c009c4..e2c17f1b6 100644 --- a/src/xine-engine/configfile.h +++ b/src/xine-engine/configfile.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: configfile.h,v 1.13 2002/09/06 18:13:11 mroi Exp $ + * $Id: configfile.h,v 1.14 2002/09/09 19:24:48 f1rmb Exp $ * * config file management * @@ -73,7 +73,7 @@ struct cfg_entry_s { /* callback function and data for live changeable values */ xine_config_cb_t callback; - const void *callback_data; + void *callback_data; }; /* @@ -105,7 +105,7 @@ struct config_values_s { char *help, int exp_level, xine_config_cb_t changed_cb, - const void *const cb_data); + void *cb_data); int (*register_range) (config_values_t *this, char *key, @@ -115,7 +115,7 @@ struct config_values_s { char *help, int exp_level, xine_config_cb_t changed_cb, - const void *const cb_data); + void *cb_data); int (*register_enum) (config_values_t *this, char *key, @@ -125,7 +125,7 @@ struct config_values_s { char *help, int exp_level, xine_config_cb_t changed_cb, - const void *const cb_data); + void *cb_data); int (*register_num) (config_values_t *this, char *key, @@ -134,7 +134,7 @@ struct config_values_s { char *help, int exp_level, xine_config_cb_t changed_cb, - const void *const cb_data); + void *cb_data); int (*register_bool) (config_values_t *this, char *key, @@ -143,15 +143,13 @@ struct config_values_s { char *help, int exp_level, xine_config_cb_t changed_cb, - const void *const cb_data); + void *cb_data); /* convenience function to update range, enum, num and bool values */ - void (*update_num) (config_values_t *this, - char *key, int value); + void (*update_num) (config_values_t *this, char *key, int value); /* convenience function to update string values */ - void (*update_string) (config_values_t *this, - char *key, char *value); + void (*update_string) (config_values_t *this, char *key, char *value); /* small utility function for enum handling */ int (*parse_enum) (char *str, char **values); @@ -163,14 +161,12 @@ struct config_values_s { * and you changed the value of this item */ - cfg_entry_t* (*lookup_entry) (config_values_t *this, - const char *key); + cfg_entry_t* (*lookup_entry) (config_values_t *this, char *key); /* * unregister callback function */ - void (*unregister_callback) (config_values_t *this, - char *key); + void (*unregister_callback) (config_values_t *this, char *key); /* * config values are stored here: |