]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/cocoa/cocoadisplay.h
Basic OS X support
[libs/gui.git] / source / graphics / cocoa / cocoadisplay.h
1 #ifndef MSP_GRAPHICS_COCOADISPLAY_H_
2 #define MSP_GRAPHICS_COCOADISPLAY_H_
3
4 #include "cocoaevent.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 struct _CocoaDisplay;
11 typedef struct _CocoaDisplay CocoaDisplay;
12
13 CocoaDisplay *create_display();
14 void destroy_display(CocoaDisplay *);
15 void queue_event(CocoaDisplay *, CocoaEvent *);
16 bool get_event(CocoaDisplay *, CocoaEvent *);
17
18 #ifdef __cplusplus
19 }
20 #endif
21
22 #endif