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