]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/gui/common/JubChatUI.h
Move chat window creation to JubChatClient
[jubjub.git] / src / gui / common / JubChatUI.h
1 @class OFString;
2
3 typedef void (^jub_send_block_t)(OFString *);
4 typedef void (^jub_close_block_t)(void);
5
6 @protocol JubChatUI
7 - initWithTitle: (OFString*)title
8      closeBlock: (jub_close_block_t)closeBlock
9       sendBlock: (jub_send_block_t)sendBlock;
10
11 - (void)addMessage: (OFString*)text
12             sender: (OFString*)sender;
13 @end