comparison mcabber/src/compl.h @ 1607:14690e624e9d

Add modules
author Myhailo Danylenko <isbear@ukrpost.net>
date Sun, 11 Oct 2009 16:01:52 +0200
parents 3b338a5c01fc
children
comparison
equal deleted inserted replaced
1606:d7f26538c24c 1607:14690e624e9d
1 #ifndef __COMPL_H__ 1 #ifndef __COMPL_H__
2 #define __COMPL_H__ 1 2 #define __COMPL_H__ 1
3 3
4 #include <glib.h> 4 #include <glib.h>
5
6 #include "config.h"
5 7
6 #define COMPL_CMD (1U<<0) 8 #define COMPL_CMD (1U<<0)
7 #define COMPL_JID (1U<<1) 9 #define COMPL_JID (1U<<1)
8 #define COMPL_URLJID (1U<<2) // Not implemented yet 10 #define COMPL_URLJID (1U<<2) // Not implemented yet
9 #define COMPL_NAME (1U<<3) // Not implemented yet 11 #define COMPL_NAME (1U<<3) // Not implemented yet
22 #define COMPL_EVENTSID (1U<<16) 24 #define COMPL_EVENTSID (1U<<16)
23 #define COMPL_PGP (1U<<17) 25 #define COMPL_PGP (1U<<17)
24 #define COMPL_COLOR (1U<<18) 26 #define COMPL_COLOR (1U<<18)
25 #define COMPL_OTR (1U<<19) 27 #define COMPL_OTR (1U<<19)
26 #define COMPL_OTRPOLICY (1U<<20) 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
27 35
28 void compl_add_category_word(guint, const char *command); 36 void compl_add_category_word(guint, const char *command);
29 void compl_del_category_word(guint categ, const char *word); 37 void compl_del_category_word(guint categ, const char *word);
30 GSList *compl_get_category_list(guint cat_flags, guint *dynlist); 38 GSList *compl_get_category_list(guint cat_flags, guint *dynlist);
31 39