Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/compl.h @ 1756:e2c084204583
Add (optional) suffix after nick completion in Multi-User Chats
New option: 'completion_muc_suffix'
Closes issue #20 in mcabber-crew BTS.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 13 Mar 2010 13:18:07 +0100 |
parents | 41c26b7d2890 |
children | e6d355e50d7a |
line wrap: on
line diff
--- a/mcabber/mcabber/compl.h Sat Mar 13 11:57:32 2010 +0100 +++ b/mcabber/mcabber/compl.h Sat Mar 13 13:18:07 2010 +0100 @@ -33,11 +33,12 @@ void compl_del_category (guint id); #endif -void compl_add_category_word(guint, const char *command); -void compl_del_category_word(guint categ, const char *word); +void compl_add_category_word(guint, const gchar *command); +void compl_del_category_word(guint categ, const gchar *word); GSList *compl_get_category_list(guint cat_flags, guint *dynlist); -guint new_completion(char *prefix, GSList *compl_cat); +guint new_completion(const gchar *prefix, GSList *compl_cat, + const gchar *suffix); void done_completion(void); guint cancel_completion(void); const char *complete(void);