comparison mcabber/mcabber/compl.h @ 1668:41c26b7d2890

Install mcabber headers * Change mcabber headers naming scheme * Move 'src/' -> 'mcabber/' * Add missing include <mcabber/config.h>'s * Create and install clean config.h version in 'include/' * Move "dirty" config.h version to 'mcabber/' * Add $(top_srcdir) to compiler include path * Update modules HOWTO
author Myhailo Danylenko <isbear@ukrpost.net>
date Mon, 18 Jan 2010 15:36:19 +0200
parents mcabber/src/compl.h@14690e624e9d
children e2c084204583
comparison
equal deleted inserted replaced
1667:8af0e0ad20ad 1668:41c26b7d2890
1 #ifndef __MCABBER_COMPL_H__
2 #define __MCABBER_COMPL_H__ 1
3
4 #include <glib.h>
5
6 #include <mcabber/config.h>
7
8 #define COMPL_CMD (1U<<0)
9 #define COMPL_JID (1U<<1)
10 #define COMPL_URLJID (1U<<2) // Not implemented yet
11 #define COMPL_NAME (1U<<3) // Not implemented yet
12 #define COMPL_STATUS (1U<<4)
13 #define COMPL_FILENAME (1U<<5) // Not implemented yet
14 #define COMPL_ROSTER (1U<<6)
15 #define COMPL_BUFFER (1U<<7)
16 #define COMPL_GROUP (1U<<8)
17 #define COMPL_GROUPNAME (1U<<9)
18 #define COMPL_MULTILINE (1U<<10)
19 #define COMPL_ROOM (1U<<11)
20 #define COMPL_RESOURCE (1U<<12)
21 #define COMPL_AUTH (1U<<13)
22 #define COMPL_REQUEST (1U<<14)
23 #define COMPL_EVENTS (1U<<15)
24 #define COMPL_EVENTSID (1U<<16)
25 #define COMPL_PGP (1U<<17)
26 #define COMPL_COLOR (1U<<18)
27 #define COMPL_OTR (1U<<19)
28 #define COMPL_OTRPOLICY (1U<<20)
29 #ifdef MODULES_ENABLE
30 #define COMPL_MAX_BUILTIN (1U<<20)
31
32 guint compl_new_category (void);
33 void compl_del_category (guint id);
34 #endif
35
36 void compl_add_category_word(guint, const char *command);
37 void compl_del_category_word(guint categ, const char *word);
38 GSList *compl_get_category_list(guint cat_flags, guint *dynlist);
39
40 guint new_completion(char *prefix, GSList *compl_cat);
41 void done_completion(void);
42 guint cancel_completion(void);
43 const char *complete(void);
44
45 #endif /* __MCABBER_COMPL_H__ */
46
47 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */