/* ** Chat Window Class Header */ #include #include "include/mui.h" #ifndef AMSTER_CHAT_H #define AMSTER_CHAT_H typedef struct channel_struct { struct channel_struct *next; int joinflag; char *name; u_long *win; } *channel, _channel; struct chatdata { _channel chn; u_long *rect,*chantxt,*topicstr; u_long *msglist,*userlist; u_long *msgstr; }; MUIF chat_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg); #define CHAT_COMMAND 0x9001 #define CHAT_JOINACK 0x9010 #define CHAT_PUBLICMSGRECV 0x9011 #define CHAT_JOINMSG 0x9012 #define CHAT_CHANNELTOPIC 0x9013 #define CHAT_USERPART 0x9014 #endif /* AMSTER_CHAT_H */