Search
lxdream.org :: lxdream/src/cocoaui/cocoaui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoaui.h
changeset 736:a02d1475ccfd
prev725:4d4018e8eeb8
next755:ab873907b00e
author nkeynes
date Mon Jul 14 07:44:42 2008 +0000 (13 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 +0000
1.2 +++ b/src/cocoaui/cocoaui.h Mon Jul 14 07:44:42 2008 +0000
1.3 @@ -16,12 +16,16 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 +#ifndef lxdream_cocoaui_H
1.8 +#define lxdream_cocoaui_H
1.9 +
1.10 #import <AppKit/AppKit.h>
1.11 #include <glib/gi18n.h>
1.12
1.13 -#ifndef lxdream_cocoaui_H
1.14 -#define lxdream_cocoaui_H
1.15 -
1.16 +#ifdef __cplusplus
1.17 +extern "C" {
1.18 +#endif
1.19 +
1.20 #define NS_(x) [NSString stringWithUTF8String: _(x)]
1.21
1.22 NSWindow *cocoa_gui_create_main_window();
1.23 @@ -47,4 +51,8 @@
1.24 - (id)initWithContentRect:(NSRect)contentRect;
1.25 @end
1.26
1.27 +#ifdef __cplusplus
1.28 +}
1.29 +#endif
1.30 +
1.31 #endif /* lxdream_cocoaui_H */
1.32 \ No newline at end of file
.