diff options
author | Qball Cow <qball@gmpclient.org> | 2014-01-22 09:24:31 +0100 |
---|---|---|
committer | Qball Cow <qball@gmpclient.org> | 2014-01-22 09:24:31 +0100 |
commit | 6bb615f1d12c53e3766fa3fbd899afcb54c11898 (patch) | |
tree | 7e7010961e4052d29d041ff0cecf298d6434e368 /include | |
parent | 424cb90a187b23d34394e55a69cfdb43b9aa02cd (diff) |
small cleanup
Diffstat (limited to 'include')
-rw-r--r-- | include/simpleswitcher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/simpleswitcher.h b/include/simpleswitcher.h index 391767ca..54b78b70 100644 --- a/include/simpleswitcher.h +++ b/include/simpleswitcher.h @@ -12,11 +12,12 @@ typedef enum { WINDOW_SWITCHER, RUN_DIALOG, SSH_DIALOG, - MODE_EXIT + NUM_DIALOGS, + MODE_EXIT, + NEXT_DIALOG } SwitcherMode; - typedef int ( *menu_match_cb )( char **tokens, const char *input, int index, void *data ); int menu( char **lines, char **input, char *prompt, int selected, Time *time, int *shift, menu_match_cb mmc, void *mmc_data ); |