 |
VTK
9.0.3
|
Go to the documentation of this file.
26 #include <AvailabilityMacros.h>
28 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
29 #error VTK requires the Mac OS X 10.7 SDK or later
32 #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
33 #error VTK requires a deployment target of Mac OS X 10.7 or later
36 #if (MAC_OS_X_VERSION_MAX_ALLOWED < 101200) && !defined(VTK_DONT_MAP_10_12_ENUMS)
39 #define NSWindowStyleMask NSUInteger
40 #define NSWindowStyleMaskBorderless NSBorderlessWindowMask
41 #define NSWindowStyleMaskTitled NSTitledWindowMask
42 #define NSWindowStyleMaskClosable NSClosableWindowMask
43 #define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask
44 #define NSWindowStyleMaskResizable NSResizableWindowMask
46 #define NSEventModifierFlagShift NSShiftKeyMask
47 #define NSEventModifierFlagControl NSControlKeyMask
48 #define NSEventModifierFlagOption NSAlternateKeyMask
49 #define NSEventModifierFlagCommand NSCommandKeyMask
51 #define NSEventTypeKeyDown NSKeyDown
52 #define NSEventTypeKeyUp NSKeyUp
53 #define NSEventTypeApplicationDefined NSApplicationDefined
54 #define NSEventTypeFlagsChanged NSFlagsChanged
56 #define NSEventMaskAny NSAnyEventMask
61 #if defined(__OBJC_GC__)
62 #define VTK_OBJC_IS_MRR 0
63 #define VTK_OBJC_IS_ARC 0
64 #define VTK_OBJC_IS_GC 1
65 #elif __has_feature(objc_arc)
66 #define VTK_OBJC_IS_MRR 0
67 #define VTK_OBJC_IS_ARC 1
68 #define VTK_OBJC_IS_GC 0
70 #define VTK_OBJC_IS_MRR 1
71 #define VTK_OBJC_IS_ARC 0
72 #define VTK_OBJC_IS_GC 0
75 #if __has_feature(objc_arc)
76 #error VTK does not yet support ARC memory management