Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/compl.h @ 103:93dcc4e15d4a
[/trunk] Changeset 117 by mikael
* Optimize scr_handle_tab()
* Add /roster command completion (with its parameters)
* Clean up compl.c (debug stuff)
* Update TODO
author | mikael |
---|---|
date | Thu, 21 Apr 2005 19:38:23 +0000 |
parents | f20831f7d349 |
children | 0f7ec11efd06 |
comparison
equal
deleted
inserted
replaced
102:2b4cc6bc5bf2 | 103:93dcc4e15d4a |
---|---|
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 // Not implemented yet | 6 #define COMPL_CMD 1 |
7 #define COMPL_JID 2 // Not implemented yet | 7 #define COMPL_JID 2 // Not implemented yet |
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 // Not implemented yet | 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 | 13 |
13 void compl_add_category_word(guint, const char *command); | 14 void compl_add_category_word(guint, const char *command); |
14 GSList *compl_get_category_list(guint cat_flags); | 15 GSList *compl_get_category_list(guint cat_flags); |
15 | 16 |
16 void new_completion(char *prefix, GSList *compl_cat); | 17 void new_completion(char *prefix, GSList *compl_cat); |