]> git.babelmonkeys.de Git - jubjub.git/blob - src/gui/gtk/JubGtkChatUI.h
Add some entries to gitignore
[jubjub.git] / src / gui / gtk / JubGtkChatUI.h
1 #import <ObjFW/ObjFW.h>
2 #import <ObjXMPP/ObjXMPP.h>
3 #include <gtk/gtk.h>
4
5 typedef void (^jub_send_block_t)(OFString *);
6
7 @interface JubGtkChatUI: OFObject
8 {
9         GtkWidget *chat_window;
10         GtkTextBuffer *chat_buffer;
11         jub_send_block_t sendBlock;
12         BOOL bufferEmpty;
13 }
14
15 - initWithTitle: (OFString*)title
16       sendBlock: (jub_send_block_t)sendBlock_;
17
18 - (void)addMessage: (OFString*)text
19             sender: (OFString*)sender;
20 @end