1 #import <ObjXMPP/ObjXMPP.h>
5 #import "JubGtkChatUI.h"
6 #import "JubGtkRosterUI.h"
8 void on_roster_window_destroy(GObject *object, gpointer user_data)
13 @implementation JubGtkUI
14 - initWithClient: (JubChatClient*)client;
22 [[OFApplication sharedApplication] getArgumentCount: &argc
23 andArgumentValues: &argv];
27 _rosterUI = [[JubGtkRosterUI alloc]
28 initWithClient: client];
46 [[OFThread threadWithThreadBlock: ^(void){
48 [OFApplication terminate];
56 return [JubGtkChatUI class];
59 - (void)client: (JubChatClient*)client
60 didChangePresence: (XMPPPresence*)presence
62 [_rosterUI client: client
63 didChangePresence: presence];