summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-02 22:22:43 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-02 22:22:43 +0000
commitda4dbf742d4689313df16c0468f0aeadb6853872 (patch)
treebb0cdb8355c1e0d9d63fb4643b0ac6b60cd02fe7
parent776f2227f6244003a5bcb20ea77c49427e6af023 (diff)
downloadqemu-da4dbf742d4689313df16c0468f0aeadb6853872.tar.gz
cocoa tiny fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1322 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--cocoa.m4
-rw-r--r--vl.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/cocoa.m b/cocoa.m
index ade7f61d82..38b4760f9b 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -34,9 +34,11 @@
x simple graphical prompt to demo
- better graphical prompt
*/
-#include "vl.h"
+
#import <Cocoa/Cocoa.h>
+#include "vl.h"
+
NSWindow *window = NULL;
NSQuickDrawView *qd_view = NULL;
diff --git a/vl.h b/vl.h
index 3fd7ce9ad1..c8404e10e5 100644
--- a/vl.h
+++ b/vl.h
@@ -572,6 +572,9 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
/* sdl.c */
void sdl_display_init(DisplayState *ds, int full_screen);
+/* cocoa.m */
+void cocoa_display_init(DisplayState *ds, int full_screen);
+
/* ide.c */
#define MAX_DISKS 4