comparison 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
comparison
equal deleted inserted replaced
93:b3618cb3bf65 94:9a4aa2797f02
1 #ifndef __COMPL_H__
2 #define __COMPL_H__ 1
3
4 #include <glib.h>
5
6 #define COMPL_CMD 1 // Not implemented yet
7 #define COMPL_JID 2 // Not implemented yet
8 #define COMPL_URLJID 4 // Not implemented yet
9 #define COMPL_NAME 8 // Not implemented yet
10 #define COMPL_STATUS 16 // Not implemented yet
11 #define COMPL_FILENAME 32 // Not implemented yet
12
13 void compl_add_category_command(guint, char *command);
14
15 void new_completion(char *prefix, GSList *compl_cat);
16 void done_completion(void);
17 guint cancel_completion(void);
18 const char *complete(void);
19
20 #endif /* __COMPL_H__ */