mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
39944dd5e9
commit
57a828c7c7
113 changed files with 884 additions and 641 deletions
|
@ -45,18 +45,21 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef _NSAttributedString_H
|
||||
#define _NSAttributedString_H
|
||||
#ifndef __NSAttributedString_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSAttributedString_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSCoder.h>
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSCoder.h>
|
||||
|
||||
@interface NSAttributedString : NSObject <NSCoding, NSCopying, NSMutableCopying>
|
||||
{
|
||||
|
@ -125,7 +128,7 @@ extern "C" {
|
|||
|
||||
@end //NSMutableAttributedString
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
@interface NSAttributedString (GSCategories)
|
||||
/**
|
||||
* Dep[recated synonym for attributedSubstringFromRange:
|
||||
|
@ -135,11 +138,11 @@ extern "C" {
|
|||
@end
|
||||
#endif
|
||||
|
||||
#endif //STRICT_OPENSTEP
|
||||
#endif /* GS_API_MACOSX */
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //NSAttributedString_H
|
||||
#endif /* __NSAttributedString_h_GNUSTEP_BASE_INCLUDE */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue