summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-08-12 20:54:03 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-08-12 20:54:03 +0100
commit90bfed2c4c86e943ad850a023a28df31c558d75f (patch)
treecf8af063682a6cb40d5e6718e4c617515a9d5749 /include
parent50b0a0157709ed4a418012883793bf7ea9ddac13 (diff)
downloadxine-lib-90bfed2c4c86e943ad850a023a28df31c558d75f.tar.gz
xine-lib-90bfed2c4c86e943ad850a023a28df31c558d75f.tar.bz2
Extend config key translation to allow front ends to provide an additional list.
Intent is to allow front ends to rename their old, badly-named, config items.
Diffstat (limited to 'include')
-rw-r--r--include/xine.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/xine.h.in b/include/xine.h.in
index f25038796..58507e6f1 100644
--- a/include/xine.h.in
+++ b/include/xine.h.in
@@ -1533,6 +1533,16 @@ void xine_config_update_entry (xine_t *self,
const xine_cfg_entry_t *entry) XINE_PROTECTED;
/*
+ * translation of old configuration entry names
+ */
+typedef struct {
+ const char *old;
+ const char *new;
+} xine_config_entry_translation_t;
+
+void xine_config_set_translation_user (const xine_config_entry_translation_t *) XINE_PROTECTED;
+
+/*
* load/save config data from/to afile (e.g. $HOME/.xine/config)
*/
void xine_config_load (xine_t *self, const char *cfg_filename) XINE_PROTECTED;