From cdf070c8d76ffc4eaa24e8671756cbbe9ceb2890 Mon Sep 17 00:00:00 2001 From: thomasvl Date: Mon, 14 Apr 2008 17:21:02 +0000 Subject: See the ReleaseNotes for the full details, highlights: - bug fixes - code coverage support - more complete unittests - full support for unittesting UIs - support for the iphone sdk (include ui unittesting) --- Foundation/GTMSystemVersion.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'Foundation/GTMSystemVersion.h') diff --git a/Foundation/GTMSystemVersion.h b/Foundation/GTMSystemVersion.h index c9f9d75..13c3c19 100644 --- a/Foundation/GTMSystemVersion.h +++ b/Foundation/GTMSystemVersion.h @@ -17,29 +17,32 @@ // #import +#import "GTMDefines.h" -/// A class for getting information about what system we are running on +// A class for getting information about what system we are running on @interface GTMSystemVersion : NSObject -/// Returns YES if running on 10.3, NO otherwise. +// Returns the current system version major.minor.bugFix ++ (void)getMajor:(long*)major minor:(long*)minor bugFix:(long*)bugFix; + +#if GTM_MACOS_SDK +// Returns YES if running on 10.3, NO otherwise. + (BOOL)isPanther; -/// Returns YES if running on 10.4, NO otherwise. +// Returns YES if running on 10.4, NO otherwise. + (BOOL)isTiger; -/// Returns YES if running on 10.5, NO otherwise. +// Returns YES if running on 10.5, NO otherwise. + (BOOL)isLeopard; -/// Returns a YES/NO if the system is 10.3 or better +// Returns a YES/NO if the system is 10.3 or better + (BOOL)isPantherOrGreater; -/// Returns a YES/NO if the system is 10.4 or better +// Returns a YES/NO if the system is 10.4 or better + (BOOL)isTigerOrGreater; -/// Returns a YES/NO if the system is 10.5 or better +// Returns a YES/NO if the system is 10.5 or better + (BOOL)isLeopardOrGreater; - -/// Returns the current system version major.minor.bugFix -+ (void)getMajor:(long*)major minor:(long*)minor bugFix:(long*)bugFix; +#endif // GTM_IPHONE_SDK @end -- cgit v1.2.3