Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/api.h @ 2042:0cb8ea02e472
Make completion sorting order configurable
* Use allocated plain array for categories
* Use callbacks for dynamic completions (private for now)
* Add compl_set_flags() to allow user to set completion order
* Bump api to 24-24
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sat, 20 Oct 2012 18:29:49 +0300 |
parents | 96c0d8afdbe6 |
children | 998feaa54ef0 |
line wrap: on
line diff
--- a/mcabber/mcabber/api.h Thu Nov 22 00:59:19 2012 +0200 +++ b/mcabber/mcabber/api.h Sat Oct 20 18:29:49 2012 +0300 @@ -4,12 +4,15 @@ #include <glib.h> #include <mcabber/config.h> // For MCABBER_BRANCH -#define MCABBER_API_VERSION 23 -#define MCABBER_API_MIN 21 +#define MCABBER_API_VERSION 24 +#define MCABBER_API_MIN 24 #define MCABBER_BRANCH_DEV 1 +// cmd_add returns gpointer id #define MCABBER_API_HAVE_CMD_ID 1 +// compl_new_category accepts flags argument +#define MCABBER_API_HAVE_COMPL_FLAGS 1 extern const gchar *mcabber_branch; extern const guint mcabber_api_version;