Mercurial > hg
annotate mcabber/src/compl.h @ 447:03bb57383cea
Initial Multi-User Chat support
This patch adds basic MUC support. We now can:
- join an existing room;
- create and unlock a room using the /rawxml command;
- set our nickname;
- send/receive chatgroup messages;
- see the members of the room;
- leave the room.
Chatroom logging is currently disabled, as it could do some unexpected things.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 25 Sep 2005 01:01:44 +0200 |
parents | f879b17ecb8e |
children | 7c1ca00070e8 |
rev | line source |
---|---|
94 | 1 #ifndef __COMPL_H__ |
2 #define __COMPL_H__ 1 | |
3 | |
4 #include <glib.h> | |
5 | |
238 | 6 #define COMPL_CMD (1<<0) |
7 #define COMPL_JID (1<<2) | |
8 #define COMPL_URLJID (1<<3) // Not implemented yet | |
9 #define COMPL_NAME (1<<4) // Not implemented yet | |
10 #define COMPL_STATUS (1<<5) | |
11 #define COMPL_FILENAME (1<<6) // Not implemented yet | |
12 #define COMPL_ROSTER (1<<7) | |
13 #define COMPL_BUFFER (1<<8) | |
14 #define COMPL_GROUP (1<<9) | |
15 #define COMPL_GROUPNAME (1<<10) | |
16 #define COMPL_MULTILINE (1<<11) | |
447
03bb57383cea
Initial Multi-User Chat support
Mikael Berthe <mikael@lilotux.net>
parents:
284
diff
changeset
|
17 #define COMPL_ROOM (1<<12) |
94 | 18 |
98 | 19 void compl_add_category_word(guint, const char *command); |
284
f879b17ecb8e
Add compl_del_category_word()
Mikael Berthe <mikael@lilotux.net>
parents:
238
diff
changeset
|
20 void compl_del_category_word(guint categ, const char *word); |
98 | 21 GSList *compl_get_category_list(guint cat_flags); |
94 | 22 |
98 | 23 void new_completion(char *prefix, GSList *compl_cat); |
24 void done_completion(void); | |
25 guint cancel_completion(void); | |
94 | 26 const char *complete(void); |
27 | |
28 #endif /* __COMPL_H__ */ |