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) 38 #define NSWindowStyleMaskBorderless NSBorderlessWindowMask 39 #define NSWindowStyleMaskTitled NSTitledWindowMask 40 #define NSWindowStyleMaskClosable NSClosableWindowMask 41 #define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask 42 #define NSWindowStyleMaskResizable NSResizableWindowMask 44 #define NSEventModifierFlagShift NSShiftKeyMask 45 #define NSEventModifierFlagControl NSControlKeyMask 46 #define NSEventModifierFlagOption NSAlternateKeyMask 47 #define NSEventModifierFlagCommand NSCommandKeyMask 49 #define NSEventTypeKeyDown NSKeyDown 50 #define NSEventTypeKeyUp NSKeyUp 51 #define NSEventTypeApplicationDefined NSApplicationDefined 52 #define NSEventTypeFlagsChanged NSFlagsChanged 57 #if defined(__OBJC_GC__) 58 #define VTK_OBJC_IS_MRR 0 59 #define VTK_OBJC_IS_ARC 0 60 #define VTK_OBJC_IS_GC 1 61 #elif __has_feature(objc_arc) 62 #define VTK_OBJC_IS_MRR 0 63 #define VTK_OBJC_IS_ARC 1 64 #define VTK_OBJC_IS_GC 0 66 #define VTK_OBJC_IS_MRR 1 67 #define VTK_OBJC_IS_ARC 0 68 #define VTK_OBJC_IS_GC 0 71 #if __has_feature(objc_arc) 72 #error VTK does not yet support ARC memory management