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
87c5bf8cfb
commit
38c0c4a580
113 changed files with 884 additions and 641 deletions
|
@ -15,14 +15,15 @@
|
|||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#ifndef __NSDate_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSDate_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#include <Foundation/NSObjCRuntime.h>
|
||||
#import <Foundation/NSObjCRuntime.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
|
@ -43,7 +44,7 @@ typedef double NSTimeInterval;
|
|||
*/
|
||||
GS_EXPORT const NSTimeInterval NSTimeIntervalSince1970;
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
@class NSArray;
|
||||
@class NSCalendarDate;
|
||||
|
@ -106,7 +107,7 @@ GS_EXPORT const NSTimeInterval NSTimeIntervalSince1970;
|
|||
- (BOOL) isEqualToDate: (NSDate*)other;
|
||||
- (NSDate*) laterDate: (NSDate*)otherDate;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
+ (id) dateWithNaturalLanguageString: (NSString*)string;
|
||||
+ (id) dateWithNaturalLanguageString: (NSString*)string
|
||||
locale: (NSDictionary*)locale;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue