 |
VTK
9.3.0
|
Go to the documentation of this file.
13 #include <AvailabilityMacros.h>
15 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
16 #error VTK requires the Mac OS X 10.7 SDK or later
19 #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
20 #error VTK requires a deployment target of Mac OS X 10.7 or later
26 #if MAC_OS_X_VERSION_MAX_ALLOWED < 101300
27 #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
30 #if (MAC_OS_X_VERSION_MAX_ALLOWED < 101200) && !defined(VTK_DONT_MAP_10_12_ENUMS)
33 #define NSWindowStyleMask NSUInteger
34 #define NSWindowStyleMaskBorderless NSBorderlessWindowMask
35 #define NSWindowStyleMaskTitled NSTitledWindowMask
36 #define NSWindowStyleMaskClosable NSClosableWindowMask
37 #define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask
38 #define NSWindowStyleMaskResizable NSResizableWindowMask
40 #define NSEventModifierFlagShift NSShiftKeyMask
41 #define NSEventModifierFlagControl NSControlKeyMask
42 #define NSEventModifierFlagOption NSAlternateKeyMask
43 #define NSEventModifierFlagCommand NSCommandKeyMask
45 #define NSEventTypeKeyDown NSKeyDown
46 #define NSEventTypeKeyUp NSKeyUp
47 #define NSEventTypeApplicationDefined NSApplicationDefined
48 #define NSEventTypeFlagsChanged NSFlagsChanged
50 #define NSEventMaskAny NSAnyEventMask
55 #if defined(__OBJC_GC__)
56 #define VTK_OBJC_IS_MRR 0
57 #define VTK_OBJC_IS_ARC 0
58 #define VTK_OBJC_IS_GC 1
59 #elif __has_feature(objc_arc)
60 #define VTK_OBJC_IS_MRR 0
61 #define VTK_OBJC_IS_ARC 1
62 #define VTK_OBJC_IS_GC 0
64 #define VTK_OBJC_IS_MRR 1
65 #define VTK_OBJC_IS_ARC 0
66 #define VTK_OBJC_IS_GC 0
69 #if __has_feature(objc_arc)
70 #error VTK does not yet support ARC memory management