changeset 582:f58eb35438c6

Outline plans for rest of the filter config functionality in comments; Suppress unused argument warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Mar 2007 22:27:01 +0000
parents 18b34952131d
children f63a50ec456c
files src/xs_config.c
diffstat 1 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_config.c	Tue Mar 20 21:02:05 2007 +0000
+++ b/src/xs_config.c	Tue Mar 20 22:27:01 2007 +0000
@@ -790,46 +790,88 @@
 
 void xs_cfg_sp2_filter_load(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
+	/*
+	1) get currently selected item from dropdown
+	2) set current filter to that
+	*/
 }
 
 
 void xs_cfg_sp2_filter_save(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
+	/*
+	1) check if textentry matches any current filter name
+		yes) ask if saving over ok?
+		no) ...
+		
+	2) save current filter to the name		
+	*/
 }
 
 
 void xs_cfg_sp2_filter_delete(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
+	/*
+	1) confirm
+	2) delete
+	*/
 }
 
 
 void xs_cfg_sp2_filter_import(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
+	/*
+	1) file selection dialog
+	2) import
+	3) change name if already existing
+	*/
 }
 
 
 void xs_cfg_sp2_filter_export(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
+	/*
+	1) file selection dialog
+	2) export
+	*/
 }
 
 
 void xs_filter_import_fs_ok(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
 }
 
 
 void xs_filter_import_fs_cancel(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
 }
 
 
 void xs_filter_export_fs_ok(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
 }
 
 
 void xs_filter_export_fs_cancel(GtkButton *button, gpointer user_data)
 {
+	(void) button;
+	(void) user_data;
 }