Patch by Julian Mayer.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33941 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-10-04 13:30:53 +00:00
parent 0d87be5aa0
commit 8cdec64b84
5 changed files with 40 additions and 3 deletions

View file

@ -1,7 +1,15 @@
2011-10-04 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSApplication.h,
* Headers/AppKit/NSPasteboard.h,
* Headers/AppKit/NSInterfaceStyle.h,
* Headers/AppKit/NSGraphics.h: Bracket in 'extern "C"' for C++.
Patch by Julian Mayer <julian@corecode.at>.
2011-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSPanel.h: Bracket in 'extern "C"' for C++
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-initWithCoder:): Don't decode super view.

View file

@ -41,6 +41,10 @@
#import <AppKit/NSResponder.h>
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray;
@class NSAutoreleasePool;
@class NSDate;
@ -685,4 +689,8 @@ NSShowSystemInfoPanel(NSDictionary *options);
*/
APPKIT_EXPORT NSApplication *NSApp;
#if defined(__cplusplus)
}
#endif
#endif // _GNUstep_H_NSApplication

View file

@ -35,6 +35,10 @@
#import <AppKit/NSGraphicsContext.h>
#import <AppKit/AppKitDefines.h>
#if defined(__cplusplus)
extern "C" {
#endif
@class NSString;
@class NSColor;
@class NSGraphicsContext;
@ -264,4 +268,8 @@ typedef enum _NSFocusRingPlacement
void NSSetFocusRingStyle(NSFocusRingPlacement placement);
#endif
#if defined(__cplusplus)
}
#endif
#endif /* __NSGraphics_h__ */

View file

@ -29,6 +29,10 @@
#define _GNUstep_H_NSInterfaceStyle
#import <GNUstepBase/GSVersionMacros.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <AppKit/AppKitDefines.h>
@ -61,6 +65,8 @@ NSInterfaceStyleForKey(NSString *key, NSResponder *responder);
#endif // GS_API_MACOSX
#if defined(__cplusplus)
}
#endif
#endif // _GNUstep_H_NSInterfaceStyle

View file

@ -35,6 +35,10 @@
#import <Foundation/NSObject.h>
#import <AppKit/AppKitDefines.h>
#if defined(__cplusplus)
extern "C" {
#endif
@class NSString;
@class NSArray;
@class NSData;
@ -300,5 +304,8 @@ APPKIT_EXPORT NSString *NSCreateFilenamePboardType(NSString *fileType);
APPKIT_EXPORT NSString *NSGetFileType(NSString *pboardType);
APPKIT_EXPORT NSArray *NSGetFileTypes(NSArray *pboardTypes);
#if defined(__cplusplus)
}
#endif
#endif // _GNUstep_H_NSPasteboard