vvopensource
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
VVSysVersion.h
1 #import <Foundation/Foundation.h>
2 #import <libkern/OSAtomic.h>
3 
4 
5 
6 
8 
11 typedef enum _VVOSVersion {
12  VVOSVersionError=0,
13  //VVJaguar = 0x1020,
14  //VVPanther = 0x1030,
15  VVTiger = 4,
16  VVLeopard = 5,
18  VVLion = 7,
21  VVYosemite = 10
22 } VVOSVersion;
23 
24 
25 extern OSSpinLock _majorSysVersionLock;
26 extern VVOSVersion _majorSysVersion;
27 extern int _minorSysVersion;
28 
29 
30 
31 
33 
36 @interface VVSysVersion : NSObject {
37 
38 }
39 
40 + (NSString *) _strControlEntry:(NSString *)ctlKey;
42 
45 + (VVOSVersion) majorSysVersion;
47 + (int) minorSysVersion;
48 
49 @end
10.4
Definition: VVSysVersion.h:15
10.5
Definition: VVSysVersion.h:16
10.9
Definition: VVSysVersion.h:20
class-based API for quickly determining which version of os x you're using at runtime ...
Definition: VVSysVersion.h:36
10.10
Definition: VVSysVersion.h:21
10.8
Definition: VVSysVersion.h:19
_VVOSVersion
typdef describing the different versions of os x distinguished by this API
Definition: VVSysVersion.h:11
10.6
Definition: VVSysVersion.h:17
10.7
Definition: VVSysVersion.h:18
enum _VVOSVersion VVOSVersion
typdef describing the different versions of os x distinguished by this API