2000-08-26 15:39:44 +00:00
|
|
|
/* WI_ITEM_REC definition, used for inheritance */
|
|
|
|
|
|
2000-09-01 00:26:46 +00:00
|
|
|
int type; /* module_get_uniq_id("CHANNEL/QUERY/xxx", 0) */
|
|
|
|
|
int chat_type; /* chat_protocol_lookup(xx) */
|
2000-08-26 15:39:44 +00:00
|
|
|
GHashTable *module_data;
|
|
|
|
|
|
2001-01-01 07:45:54 +00:00
|
|
|
void *window;
|
2000-08-26 15:39:44 +00:00
|
|
|
STRUCT_SERVER_REC *server;
|
2002-05-16 00:34:37 +00:00
|
|
|
char *visible_name;
|
2014-06-08 02:18:57 +02:00
|
|
|
char *name;
|
2000-08-26 15:39:44 +00:00
|
|
|
time_t createtime;
|
2001-01-09 21:06:45 +00:00
|
|
|
int data_level;
|
2001-03-17 01:52:43 +00:00
|
|
|
char *hilight_color;
|
2000-08-26 15:39:44 +00:00
|
|
|
|
2001-07-26 01:49:08 +00:00
|
|
|
void (*destroy)(WI_ITEM_REC *item);
|
|
|
|
|
|
2002-05-16 00:34:37 +00:00
|
|
|
const char *(*get_target)(WI_ITEM_REC *item);
|
|
|
|
|
#define window_item_get_target(item) \
|
|
|
|
|
((item)->get_target(item))
|
|
|
|
|
|
2000-08-26 15:39:44 +00:00
|
|
|
#undef STRUCT_SERVER_REC
|