ui/cocoa/toolkit.h

changeset 868
be3df094f8db
parent 864
d39301e8f962
equal deleted inserted replaced
867:83bb0dd7123f 868:be3df094f8db
29 29
30 #include "../ui/toolkit.h" 30 #include "../ui/toolkit.h"
31 #include "../common/context.h" 31 #include "../common/context.h"
32 #include "../common/object.h" 32 #include "../common/object.h"
33 33
34 @interface UiAppCallback : NSObject { 34 @interface UiAppCallback : NSObject
35 ui_threadfunc callback; 35
36 void *userdata; 36 @property ui_threadfunc callback;
37 } 37 @property void *userdata;
38 38
39 - (id) initWithCallback:(ui_threadfunc)func userdata:(void*)userdata; 39 - (id) initWithCallback:(ui_threadfunc)func userdata:(void*)userdata;
40 40
41 - (void) callMainThread; 41 - (void) callMainThread;
42 42

mercurial