4 * Core Cocoa-based user interface
6 * Copyright (c) 2008 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 #import <AppKit/AppKit.h>
20 #include <glib/gi18n.h>
22 #ifndef lxdream_cocoaui_H
23 #define lxdream_cocoaui_H
25 #define NS_(x) [NSString stringWithUTF8String: _(x)]
27 NSWindow *cocoa_gui_create_main_window();
28 NSMenu *cocoa_gdrom_menu_new();
29 NSView *video_osx_create_drawable();
31 @interface LxdreamMainWindow : NSWindow
37 - (id)initWithContentRect:(NSRect)contentRect;
38 - (void)setStatusText:(const gchar *)text;
39 - (void)setRunning:(BOOL)isRunning;
41 - (void)setIsGrabbed:(BOOL)grab;
45 #endif /* lxdream_cocoaui_H */
.