changeset 1013:13281963f56f trunk

[svn] Poison the XMMS ConfigFile routines. The rationale for this decision, is that the configdb code has been deprecated by us since 0.2, and that anybody still using it needs a swift kick in the head (by chuck norris?). This action has been taken after IRC discussions with both nemo and Chainsaw.
author nenolod
date Tue, 09 May 2006 08:57:40 -0700
parents a29125f98180
children 9b26df736b62
files libaudacious/configfile.h
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libaudacious/configfile.h	Tue May 09 08:48:01 2006 -0700
+++ b/libaudacious/configfile.h	Tue May 09 08:57:40 2006 -0700
@@ -47,6 +47,31 @@
 typedef struct _ConfigSection ConfigSection;
 typedef struct _ConfigFile ConfigFile;
 
+/*
+ * Poison all of the xmms ConfigFile interfaces as we are to
+ * no longer use these anymore. They have been deprecated since 0.2,
+ * and will be REMOVED in 1.2.
+ *
+ * - nenolod, 05/09/2006
+ */
+#pragma GCC poison xmms_cfg_new
+#pragma GCC poison xmms_cfg_open_file
+#pragma GCC poison xmms_cfg_write_file
+#pragma GCC poison xmms_cfg_open_default_file
+#pragma GCC poison xmms_cfg_write_default_file
+#pragma GCC poison xmms_cfg_read_value
+#pragma GCC poison xmms_cfg_write_value
+#pragma GCC poison xmms_cfg_read_string
+#pragma GCC poison xmms_cfg_read_int
+#pragma GCC poison xmms_cfg_read_boolean
+#pragma GCC poison xmms_cfg_read_float
+#pragma GCC poison xmms_cfg_read_double
+#pragma GCC poison xmms_cfg_write_string
+#pragma GCC poison xmms_cfg_write_int
+#pragma GCC poison xmms_cfg_write_boolean
+#pragma GCC poison xmms_cfg_write_float
+#pragma GCC poison xmms_cfg_write_double
+#pragma GCC poison xmms_cfg_remove_key
 
 #ifdef __cplusplus
 extern "C" {