summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-09-19 12:21:30 +0200
committerQC <qball@gmpclient.org>2015-09-19 12:21:30 +0200
commit442e235c24fa33a499e51b4a2f7ff95fb4ab43ad (patch)
treec74a3fea5b7286e9d4e60f3fc656805b3a0fad07 /include/rofi.h
parent4c970fe4da46b2b463a59acdb4ec807cf83c61c4 (diff)
Some cleanups, tweak uncrustify.
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/rofi.h b/include/rofi.h
index 7a380f69..d2fc047a 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -76,7 +76,8 @@ typedef enum
*
* @returns 1 when it matches, 0 if not.
*/
-typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive, unsigned int index, Switcher *data );
+typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive,
+ unsigned int index, Switcher *data );
/**
* @param sw the Switcher to show.
@@ -96,7 +97,8 @@ typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensi
*/
MenuReturn menu ( Switcher *sw, char **input, char *prompt,
unsigned int *selected_line,
- unsigned int *next_pos, const char *message ) __attribute__ ( ( nonnull ( 1, 2, 3, 4 ) ) );
+ unsigned int *next_pos,
+ const char *message ) __attribute__ ( ( nonnull ( 1, 2, 3, 4 ) ) );
/**
* @param sig The caught signal
*
@@ -272,8 +274,10 @@ struct _Switcher
*/
void ( *init )( struct _Switcher *sw );
char ** ( *get_data )( unsigned int *length, struct _Switcher *pd );
- int ( *match )( char **tokens, const char *input, int case_sensitive, int index, struct _Switcher *data );
- SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, struct _Switcher *pd );
+ int ( *match )( char **tokens, const char *input, int case_sensitive, int index,
+ struct _Switcher *data );
+ SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line,
+ struct _Switcher *pd );
void ( *destroy )( struct _Switcher *pd );
// Token match.
menu_match_cb token_match;