#import <Cocoa/Cocoa.h>
#import "../ui/window.h"
#import <ucx/list.h>
#import <ucx/map.h>
#import "menu.h"
@interface UiCocoaWindow : NSWindow {
UiObject *uiobj;
UcxMap *menus;
UcxMap *items;
}
- (UiCocoaWindow*) init: (NSRect)frame object: (UiObject*)obj;
- (UiObject*) object;
- (void) setObject:(UiObject*)obj;
- (void) setMenuItems:(UcxList*)menuItems;
- (void) setMenuItemLists:(UcxList*)itemLists;
- (UiMenuItem*) getMenuItem:(NSMenuItem*)item;
- (void) updateMenu:(NSMenu*)menu;
@end