PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/.attic/sshfs-gui/GoogleShared_SystemVersion.h

http://macfuse.googlecode.com/
C++ Header | 34 lines | 10 code | 9 blank | 15 comment | 0 complexity | 065054c7c086aa9d1f5ff5152790acfc MD5 | raw file
 1//
 2//  GoogleShared_SystemVersion.h
 3//  SharedTest
 4//
 5//  Created by Dave MacLachlan on 04/18/07.
 6//  Copyright 2007 Google, Inc. All rights reserved.
 7//
 8
 9#import <Foundation/Foundation.h>
10
11/// A class for getting information about what system we are running on
12@interface GoogleShared_SystemVersion : NSObject
13
14/// Returns YES if running on 10.3, NO otherwise.
15+ (BOOL)isPanther;
16
17/// Returns YES if running on 10.4, NO otherwise.
18+ (BOOL)isTiger;
19
20/// Returns YES if running on 10.5, NO otherwise.
21+ (BOOL)isLeopard;
22
23/// Returns a YES/NO if the system is 10.3 or better
24+ (BOOL)isPantherOrGreater;
25
26/// Returns a YES/NO if the system is 10.4 or better
27+ (BOOL)isTigerOrGreater;
28
29/// Returns a YES/NO if the system is 10.5 or better
30+ (BOOL)isLeopardOrGreater;
31
32/// Returns the current system version major.minor.bugFix
33+ (void)getMajor:(long*)major minor:(long*)minor bugFix:(long*)bugFix;
34@end