Mercurial > hg
comparison mcabber/src/compl.h @ 238:8e30b2bb380e
[/trunk] Changeset 251 by mikael
* Add /msay command (multi-line messages)
author | mikael |
---|---|
date | Sat, 11 Jun 2005 19:12:25 +0000 |
parents | d5ae42cbe1fa |
children | f879b17ecb8e |
comparison
equal
deleted
inserted
replaced
237:c8df64f43625 | 238:8e30b2bb380e |
---|---|
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<<0) |
7 #define COMPL_JID 2 | 7 #define COMPL_JID (1<<2) |
8 #define COMPL_URLJID 4 // Not implemented yet | 8 #define COMPL_URLJID (1<<3) // Not implemented yet |
9 #define COMPL_NAME 8 // Not implemented yet | 9 #define COMPL_NAME (1<<4) // Not implemented yet |
10 #define COMPL_STATUS 16 | 10 #define COMPL_STATUS (1<<5) |
11 #define COMPL_FILENAME 32 // Not implemented yet | 11 #define COMPL_FILENAME (1<<6) // Not implemented yet |
12 #define COMPL_ROSTER 64 | 12 #define COMPL_ROSTER (1<<7) |
13 #define COMPL_BUFFER 128 | 13 #define COMPL_BUFFER (1<<8) |
14 #define COMPL_GROUP 256 | 14 #define COMPL_GROUP (1<<9) |
15 #define COMPL_GROUPNAME 512 | 15 #define COMPL_GROUPNAME (1<<10) |
16 #define COMPL_MULTILINE (1<<11) | |
16 | 17 |
17 void compl_add_category_word(guint, const char *command); | 18 void compl_add_category_word(guint, const char *command); |
18 GSList *compl_get_category_list(guint cat_flags); | 19 GSList *compl_get_category_list(guint cat_flags); |
19 | 20 |
20 void new_completion(char *prefix, GSList *compl_cat); | 21 void new_completion(char *prefix, GSList *compl_cat); |