Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/compl.h @ 225:d5ae42cbe1fa
[/trunk] Changeset 237 by mikael
* Group names and JIDs completion
author | mikael |
---|---|
date | Sat, 04 Jun 2005 19:35:30 +0000 |
parents | 4ce9ff808baa |
children | 8e30b2bb380e |
comparison
equal
deleted
inserted
replaced
224:3795729cee54 | 225:d5ae42cbe1fa |
---|---|
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 | 5 |
6 #define COMPL_CMD 1 | 6 #define COMPL_CMD 1 |
7 #define COMPL_JID 2 // Not implemented yet | 7 #define COMPL_JID 2 |
8 #define COMPL_URLJID 4 // Not implemented yet | 8 #define COMPL_URLJID 4 // Not implemented yet |
9 #define COMPL_NAME 8 // Not implemented yet | 9 #define COMPL_NAME 8 // Not implemented yet |
10 #define COMPL_STATUS 16 | 10 #define COMPL_STATUS 16 |
11 #define COMPL_FILENAME 32 // Not implemented yet | 11 #define COMPL_FILENAME 32 // Not implemented yet |
12 #define COMPL_ROSTER 64 | 12 #define COMPL_ROSTER 64 |
13 #define COMPL_BUFFER 128 | 13 #define COMPL_BUFFER 128 |
14 #define COMPL_GROUP 256 | 14 #define COMPL_GROUP 256 |
15 #define COMPL_GROUPNAME 512 | |
15 | 16 |
16 void compl_add_category_word(guint, const char *command); | 17 void compl_add_category_word(guint, const char *command); |
17 GSList *compl_get_category_list(guint cat_flags); | 18 GSList *compl_get_category_list(guint cat_flags); |
18 | 19 |
19 void new_completion(char *prefix, GSList *compl_cat); | 20 void new_completion(char *prefix, GSList *compl_cat); |