filename | src/cocoaui/cocoaui.h |
changeset | 736:a02d1475ccfd |
prev | 725:4d4018e8eeb8 |
next | 755:ab873907b00e |
author | nkeynes |
date | Mon Jul 14 07:44:42 2008 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Re-indent everything consistently Fix include guards for consistency as well |
file | annotate | diff | log | raw |
1.1 --- a/src/cocoaui/cocoaui.h Sun Jul 06 03:18:55 2008 +00001.2 +++ b/src/cocoaui/cocoaui.h Mon Jul 14 07:44:42 2008 +00001.3 @@ -16,12 +16,16 @@1.4 * GNU General Public License for more details.1.5 */1.7 +#ifndef lxdream_cocoaui_H1.8 +#define lxdream_cocoaui_H1.9 +1.10 #import <AppKit/AppKit.h>1.11 #include <glib/gi18n.h>1.13 -#ifndef lxdream_cocoaui_H1.14 -#define lxdream_cocoaui_H1.15 -1.16 +#ifdef __cplusplus1.17 +extern "C" {1.18 +#endif1.19 +1.20 #define NS_(x) [NSString stringWithUTF8String: _(x)]1.22 NSWindow *cocoa_gui_create_main_window();1.23 @@ -47,4 +51,8 @@1.24 - (id)initWithContentRect:(NSRect)contentRect;1.25 @end1.27 +#ifdef __cplusplus1.28 +}1.29 +#endif1.30 +1.31 #endif /* lxdream_cocoaui_H */1.32 \ No newline at end of file
.