Mercurial > ~mikael > mcabber > hg
diff mcabber/src/compl.h @ 94:9a4aa2797f02
[/trunk] Changeset 108 by mikael
* Add completion functions. (Not integrated to the UI yet)
author | mikael |
---|---|
date | Tue, 19 Apr 2005 20:09:54 +0000 |
parents | |
children | 9e6b7897ec37 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mcabber/src/compl.h Tue Apr 19 20:09:54 2005 +0000 @@ -0,0 +1,20 @@ +#ifndef __COMPL_H__ +#define __COMPL_H__ 1 + +#include <glib.h> + +#define COMPL_CMD 1 // Not implemented yet +#define COMPL_JID 2 // Not implemented yet +#define COMPL_URLJID 4 // Not implemented yet +#define COMPL_NAME 8 // Not implemented yet +#define COMPL_STATUS 16 // Not implemented yet +#define COMPL_FILENAME 32 // Not implemented yet + +void compl_add_category_command(guint, char *command); + +void new_completion(char *prefix, GSList *compl_cat); +void done_completion(void); +guint cancel_completion(void); +const char *complete(void); + +#endif /* __COMPL_H__ */