summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-10 05:31:12 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-10 05:31:12 +0000
commit75d77155dc654e07744876aed39770da2a8846f8 (patch)
treebbe0c4ca2a16193bdc4d59108a64a749b7aa6b2d /apps/settings.h
parent3b97474978089403d5718cbd3ead5ff9271bb707 (diff)
Added function pointer argument to set_option(). This allows for instantaneous response from the AVC and Channels sound options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2253 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 2fab75b437..6ed0b167f4 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -114,7 +114,8 @@ bool settings_load_eq(char* file);
void set_bool_options(char* string, bool* variable, char* yes_str, char* no_str );
void set_bool(char* string, bool* variable );
-void set_option(char* string, int* variable, char* options[], int numoptions );
+void set_option(char* string, int* variable, char* options[],
+ int numoptions, void (*function)(int));
void set_int(char* string,
char* unit,
int* variable,