diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-12-19 19:10:50 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-12-19 19:10:50 +0000 |
commit | ace000d3a03181607b130c28da69652f5f60f7d6 (patch) | |
tree | fe32ae3c47913ec693e0c1cfbe18b71d7ad9223b /src/xine-engine/configfile.h | |
parent | b69b939bc672c639696bd1862808ade41e9aedbc (diff) | |
download | xine-lib-ace000d3a03181607b130c28da69652f5f60f7d6.tar.gz xine-lib-ace000d3a03181607b130c28da69652f5f60f7d6.tar.bz2 |
Mark string-type configuration items according to whether they're plain
strings or names of files, device nodes or directories. This information is
available to front ends (via .num_value) so that they can present
file/dir-open dialogue boxes if they so choose.
Subtitle font selection is split up due to this.
CVS patchset: 8425
CVS date: 2006/12/19 19:10:50
Diffstat (limited to 'src/xine-engine/configfile.h')
-rw-r--r-- | src/xine-engine/configfile.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xine-engine/configfile.h b/src/xine-engine/configfile.h index 2a98be9f1..29413610c 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.38 2006/09/26 05:19:48 dgp85 Exp $ + * $Id: configfile.h,v 1.39 2006/12/19 19:10:52 dsalt Exp $ * * config file management * @@ -108,6 +108,16 @@ struct config_values_s { xine_config_cb_t changed_cb, void *cb_data); + char* (*register_filename) (config_values_t *self, + const char *key, + const char *def_value, + int req_type, + const char *description, + const char *help, + int exp_level, + xine_config_cb_t changed_cb, + void *cb_data); + int (*register_range) (config_values_t *self, const char *key, int def_value, |