diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-31 13:00:36 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-31 13:59:44 +0200 |
commit | a955243adb1f484c1c4dc233d16a0afb07fe7b1e (patch) | |
tree | 349cf5b6592f0585b5b704c3e2a9e1bcd3bd5cf3 /src/settings.h | |
parent | e5fb92b077c514962139abb57057041a09ca860c (diff) | |
download | pianobar-a955243adb1f484c1c4dc233d16a0afb07fe7b1e.tar.gz pianobar-a955243adb1f484c1c4dc233d16a0afb07fe7b1e.tar.bz2 pianobar-a955243adb1f484c1c4dc233d16a0afb07fe7b1e.zip |
Replaced long argument list of ui callback functions
Structure BarApp_t contains most important data now.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/settings.h b/src/settings.h index 2505321..f977a47 100644 --- a/src/settings.h +++ b/src/settings.h @@ -27,14 +27,6 @@ THE SOFTWARE. #include <piano.h> #include <waitress.h> -#include "player.h" - -#define BAR_KS_ARGS PianoHandle_t *ph, WaitressHandle_t *waith, \ - struct audioPlayer *player, \ - BarSettings_t *settings, PianoSong_t **curSong, \ - PianoStation_t **curStation, PianoSong_t **songHistory, char *doQuit, \ - FILE *curFd - /* keep in mind that you have to update several arrays in main.c/ui_act.c too, * if you're adding new shortcuts */ typedef enum { @@ -87,8 +79,6 @@ typedef struct { char *eventCmd; } BarSettings_t; -typedef void (*BarKeyShortcutFunc_t) (BAR_KS_ARGS); - void BarSettingsInit (BarSettings_t *); void BarSettingsDestroy (BarSettings_t *); void BarSettingsRead (BarSettings_t *); |