1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #import <Cocoa/Cocoa.h>
30 #import "../ui/window.h"
31 #import <ucx/list.h>
32 #import <ucx/map.h>
33
34 #import "menu.h"
35
36
37
38 @interface UiCocoaWindow : NSWindow {
39 UiObject *uiobj;
40 UcxMap *menus;
41 UcxMap *items;
42 }
43
44 - (UiCocoaWindow*) init: (NSRect)frame object: (UiObject*)obj;
45 - (UiObject*) object;
46 - (
void) setObject:(UiObject*)obj;
47 - (
void) setMenuItems:(UcxList*)menuItems;
48 - (
void) setMenuItemLists:(UcxList*)itemLists;
49 - (UiMenuItem*) getMenuItem:(NSMenuItem*)item;
50 - (
void) updateMenu:(NSMenu*)menu;
51
52 @end
53