comparison 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
comparison
equal deleted inserted replaced
2041:e8f2db654e67 2042:0cb8ea02e472
2 #define __MCABBER_API_H__ 1 2 #define __MCABBER_API_H__ 1
3 3
4 #include <glib.h> 4 #include <glib.h>
5 #include <mcabber/config.h> // For MCABBER_BRANCH 5 #include <mcabber/config.h> // For MCABBER_BRANCH
6 6
7 #define MCABBER_API_VERSION 23 7 #define MCABBER_API_VERSION 24
8 #define MCABBER_API_MIN 21 8 #define MCABBER_API_MIN 24
9 9
10 #define MCABBER_BRANCH_DEV 1 10 #define MCABBER_BRANCH_DEV 1
11 11
12 // cmd_add returns gpointer id
12 #define MCABBER_API_HAVE_CMD_ID 1 13 #define MCABBER_API_HAVE_CMD_ID 1
14 // compl_new_category accepts flags argument
15 #define MCABBER_API_HAVE_COMPL_FLAGS 1
13 16
14 extern const gchar *mcabber_branch; 17 extern const gchar *mcabber_branch;
15 extern const guint mcabber_api_version; 18 extern const guint mcabber_api_version;
16 19
17 #endif 20 #endif