this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Initial modular build commit

This new build setup allows you to only build and install certain
components of Darling according to your needs. The primary motivation
for this change is to allow you to build Darling without any GUI
dependencies if you only care about or need the CLI.

JavaScriptCore is now excluded by default. This is a huge build item
that 99% of people don't need and we certainly don't use (yet).

There will be an update to the docs to describe the component options.

authored by

Ariel Abreu and committed by
Thomas A
1ad855c8 8974de27

+9238 -334
+4 -2
CMakeLists.txt
··· 101 101 102 102 enable_language(ASM-ATT) 103 103 104 - option(FULL_BUILD "Include large items in the build" ON) 105 104 option(TARGET_i386 "Enable i386 slices" ON) 106 105 option(TARGET_x86_64 "Enable x86_64 slices" ON) 107 106 option(DEBIAN_PACKAGING "Packaging for Debian" OFF) 108 107 option(ENABLE_TESTS "Install in-prefix unit tests" OFF) 109 108 option(REGENERATE_SDK "Regenerate Header Files For Open Source SDK" OFF) 110 - option(ADDITIONAL_PACKAGES "Include additional pacakges not included by default in a standard macOS installation" OFF) 109 + 110 + set(COMPONENTS "stock" CACHE STRING "Choose which components of Darling to build") 111 + include(darling_parse_components) 112 + darling_parse_components("${COMPONENTS}") 111 113 112 114 set(COMPILE_PY2_BYTECODE AUTO CACHE STRING "Pre-compile bytecode for Python 2 packages") 113 115 set_property(CACHE COMPILE_PY2_BYTECODE PROPERTY STRINGS AUTO ON OFF)
+20 -13
cmake/darling_framework.cmake
··· 7 7 FULL_DOCS "Used to make reexporting child frameworks less painful.") 8 8 9 9 function(add_framework name) 10 - cmake_parse_arguments(FRAMEWORK "CURRENT_VERSION;FAT;PRIVATE;IOSSUPPORT;CIRCULAR" "VERSION;LINK_FLAGS;PARENT;PARENT_VERSION" 10 + cmake_parse_arguments(FRAMEWORK "CURRENT_VERSION;FAT;PRIVATE;IOSSUPPORT;CIRCULAR;NO_INSTALL" "VERSION;LINK_FLAGS;PARENT;PARENT_VERSION;TARGET_NAME" 11 11 "SOURCES;DEPENDENCIES;CIRCULAR_DEPENDENCIES;RESOURCES;UPWARD_DEPENDENCIES;OBJECTS;STRONG_DEPENDENCIES" ${ARGN}) 12 - if (FRAMEWORK_CURRENT_VERSION) 12 + 13 + if (DEFINED FRAMEWORK_TARGET_NAME) 14 + set(my_name "${FRAMEWORK_TARGET_NAME}") 15 + elseif (FRAMEWORK_CURRENT_VERSION) 13 16 set(my_name "${name}") 14 - else (FRAMEWORK_CURRENT_VERSION) 17 + else() 15 18 set(my_name "${name}_${FRAMEWORK_VERSION}") 16 - endif (FRAMEWORK_CURRENT_VERSION) 19 + endif() 17 20 18 21 if (FRAMEWORK_PRIVATE) 19 22 set(dir_name "PrivateFrameworks") ··· 32 35 # 99% of the time it's version A 33 36 set(FRAMEWORK_PARENT_VERSION "A") 34 37 endif(NOT DEFINED FRAMEWORK_PARENT_VERSION) 35 - InstallSymlink(Versions/Current/Frameworks 36 - "${CMAKE_INSTALL_PREFIX}/libexec/darling/${sys_library_dir}/${dir_name}/${FRAMEWORK_PARENT}.framework/Frameworks") 38 + if (NOT FRAMEWORK_NO_INSTALL) 39 + InstallSymlink(Versions/Current/Frameworks 40 + "${CMAKE_INSTALL_PREFIX}/libexec/darling/${sys_library_dir}/${dir_name}/${FRAMEWORK_PARENT}.framework/Frameworks") 41 + endif() 37 42 set(dir_name "${dir_name}/${FRAMEWORK_PARENT}.framework/Versions/${FRAMEWORK_PARENT_VERSION}/Frameworks") 38 43 endif(DEFINED FRAMEWORK_PARENT) 39 44 ··· 66 71 67 72 set_property(TARGET ${my_name} PROPERTY DYLIB_INSTALL_NAME ${DYLIB_INSTALL_NAME}) 68 73 69 - if (FRAMEWORK_CURRENT_VERSION) 74 + if (FRAMEWORK_CURRENT_VERSION AND NOT DEFINED FRAMEWORK_TARGET_NAME) 70 75 add_library("${name}_${FRAMEWORK_VERSION}" ALIAS "${name}") 71 - endif (FRAMEWORK_CURRENT_VERSION) 76 + endif() 72 77 73 78 set_target_properties(${my_name} PROPERTIES 74 79 OUTPUT_NAME "${name}" ··· 83 88 set_property(TARGET ${my_name} APPEND_STRING PROPERTY LINK_FLAGS " ${FRAMEWORK_LINK_FLAGS}") 84 89 endif (FRAMEWORK_LINK_FLAGS) 85 90 86 - install(TARGETS ${my_name} DESTINATION "libexec/darling/${sys_library_dir}/${dir_name}/${name}.framework/Versions/${FRAMEWORK_VERSION}/") 91 + if (NOT FRAMEWORK_NO_INSTALL) 92 + install(TARGETS ${my_name} DESTINATION "libexec/darling/${sys_library_dir}/${dir_name}/${name}.framework/Versions/${FRAMEWORK_VERSION}/") 93 + endif() 87 94 88 - if (FRAMEWORK_RESOURCES) 95 + if (FRAMEWORK_RESOURCES AND NOT FRAMEWORK_NO_INSTALL) 89 96 if (FRAMEWORK_CURRENT_VERSION) 90 97 InstallSymlink("Versions/Current/Resources" "${CMAKE_INSTALL_PREFIX}/libexec/darling/${sys_library_dir}/${dir_name}/${name}.framework/Resources") 91 98 endif (FRAMEWORK_CURRENT_VERSION) ··· 99 106 RENAME ${res_install_name}) 100 107 list(REMOVE_AT FRAMEWORK_RESOURCES 0 1) 101 108 endwhile (FRAMEWORK_RESOURCES) 102 - endif (FRAMEWORK_RESOURCES) 109 + endif() 103 110 104 - if (FRAMEWORK_CURRENT_VERSION) 111 + if (FRAMEWORK_CURRENT_VERSION AND NOT FRAMEWORK_NO_INSTALL) 105 112 InstallSymlink(${FRAMEWORK_VERSION} "${CMAKE_INSTALL_PREFIX}/libexec/darling/${sys_library_dir}/${dir_name}/${name}.framework/Versions/Current") 106 113 InstallSymlink("Versions/Current/${name}" "${CMAKE_INSTALL_PREFIX}/libexec/darling/${sys_library_dir}/${dir_name}/${name}.framework/${name}") 107 - endif (FRAMEWORK_CURRENT_VERSION) 114 + endif() 108 115 endfunction(add_framework) 109 116 110 117 function(add_separated_framework name)
+87
cmake/darling_parse_components.cmake
··· 1 + # 2 + # Takes a single component and returns all its dependencies in `COMPONENT_DEPS` 3 + # 4 + function(darling_parse_components_get_deps COMPONENT) 5 + if (("${COMPONENT}" STREQUAL "system") OR ("${COMPONENT}" STREQUAL "python") OR ("${COMPONENT}" STREQUAL "ruby") OR ("${COMPONENT}" STREQUAL "perl")) 6 + set(COMPONENT_DEPS core PARENT_SCOPE) 7 + elseif ("${COMPONENT}" STREQUAL "cli") 8 + set(COMPONENT_DEPS system PARENT_SCOPE) 9 + elseif ("${COMPONENT}" STREQUAL "cli_dev") 10 + set(COMPONENT_DEPS cli python ruby perl dev_gui_common dev_gui_frameworks_common dev_gui_stubs_common PARENT_SCOPE) 11 + elseif ("${COMPONENT}" STREQUAL "cli_extra") 12 + set(COMPONENT_DEPS cli PARENT_SCOPE) 13 + elseif ("${COMPONENT}" STREQUAL "gui") 14 + set(COMPONENT_DEPS system dev_gui_common iokitd PARENT_SCOPE) 15 + elseif ("${COMPONENT}" STREQUAL "gui_frameworks") 16 + set(COMPONENT_DEPS gui dev_gui_frameworks_common PARENT_SCOPE) 17 + elseif ("${COMPONENT}" STREQUAL "gui_stubs") 18 + set(COMPONENT_DEPS gui dev_gui_stubs_common PARENT_SCOPE) 19 + elseif ("${COMPONENT}" STREQUAL "dev_gui_common") 20 + set(COMPONENT_DEPS system PARENT_SCOPE) 21 + elseif (("${COMPONENT}" STREQUAL "dev_gui_frameworks_common") OR ("${COMPONENT}" STREQUAL "dev_gui_stubs_common")) 22 + set(COMPONENT_DEPS dev_gui_common PARENT_SCOPE) 23 + elseif ("${COMPONENT}" STREQUAL "jsc") 24 + set(COMPONENT_DEPS system PARENT_SCOPE) 25 + elseif ("${COMPONENT}" STREQUAL "webkit") 26 + set(COMPONENT_DEPS dev_gui_frameworks_common dev_gui_stubs_common PARENT_SCOPE) 27 + elseif ("${COMPONENT}" STREQUAL "iokitd") 28 + set(COMPONENT_DEPS system PARENT_SCOPE) 29 + elseif ("${COMPONENT}" STREQUAL "stock") 30 + set(COMPONENT_DEPS cli python ruby perl dev_gui_common dev_gui_frameworks_common dev_gui_stubs_common gui_frameworks gui_stubs PARENT_SCOPE) 31 + elseif ("${COMPONENT}" STREQUAL "all") 32 + set(COMPONENT_DEPS stock jsc webkit cli_extra cli_dev_gui_stubs PARENT_SCOPE) 33 + endif() 34 + endfunction() 35 + 36 + function(darling_parse_components DARLING_RAW_COMPONENTS) 37 + string(REPLACE "," ";" RAW_COMPONENTS_LIST "${DARLING_RAW_COMPONENTS}") 38 + 39 + set(COMPONENTS_TO_PROCESS "") 40 + 41 + foreach(RAW_COMPONENT IN LISTS RAW_COMPONENTS_LIST) 42 + string(STRIP "${RAW_COMPONENT}" STRIPPED_COMPONENT) 43 + string(TOLOWER "${STRIPPED_COMPONENT}" COMPONENT) 44 + 45 + list(APPEND COMPONENTS_TO_PROCESS "${COMPONENT}") 46 + endforeach() 47 + 48 + list(REMOVE_DUPLICATES COMPONENTS_TO_PROCESS) 49 + 50 + set(COMPONENTS_LIST "") 51 + 52 + # iterate through the list and add each component along with its dependencies. 53 + # this also handles circular dependencies between components (in case we ever have such dependency situations arise). 54 + while (COMPONENTS_TO_PROCESS) 55 + # get the next component and remove it from the list to process 56 + list(GET COMPONENTS_TO_PROCESS 0 COMPONENT) 57 + list(REMOVE_AT COMPONENTS_TO_PROCESS 0) 58 + 59 + # add it to the list of processed components 60 + list(APPEND COMPONENTS_LIST "${COMPONENT}") 61 + list(REMOVE_DUPLICATES COMPONENTS_LIST) 62 + 63 + # get its dependencies (into `COMPONENT_DEPS`) 64 + darling_parse_components_get_deps("${COMPONENT}") 65 + 66 + # add them to the list of components to process 67 + list(APPEND COMPONENTS_TO_PROCESS ${COMPONENT_DEPS}) 68 + list(REMOVE_DUPLICATES COMPONENTS_TO_PROCESS) 69 + 70 + # remove components that we've already processed 71 + list(REMOVE_ITEM COMPONENTS_TO_PROCESS ${COMPONENTS_LIST}) 72 + endwhile() 73 + 74 + # the "core" component is always on 75 + set(COMPONENT_core ON PARENT_SCOPE) 76 + 77 + # first, set every component off 78 + foreach(COMPONENT IN ITEMS system python ruby perl cli cli_dev cli_extra gui gui_frameworks gui_stubs jsc webkit dev_gui_common dev_gui_frameworks_common dev_gui_stubs_common) 79 + set("COMPONENT_${COMPONENT}" OFF PARENT_SCOPE) 80 + endforeach() 81 + 82 + # now turn on each component that was requested 83 + foreach(COMPONENT IN LISTS COMPONENTS_LIST) 84 + message(NOTICE "Including component: ${COMPONENT}") 85 + set("COMPONENT_${COMPONENT}" ON PARENT_SCOPE) 86 + endforeach() 87 + endfunction()
+13 -5
cmake/use_ld64.cmake
··· 2 2 set_property(TARGET ${target} APPEND_STRING PROPERTY 3 3 LINK_FLAGS " -fuse-ld=${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/ld64/src/${APPLE_TARGET_TRIPLET_PRIMARY}-ld ") 4 4 5 + if (COMPONENT_gui) 6 + set(COCOTRON_FW_PATH "${CMAKE_BINARY_DIR}/src/external/cocotron") 7 + set(IMAGE_IO_PATH "${CMAKE_BINARY_DIR}/src/frameworks/ImageIO/ImageIO") 8 + else() 9 + set(COCOTRON_FW_PATH "${CMAKE_BINARY_DIR}/src/frameworks/dev-stubs") 10 + set(IMAGE_IO_PATH "${CMAKE_BINARY_DIR}/src/frameworks/dev-stubs/ImageIO/ImageIO") 11 + endif() 12 + 5 13 set_property(TARGET ${target} APPEND_STRING PROPERTY 6 14 LINK_FLAGS " -B ${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/ld64/src/ \ 7 15 -B ${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/misc/ \ ··· 112 120 :${CMAKE_BINARY_DIR}/src/frameworks/ApplicationServices/SpeechSynthesis/SpeechSynthesis \ 113 121 -Wl,-dylib_file,/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices:${CMAKE_BINARY_DIR}/src/frameworks/CoreServices/CoreServices \ 114 122 -Wl,-dylib_file,/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices:${CMAKE_BINARY_DIR}/src/frameworks/ApplicationServices/ApplicationServices \ 115 - -Wl,-dylib_file,/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics:${CMAKE_BINARY_DIR}/src/external/cocotron/CoreGraphics/CoreGraphics \ 116 - -Wl,-dylib_file,/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText:${CMAKE_BINARY_DIR}/src/external/cocotron/CoreText/CoreText \ 117 - -Wl,-dylib_file,/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO:${CMAKE_BINARY_DIR}/src/frameworks/ImageIO/ImageIO \ 123 + -Wl,-dylib_file,/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics:${COCOTRON_FW_PATH}/CoreGraphics/CoreGraphics \ 124 + -Wl,-dylib_file,/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText:${COCOTRON_FW_PATH}/CoreText/CoreText \ 125 + -Wl,-dylib_file,/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO:${IMAGE_IO_PATH} \ 118 126 -Wl,-dylib_file,/System/Library/Frameworks/LocalAuthentication.framework/Versions/A/LocalAuthentication:${CMAKE_BINARY_DIR}/src/frameworks/LocalAuthentication/LocalAuthentication \ 119 127 -Wl,-dylib_file,/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo:${CMAKE_BINARY_DIR}/src/frameworks/CoreVideo/CoreVideo \ 120 128 -Wl,-dylib_file,/System/Library/PrivateFrameworks/FMDB.framework/Versions/A/FMDB:${CMAKE_BINARY_DIR}/src/external/fmdb/FMDB \ ··· 141 149 -Wl,-dylib_file,/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print:${CMAKE_BINARY_DIR}/src/frameworks/Carbon/Print/Print \ 142 150 -Wl,-dylib_file,/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI:${CMAKE_BINARY_DIR}/src/frameworks/Carbon/SecurityHI/SecurityHI \ 143 151 -Wl,-dylib_file,/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition:${CMAKE_BINARY_DIR}/src/frameworks/Carbon/SpeechRecognition/SpeechRecognition \ 144 - -Wl,-dylib_file,/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData:${CMAKE_BINARY_DIR}/src/external/cocotron/CoreData/CoreData \ 145 - -Wl,-dylib_file,/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore:${CMAKE_BINARY_DIR}/src/external/cocotron/QuartzCore/QuartzCore \ 152 + -Wl,-dylib_file,/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData:${COCOTRON_FW_PATH}/CoreData/CoreData \ 153 + -Wl,-dylib_file,/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore:${COCOTRON_FW_PATH}/QuartzCore/QuartzCore \ 146 154 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL:${CMAKE_BINARY_DIR}/src/frameworks/OpenGL/OpenGL \ 147 155 -Wl,-dylib_file,/System/Library/PrivateFrameworks/Onyx2D.framework/Versions/A/Onyx2D:${CMAKE_BINARY_DIR}/src/external/cocotron/Onyx2D/Onyx2D \ 148 156 -Wl,-dylib_file,/usr/lib/darling/libelfloader.dylib:${CMAKE_BINARY_DIR}/src/libelfloader/libelfloader.dylib \
+251 -158
src/CMakeLists.txt
··· 9 9 include(mig) 10 10 include(pyc) 11 11 12 + # 13 + # start core components 14 + # 15 + # projects included here are strictly necessary for basic executables to function at all. 16 + # it should be very clear which projects belong here. a project should only be here if it 17 + # is one of the following or is necessary for one of the following: 18 + # * darlingserver 19 + # * dyld 20 + # * mldr 21 + # * libSystem 22 + # * the host-side `darling` executable 23 + # this includes any build tools that are necessary to build any of those projects. 24 + # 25 + # these projects are always built 26 + # 27 + 12 28 #add_subdirectory(external/xcbuild) 13 29 add_subdirectory(bsdln) 14 30 ··· 89 105 add_definitions(-target ${APPLE_TARGET_TRIPLET_PRIMARY}) 90 106 include(darling_lib) 91 107 include(darling_static_lib) 108 + include(darling_bundle) 92 109 93 110 file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${DARLING_SDK_RELATIVE_PATH}/usr/include) 94 111 ··· 135 152 ) 136 153 137 154 add_definitions(-D_LIBC_NO_FEATURE_VERIFICATION) 138 - add_subdirectory(external/darling-dmg) 155 + 156 + add_subdirectory(launchd) 139 157 add_subdirectory(libm) 140 - add_subdirectory(libMobileGestalt) 158 + add_subdirectory(external/dyld) 159 + add_subdirectory(external/libxpc) 141 160 add_subdirectory(libgcc) 142 161 add_subdirectory(external/copyfile) 143 162 add_subdirectory(external/Libinfo) 144 - add_subdirectory(quarantine) 145 - add_subdirectory(external/libmalloc) 163 + add_subdirectory(external/compiler-rt/lib/builtins) 164 + add_subdirectory(external/libnotify) 165 + add_subdirectory(duct/src) 166 + add_subdirectory(external/syslog) 167 + add_subdirectory(external/libclosure) 168 + add_subdirectory(external/keymgr) 146 169 add_subdirectory(external/libunwind) 147 - add_subdirectory(networkextension) 148 - add_subdirectory(external/libsystem) 170 + add_subdirectory(external/libmalloc) 171 + add_subdirectory(external/coretls) 149 172 add_subdirectory(libsystem_coreservices) 150 - add_subdirectory(external/libutil) 151 - add_subdirectory(external/libnotify) 152 173 add_subdirectory(external/removefile) 153 - add_subdirectory(launchd) 154 - add_subdirectory(external/keymgr) 174 + add_subdirectory(quarantine) 175 + add_subdirectory(sandbox) 176 + add_subdirectory(external/corecrypto) 177 + add_subdirectory(external/commoncrypto) 178 + add_subdirectory(networkextension) 155 179 add_subdirectory(libcache) 156 - add_subdirectory(external/ncurses) 157 - add_subdirectory(external/libiconv) 158 - add_subdirectory(duct/src) 180 + add_subdirectory(external/configd) 181 + add_subdirectory(external/libsystem) 182 + add_subdirectory(external/objc4/runtime) 183 + add_subdirectory(external/corefoundation) 184 + add_subdirectory(external/icu/icuSources) 185 + add_subdirectory(external/csu) 159 186 add_subdirectory(external/libresolv) 160 - add_subdirectory(external/corecrypto) 161 - add_subdirectory(external/coretls) 162 - add_subdirectory(xtrace) 163 - add_subdirectory(libgmalloc) 164 - add_subdirectory(external/dyld) 165 - add_subdirectory(external/libffi) 166 - add_subdirectory(external/objc4/runtime) 167 - add_subdirectory(external/syslog) 187 + add_subdirectory(external/usertemplate) 188 + add_subdirectory(external/bsm) 168 189 add_subdirectory(external/zlib) 169 - add_subdirectory(external/bzip2) 170 - add_subdirectory(external/libxml2) 171 - add_subdirectory(external/libxslt) 172 - add_subdirectory(external/icu/icuSources) 173 - add_subdirectory(external/commoncrypto) 174 - add_subdirectory(external/corefoundation) 190 + # shellspawn can actually spawn any executable we want within the prefix, 191 + # so we include it in core to allow executables to be executed with the `darling` command. 192 + add_subdirectory(shellspawn) 175 193 176 - add_subdirectory(external/openssl/src) 177 - add_subdirectory(external/configd) 178 - add_subdirectory(external/foundation) 179 - add_subdirectory(external/nghttp2) 180 - add_subdirectory(external/libressl-2.2.9) 181 - add_subdirectory(external/libressl-2.5.5) 182 - add_subdirectory(external/libressl-2.6.5) 183 - add_subdirectory(external/libressl-2.8.3) 184 - add_subdirectory(external/passwordserver_sasl) 185 - add_subdirectory(external/OpenLDAP) 186 - #add_subdirectory(external/mDNSResponder) 187 - add_subdirectory(external/MITKerberosShim) 188 - add_subdirectory(external/curl) 189 - add_subdirectory(external/liblzma) 190 - add_subdirectory(external/cfnetwork/src) 191 - add_subdirectory(external/pcre) 192 - add_subdirectory(external/sqlite) 193 - add_subdirectory(external/openpam) 194 - add_subdirectory(external/libtelnet) 195 - add_subdirectory(external/remote_cmds) 196 - add_subdirectory(external/energytrace) 197 - add_subdirectory(external/lkm/libkern/kxld) 198 - add_subdirectory(external/IOKitUser) 199 - add_subdirectory(external/IOKitTools) 200 - add_subdirectory(CoreAudio) 201 - #add_subdirectory(external/OpenAL) 202 - add_subdirectory(external/python_modules) 203 - #add_subdirectory(VideoDecodeAcceleration) 204 - add_subdirectory(external/xar) 194 + # typically considered CLI components, but required by launchctl (which is necessary for launchd to bootstrap) 205 195 add_subdirectory(external/libedit) 206 - add_subdirectory(libpmenergy) 207 - add_subdirectory(external/libclosure) 208 - add_subdirectory(external/compiler-rt/lib/builtins) 209 - add_subdirectory(external/csu) 210 - add_subdirectory(external/BerkeleyDB) 211 - add_subdirectory(external/python/2.7/Python-2.7.16) 212 - add_subdirectory(external/pyobjc) 213 - add_subdirectory(external/ruby) 214 - add_subdirectory(external/expat) 215 - add_subdirectory(shellspawn) 216 - add_subdirectory(external/libarchive/libarchive) 217 - add_subdirectory(external/apr) 218 - add_subdirectory(sandbox) 219 - add_subdirectory(xcselect) 220 - add_subdirectory(external/OpenDirectory) 221 - add_subdirectory(external/iokitd) 196 + add_subdirectory(external/ncurses) 197 + 198 + # 199 + # end core components 200 + # 201 + # the rest of the projects are not all neatly separated like the core components are because 202 + # some projects build multiple targets which may be part of different components 203 + # 204 + 205 + if (COMPONENT_system) 206 + add_subdirectory(external/libiconv) 207 + add_subdirectory(external/bzip2) 208 + add_subdirectory(external/libressl-2.8.3) 209 + add_subdirectory(external/libarchive/libarchive) 210 + add_subdirectory(external/liblzma) 211 + add_subdirectory(external/OpenDirectory) 212 + add_subdirectory(external/openssl_certificates) 213 + add_subdirectory(external/bash) 214 + add_subdirectory(external/zsh) 215 + add_subdirectory(external/tcsh) 216 + add_subdirectory(external/files) 217 + add_subdirectory(external/crontabs) 218 + add_subdirectory(external/swift) 219 + endif() 220 + 221 + if (COMPONENT_cli) 222 + add_subdirectory(external/darling-dmg) 223 + add_subdirectory(external/libutil) 224 + add_subdirectory(xtrace) 225 + add_subdirectory(external/libxslt) 226 + add_subdirectory(external/openssl/src) 227 + add_subdirectory(external/nghttp2) 228 + add_subdirectory(external/passwordserver_sasl) 229 + add_subdirectory(external/curl) 230 + add_subdirectory(external/OpenLDAP) 231 + add_subdirectory(external/pcre) 232 + add_subdirectory(external/libtelnet) 233 + add_subdirectory(external/remote_cmds) 234 + add_subdirectory(external/IOKitTools) 235 + add_subdirectory(external/apr) 236 + add_subdirectory(xcselect) 237 + add_subdirectory(external/file/file) 238 + add_subdirectory(external/shell_cmds) 239 + add_subdirectory(external/file_cmds) 240 + add_subdirectory(external/text_cmds) 241 + add_subdirectory(external/adv_cmds) 242 + add_subdirectory(external/network_cmds) 243 + add_subdirectory(external/system_cmds) 244 + add_subdirectory(external/mail_cmds) 245 + add_subdirectory(external/doc_cmds) 246 + add_subdirectory(external/basic_cmds) 247 + add_subdirectory(external/misc_cmds) 248 + add_subdirectory(external/patch_cmds) 249 + add_subdirectory(external/less) 250 + add_subdirectory(external/grep) 251 + add_subdirectory(external/awk) 252 + add_subdirectory(external/groff) 253 + add_subdirectory(external/nano) 254 + add_subdirectory(external/man) 255 + add_subdirectory(external/bc) 256 + add_subdirectory(external/zip) 257 + add_subdirectory(external/installer) 258 + add_subdirectory(external/bind9) 259 + add_subdirectory(external/netcat) 260 + add_subdirectory(external/gpatch) 261 + add_subdirectory(external/gnudiff) 262 + add_subdirectory(external/openssh) 263 + add_subdirectory(external/top) 264 + add_subdirectory(external/screen) 265 + add_subdirectory(unxip) 266 + add_subdirectory(external/rsync) 267 + add_subdirectory(external/DSTools) 268 + add_subdirectory(libsysmon) 269 + add_subdirectory(PlistBuddy) 270 + add_subdirectory(libquit) 271 + add_subdirectory(external/lzfse) 272 + add_subdirectory(clt) 273 + add_subdirectory(diskutil) 274 + 275 + # these aren't used by anything we build (they're just included because they're also present in macOS) 276 + # TODO: maybe we should introduce another component (e.g. `lib_stock`) for libraries we don't need but are expected in a stock macOS installation. 277 + add_subdirectory(external/libressl-2.2.9) 278 + add_subdirectory(external/libressl-2.5.5) 279 + add_subdirectory(external/libressl-2.6.5) 280 + endif() 281 + 282 + if (COMPONENT_python OR COMPONENT_ruby) 283 + add_subdirectory(external/libffi) 284 + endif() 285 + 286 + if (COMPONENT_cli_dev) 287 + add_subdirectory(libgmalloc) 288 + endif() 289 + 290 + if (COMPONENT_cli OR COMPONENT_dev_gui_common) 291 + add_subdirectory(external/libxml2) 292 + add_subdirectory(external/foundation) 293 + add_subdirectory(external/cfnetwork/src) 294 + add_subdirectory(external/sqlite) 295 + add_subdirectory(external/openpam) 296 + add_subdirectory(external/energytrace) 297 + add_subdirectory(external/lkm/libkern/kxld) 298 + add_subdirectory(external/IOKitUser) 299 + add_subdirectory(external/xar) 300 + add_subdirectory(libpmenergy) 301 + add_subdirectory(external/DirectoryService) 302 + add_subdirectory(libacm) 303 + add_subdirectory(libaks) 304 + add_subdirectory(libcompression) 305 + add_subdirectory(external/Heimdal) 306 + add_subdirectory(libDiagnosticMessagesClient) 307 + add_subdirectory(libsandbox) 308 + add_subdirectory(opendirectory_internal) 309 + add_subdirectory(external/fmdb) 310 + add_subdirectory(external/libnetwork) 311 + add_subdirectory(libMobileGestalt) 312 + add_subdirectory(external/MITKerberosShim) 313 + endif() 222 314 223 - add_subdirectory(native) 315 + if (COMPONENT_iokitd) 316 + add_subdirectory(external/iokitd) 317 + endif() 224 318 225 - add_subdirectory(external/file/file) 226 - add_subdirectory(external/libxpc) 227 - add_subdirectory(external/openssl_certificates) 319 + if (COMPONENT_dev_gui_common) 320 + add_subdirectory(libaccessibility) 321 + add_subdirectory(external/openjdk) # *should* be in `cli` component, but requires AppKit 322 + endif() 228 323 229 - add_subdirectory(external/shell_cmds) 230 - add_subdirectory(external/file_cmds) 231 - add_subdirectory(external/text_cmds) 232 - add_subdirectory(external/adv_cmds) 233 - add_subdirectory(external/network_cmds) 234 - add_subdirectory(external/system_cmds) 235 - add_subdirectory(external/bash) 236 - add_subdirectory(external/tcsh) 237 - add_subdirectory(external/less) 238 - add_subdirectory(external/grep) 239 - add_subdirectory(external/awk) 240 - add_subdirectory(external/groff) 241 - add_subdirectory(external/nano) 242 - add_subdirectory(external/man) 243 - add_subdirectory(external/bc) 244 - add_subdirectory(external/vim) 245 - add_subdirectory(external/files) 246 - add_subdirectory(external/crontabs) 247 - add_subdirectory(external/zip) 248 - add_subdirectory(tools) 249 - add_subdirectory(external/installer) 250 - add_subdirectory(external/bind9) 251 - add_subdirectory(external/netcat) 252 - if(ADDITIONAL_PACKAGES) 253 - add_subdirectory(external/gnutar/gnutar) 324 + if (COMPONENT_cli_extra) 325 + add_subdirectory(external/gnutar/gnutar) 254 326 endif() 255 - add_subdirectory(external/gpatch) 256 - add_subdirectory(external/gnudiff) 257 - add_subdirectory(external/openssh) 258 - add_subdirectory(external/top) 259 - add_subdirectory(external/perl) 260 - add_subdirectory(external/mail_cmds) 261 - add_subdirectory(external/screen) 262 - add_subdirectory(unxip) 263 - add_subdirectory(external/zsh) 264 - add_subdirectory(external/rsync) 265 - add_subdirectory(external/doc_cmds) 266 - add_subdirectory(external/basic_cmds) 267 - add_subdirectory(external/misc_cmds) 268 - add_subdirectory(external/patch_cmds) 269 - add_subdirectory(external/DSTools) 270 - add_subdirectory(external/DirectoryService) 271 - add_subdirectory(libacm) 272 - add_subdirectory(libaks) 273 - add_subdirectory(libsysmon) 274 - add_subdirectory(libcompression) 275 - add_subdirectory(external/bsm) 276 - add_subdirectory(external/Heimdal) 277 - add_subdirectory(PlistBuddy) 278 - add_subdirectory(libDiagnosticMessagesClient) 279 - add_subdirectory(libquit) 280 - add_subdirectory(external/lzfse) 281 - add_subdirectory(libsandbox) 282 - add_subdirectory(opendirectory_internal) 283 - add_subdirectory(external/cups) 284 - # add_subdirectory(external/glut) 285 - add_subdirectory(external/libnetwork) 286 327 287 - add_subdirectory(clt) 328 + if (COMPONENT_gui) 329 + add_subdirectory(external/cocotron) 288 330 289 - add_subdirectory(diskutil) 331 + add_subdirectory(CoreAudio) 332 + add_subdirectory(external/cups) 333 + add_subdirectory(pboard) 290 334 291 - add_subdirectory(external/cocotron) 335 + # not currently used by anything we build 336 + add_subdirectory(external/dbuskit) 337 + endif() 292 338 293 - add_subdirectory(external/fmdb) 339 + if (COMPONENT_python) 340 + add_subdirectory(external/python_modules) 341 + add_subdirectory(external/python/2.7/Python-2.7.16) 342 + endif() 294 343 295 - add_subdirectory(frameworks) 296 - add_subdirectory(private-frameworks) 297 - add_subdirectory(external/usertemplate) 344 + if (COMPONENT_cli OR COMPONENT_python) 345 + add_subdirectory(external/BerkeleyDB) 346 + add_subdirectory(external/expat) 347 + endif() 348 + 349 + if (COMPONENT_gui_frameworks AND COMPONENT_gui_stubs AND COMPONENT_python) 350 + # TODO: pyobjc should only build individual modules if the respective components are enabled. 351 + # right now, it's all-or-nothing. 352 + add_subdirectory(external/pyobjc) 353 + endif() 354 + 355 + if (COMPONENT_ruby) 356 + add_subdirectory(external/ruby) 357 + endif() 298 358 299 - add_subdirectory(external/lkm) 359 + if (COMPONENT_perl) 360 + add_subdirectory(external/perl) 361 + endif() 300 362 301 - add_subdirectory(pboard) 363 + #add_subdirectory(external/mDNSResponder) 364 + #add_subdirectory(external/OpenAL) 365 + #add_subdirectory(VideoDecodeAcceleration) 366 + #add_subdirectory(external/glut) 302 367 303 - add_subdirectory(external/dbuskit) 304 - add_subdirectory(external/swift) 368 + # not a core component, but we always add it regardless of the components that are enabled; 369 + # it has its own component checks to determine which libraries to generate wrappers for. 370 + add_subdirectory(native) 305 371 306 - add_subdirectory(libaccessibility) 372 + # has its own component checks 373 + add_subdirectory(external/vim) 307 374 308 - add_subdirectory(external/openjdk) 375 + # has its own component checks 376 + add_subdirectory(tools) 377 + 378 + # these have their own component checks on a per-framework basis 379 + add_subdirectory(frameworks) 380 + add_subdirectory(private-frameworks) 381 + 382 + # TODO: get rid of this; we really only need its headers right now 383 + add_subdirectory(external/lkm) 309 384 310 385 # /Applications 311 386 #add_subdirectory(external/TextEdit) ··· 316 391 ${CMAKE_CURRENT_SOURCE_DIR}/external/libcxxabi/include 317 392 ) 318 393 394 + # 395 + # start core components with C++ 396 + # 397 + 319 398 add_subdirectory(external/libcxxabi) 320 399 add_subdirectory(external/libcxx) 321 400 322 401 add_subdirectory(external/libdispatch) 402 + add_subdirectory(external/cctools) 323 403 324 - # Requires a newer Security version 325 - add_subdirectory(external/SmartCardServices) 326 - add_subdirectory(external/security) 327 - add_subdirectory(external/SecurityTokend) 328 - add_subdirectory(external/cctools) 329 - add_subdirectory(external/libauto) 330 - add_subdirectory(external/WTF) 331 - add_subdirectory(external/bmalloc) 332 - add_subdirectory(external/dtrace) 333 - add_subdirectory(external/metal) 404 + # 405 + # end core components with C++ 406 + # 407 + 408 + if (COMPONENT_cli OR COMPONENT_dev_gui_common) 409 + add_subdirectory(external/SmartCardServices) 410 + add_subdirectory(external/security) 411 + add_subdirectory(external/SecurityTokend) 412 + endif() 413 + 414 + if (COMPONENT_cli) 415 + add_subdirectory(external/dtrace) 416 + add_subdirectory(external/libauto) 417 + endif() 418 + 419 + if (COMPONENT_dev_gui_common) 420 + add_subdirectory(external/metal) 421 + endif() 422 + 423 + if (COMPONENT_jsc OR COMPONENT_webkit) 424 + add_subdirectory(external/WTF) 425 + add_subdirectory(external/bmalloc) 426 + endif() 334 427 335 - if(FULL_BUILD) 336 - add_subdirectory(external/JavaScriptCore) 337 - endif(FULL_BUILD) 428 + if (COMPONENT_jsc) 429 + add_subdirectory(external/JavaScriptCore) 430 + endif() 338 431 339 432 #add_subdirectory(external/WebCore)
+10 -3
src/frameworks/ApplicationServices/CMakeLists.txt
··· 34 34 CoreFoundation 35 35 ) 36 36 37 - set(CoreGraphics_BUILD ${CMAKE_BINARY_DIR}/src/external/cocotron/CoreGraphics/CoreGraphics) 38 - set(CoreText_BUILD ${CMAKE_BINARY_DIR}/src/external/cocotron/CoreText/CoreText) 37 + if (COMPONENT_gui) 38 + set(CoreGraphics_BUILD ${CMAKE_BINARY_DIR}/src/external/cocotron/CoreGraphics/CoreGraphics) 39 + set(CoreText_BUILD ${CMAKE_BINARY_DIR}/src/external/cocotron/CoreText/CoreText) 40 + set(ImageIO_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/ImageIO/ImageIO) 41 + else() 42 + set(CoreGraphics_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/dev-stubs/CoreGraphics/CoreGraphics) 43 + set(CoreText_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/dev-stubs/CoreText/CoreText) 44 + set(ImageIO_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/dev-stubs/ImageIO/ImageIO) 45 + endif() 46 + 39 47 set(CoreServices_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/CoreServices/CoreServices) 40 - set(ImageIO_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/ImageIO/ImageIO) 41 48 set(ColorSync_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/ColorSync/ColorSync) 42 49 set(ATS_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/ApplicationServices/ATS/ATS) 43 50 set(ColorSyncLegacy_BUILD ${CMAKE_BINARY_DIR}/src/frameworks/ApplicationServices/ColorSyncLegacy/ColorSyncLegacy)
+149 -79
src/frameworks/CMakeLists.txt
··· 1 1 project(frameworks) 2 2 3 - add_subdirectory(Accounts) 4 - add_subdirectory(Accelerate) 5 - add_subdirectory(AddressBook) 6 - add_subdirectory(AGL) 7 - add_subdirectory(ApplicationServices) 8 - add_subdirectory(AuthenticationServices) 9 - add_subdirectory(Automator) 10 - add_subdirectory(AVFoundation) 11 - add_subdirectory(AVKit) 12 - add_subdirectory(CalendarStore) 13 - add_subdirectory(Carbon) 14 - add_subdirectory(CloudKit) 15 - add_subdirectory(Collaboration) 16 - add_subdirectory(ColorSync) 17 - add_subdirectory(Contacts) 18 - add_subdirectory(ContactsUI) 19 - add_subdirectory(CoreAudioKit) 20 - add_subdirectory(CoreBluetooth) 21 - add_subdirectory(CoreImage) 22 - add_subdirectory(CoreLocation) 23 - add_subdirectory(CoreMIDI) 24 - add_subdirectory(CoreMedia) 25 - add_subdirectory(CoreMediaIO) 26 - add_subdirectory(CoreServices) 27 - add_subdirectory(CoreTelephony) 28 - add_subdirectory(CoreVideo) 29 - add_subdirectory(CoreWLAN) 30 - add_subdirectory(CryptoTokenKit) 31 - add_subdirectory(DirectoryServices) 32 - add_subdirectory(DiscRecordingUI) 33 - add_subdirectory(DiskArbitration) 34 - add_subdirectory(DiscRecording) 35 - add_subdirectory(DrawSprocket) 36 - add_subdirectory(EventKit) 37 - add_subdirectory(ExceptionHandling) 38 - add_subdirectory(ForceFeedback) 39 - add_subdirectory(GameController) 40 - add_subdirectory(GLKit) 41 - add_subdirectory(ImageCaptureCore) 42 - add_subdirectory(ImageIO) 43 - add_subdirectory(InputMethodKit) 44 - add_subdirectory(InstantMessage) 45 - add_subdirectory(IOBluetooth) 46 - add_subdirectory(IOBluetoothUI) 47 - add_subdirectory(IOSurface) 48 - add_subdirectory(JavaRuntimeSupport) 49 - add_subdirectory(JavaVM) 50 - add_subdirectory(LocalAuthentication) 51 - add_subdirectory(MapKit) 52 - add_subdirectory(MediaAccessibility) 53 - add_subdirectory(MediaToolbox) 54 - add_subdirectory(ModelIO) 55 - add_subdirectory(MultipeerConnectivity) 56 - add_subdirectory(NetFS) 57 - add_subdirectory(Network) 58 - add_subdirectory(OpenAL) 59 - add_subdirectory(OpenCL) 60 - add_subdirectory(OpenDirectory) 61 - add_subdirectory(OpenGL) 62 - add_subdirectory(Photos) 63 - add_subdirectory(PDFKit) 64 - add_subdirectory(OSAKit) 65 - add_subdirectory(QTKit) 66 - add_subdirectory(Quartz) 67 - add_subdirectory(QuickLook) 68 - add_subdirectory(ScreenSaver) 69 - add_subdirectory(ScriptingBridge) 70 - add_subdirectory(SecurityFoundation) 71 - add_subdirectory(SecurityInterface) 72 - add_subdirectory(ServiceManagement) 73 - add_subdirectory(SpriteKit) 74 - add_subdirectory(StoreKit) 75 - add_subdirectory(SyncServices) 76 - add_subdirectory(SystemConfiguration) 77 - add_subdirectory(VideoToolbox) 78 - add_subdirectory(VideoDecodeAcceleration) 79 - add_subdirectory(Vision) 80 - add_subdirectory(WebKit) 81 - add_subdirectory(UserNotifications) 3 + if (COMPONENT_system) 4 + # for memberd 5 + add_subdirectory(DirectoryServices) 6 + endif() 7 + 8 + # this is mainly for frameworks that are required for Security, 9 + # since Security is built for both CLI and GUI 10 + if (COMPONENT_cli OR COMPONENT_dev_gui_common) 11 + add_subdirectory(CoreServices) 12 + 13 + # these are also stubs, but they're needed for Security 14 + add_subdirectory(Accounts) 15 + add_subdirectory(CloudKit) 16 + add_subdirectory(CryptoTokenKit) 17 + add_subdirectory(LocalAuthentication) 18 + add_subdirectory(NetFS) 19 + add_subdirectory(Network) 20 + add_subdirectory(OpenDirectory) 21 + add_subdirectory(SecurityFoundation) 22 + add_subdirectory(SystemConfiguration) 23 + 24 + # this is for Java (obviously) 25 + add_subdirectory(JavaVM) 26 + add_subdirectory(JavaRuntimeSupport) 27 + endif() 28 + 29 + if (COMPONENT_iokitd OR COMPONENT_dev_gui_common) 30 + # this is for iokitd (and Xcode) 31 + add_subdirectory(IOSurface) 32 + endif() 33 + 34 + # this is mainly for anything that Xcode requires to run on the CLI 35 + if (COMPONENT_dev_gui_common) 36 + add_subdirectory(ApplicationServices) 37 + add_subdirectory(ColorSync) 38 + add_subdirectory(Carbon) 39 + 40 + # stubs, but required for QuartzCore (in Cocotron) 41 + add_subdirectory(CoreImage) 42 + add_subdirectory(CoreVideo) 43 + endif() 44 + 45 + # same here, except this is for stubs that Xcode needs 46 + if (COMPONENT_dev_gui_stubs_common) 47 + add_subdirectory(Accelerate) 48 + add_subdirectory(AVFoundation) 49 + add_subdirectory(Contacts) 50 + add_subdirectory(CoreMedia) 51 + add_subdirectory(DiskArbitration) 52 + add_subdirectory(GLKit) 53 + add_subdirectory(ScriptingBridge) 54 + add_subdirectory(SecurityInterface) 55 + add_subdirectory(ServiceManagement) 56 + add_subdirectory(Quartz) 57 + add_subdirectory(QuickLook) 58 + add_subdirectory(UserNotifications) 59 + add_subdirectory(VideoToolbox) 60 + endif() 61 + 62 + # this is for core GUI frameworks with actual implementations 63 + if (COMPONENT_gui) 64 + add_subdirectory(OpenGL) 65 + add_subdirectory(ImageIO) 66 + endif() 67 + 68 + # this is for all the other stubbed frameworks 69 + if (COMPONENT_gui_stubs) 70 + add_subdirectory(AddressBook) 71 + add_subdirectory(AGL) 72 + add_subdirectory(AuthenticationServices) 73 + add_subdirectory(Automator) 74 + add_subdirectory(AVKit) 75 + add_subdirectory(CalendarStore) 76 + add_subdirectory(Collaboration) 77 + add_subdirectory(ContactsUI) 78 + add_subdirectory(CoreAudioKit) 79 + add_subdirectory(CoreBluetooth) 80 + add_subdirectory(CoreLocation) 81 + add_subdirectory(CoreMIDI) 82 + add_subdirectory(CoreMediaIO) 83 + add_subdirectory(CoreTelephony) 84 + add_subdirectory(CoreWLAN) 85 + add_subdirectory(DiscRecordingUI) 86 + add_subdirectory(DiscRecording) 87 + add_subdirectory(DrawSprocket) 88 + add_subdirectory(EventKit) 89 + add_subdirectory(ExceptionHandling) 90 + add_subdirectory(ForceFeedback) 91 + add_subdirectory(GameController) 92 + add_subdirectory(ImageCaptureCore) 93 + add_subdirectory(InputMethodKit) 94 + add_subdirectory(InstantMessage) 95 + add_subdirectory(IOBluetooth) 96 + add_subdirectory(IOBluetoothUI) 97 + add_subdirectory(MapKit) 98 + add_subdirectory(MediaAccessibility) 99 + add_subdirectory(MediaToolbox) 100 + add_subdirectory(ModelIO) 101 + add_subdirectory(MultipeerConnectivity) 102 + add_subdirectory(OpenAL) 103 + add_subdirectory(OpenCL) 104 + add_subdirectory(Photos) 105 + add_subdirectory(PDFKit) 106 + add_subdirectory(OSAKit) 107 + add_subdirectory(QTKit) 108 + add_subdirectory(ScreenSaver) 109 + add_subdirectory(SpriteKit) 110 + add_subdirectory(StoreKit) 111 + add_subdirectory(SyncServices) 112 + add_subdirectory(VideoDecodeAcceleration) 113 + add_subdirectory(Vision) 114 + endif() 115 + 116 + # Xcode also needs WebKit, even on the CLI! it may be a weak dependency (i didn't check that), 117 + # but what we do is we build our stub if the `webkit` component isn't enabled. 118 + # 119 + # TODO: actually build WebKit. since we *only* have the stub right now, we compile it when either 120 + # component is enabled. 121 + 122 + #if (COMPONENT_dev_gui_common AND NOT COMPONENT_webkit) 123 + if (COMPONENT_dev_gui_common OR COMPONENT_webkit) 124 + # stub 125 + add_subdirectory(WebKit) 126 + endif() 127 + 128 + # we build these stubs if we're building `cli_dev` and *not* building Cocotron OR if we explicitly want them (`cli_dev_gui_stubs`). 129 + # we explicitly want to build them when building the `all` component because this component is intended to be used for building 130 + # Darling packages; we need to build a package that has these stubs available to be able to install Darling for CLI development 131 + # without GUI dependencies like X11. 132 + if ((COMPONENT_cli_dev AND NOT COMPONENT_gui) OR COMPONENT_cli_dev_gui_stubs) 133 + # if we're building the GUI components (i.e. Cocotron), don't install these stubs 134 + if (COMPONENT_gui) 135 + set(NO_INSTALL_ARG NO_INSTALL) 136 + set(STUB_SUFFIX "_stub") 137 + else() 138 + set(NO_INSTALL_ARG "") 139 + set(STUB_SUFFIX "") 140 + endif() 141 + 142 + add_subdirectory(dev-stubs/AppKit) 143 + add_subdirectory(dev-stubs/AudioToolbox) 144 + add_subdirectory(dev-stubs/Cocoa) 145 + add_subdirectory(dev-stubs/CoreData) 146 + add_subdirectory(dev-stubs/CoreGraphics) 147 + add_subdirectory(dev-stubs/CoreText) 148 + add_subdirectory(dev-stubs/ImageIO) 149 + add_subdirectory(dev-stubs/OpenGL) 150 + add_subdirectory(dev-stubs/QuartzCore) 151 + endif()
+23
src/frameworks/dev-stubs/AppKit/CMakeLists.txt
··· 1 + project(AppKit_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "C") 6 + 7 + add_framework(AppKit 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME AppKit${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(AppKit${STUB_SUFFIX} BEFORE PRIVATE include)
+4049
src/frameworks/dev-stubs/AppKit/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + @interface NSATSTypesetter : NSObject 23 + @end 24 + 25 + @implementation NSATSTypesetter 26 + 27 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 28 + { 29 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 30 + } 31 + 32 + - (void)forwardInvocation:(NSInvocation *)anInvocation 33 + { 34 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 35 + } 36 + 37 + @end 38 + 39 + @interface NSAccessibilityCustomAction : NSObject 40 + @end 41 + 42 + @implementation NSAccessibilityCustomAction 43 + 44 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 45 + { 46 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 47 + } 48 + 49 + - (void)forwardInvocation:(NSInvocation *)anInvocation 50 + { 51 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 52 + } 53 + 54 + @end 55 + 56 + @interface NSAccessibilityCustomChooser : NSObject 57 + @end 58 + 59 + @implementation NSAccessibilityCustomChooser 60 + 61 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 62 + { 63 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 64 + } 65 + 66 + - (void)forwardInvocation:(NSInvocation *)anInvocation 67 + { 68 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 69 + } 70 + 71 + @end 72 + 73 + @interface NSAccessibilityCustomChooserItemResult : NSObject 74 + @end 75 + 76 + @implementation NSAccessibilityCustomChooserItemResult 77 + 78 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 79 + { 80 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 81 + } 82 + 83 + - (void)forwardInvocation:(NSInvocation *)anInvocation 84 + { 85 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 86 + } 87 + 88 + @end 89 + 90 + @interface NSAccessibilityCustomRotor : NSObject 91 + @end 92 + 93 + @implementation NSAccessibilityCustomRotor 94 + 95 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 96 + { 97 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 98 + } 99 + 100 + - (void)forwardInvocation:(NSInvocation *)anInvocation 101 + { 102 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 103 + } 104 + 105 + @end 106 + 107 + @interface NSAccessibilityCustomRotorItemResult : NSObject 108 + @end 109 + 110 + @implementation NSAccessibilityCustomRotorItemResult 111 + 112 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 113 + { 114 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 115 + } 116 + 117 + - (void)forwardInvocation:(NSInvocation *)anInvocation 118 + { 119 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 120 + } 121 + 122 + @end 123 + 124 + @interface NSAccessibilityElement : NSObject 125 + @end 126 + 127 + @implementation NSAccessibilityElement 128 + 129 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 130 + { 131 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 132 + } 133 + 134 + - (void)forwardInvocation:(NSInvocation *)anInvocation 135 + { 136 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 137 + } 138 + 139 + @end 140 + 141 + @interface NSActionCell : NSObject 142 + @end 143 + 144 + @implementation NSActionCell 145 + 146 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 147 + { 148 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 149 + } 150 + 151 + - (void)forwardInvocation:(NSInvocation *)anInvocation 152 + { 153 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 154 + } 155 + 156 + @end 157 + 158 + @interface NSAlert : NSObject 159 + @end 160 + 161 + @implementation NSAlert 162 + 163 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 164 + { 165 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 166 + } 167 + 168 + - (void)forwardInvocation:(NSInvocation *)anInvocation 169 + { 170 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 171 + } 172 + 173 + @end 174 + 175 + @interface NSAlignmentFeedbackFilter : NSObject 176 + @end 177 + 178 + @implementation NSAlignmentFeedbackFilter 179 + 180 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 181 + { 182 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 183 + } 184 + 185 + - (void)forwardInvocation:(NSInvocation *)anInvocation 186 + { 187 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 188 + } 189 + 190 + @end 191 + 192 + @interface NSAnimation : NSObject 193 + @end 194 + 195 + @implementation NSAnimation 196 + 197 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 198 + { 199 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 200 + } 201 + 202 + - (void)forwardInvocation:(NSInvocation *)anInvocation 203 + { 204 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 205 + } 206 + 207 + @end 208 + 209 + @interface NSAnimationContext : NSObject 210 + @end 211 + 212 + @implementation NSAnimationContext 213 + 214 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 215 + { 216 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 217 + } 218 + 219 + - (void)forwardInvocation:(NSInvocation *)anInvocation 220 + { 221 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 222 + } 223 + 224 + @end 225 + 226 + @interface NSAppearance : NSObject 227 + @end 228 + 229 + @implementation NSAppearance 230 + 231 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 232 + { 233 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 234 + } 235 + 236 + - (void)forwardInvocation:(NSInvocation *)anInvocation 237 + { 238 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 239 + } 240 + 241 + @end 242 + 243 + @interface NSApplication : NSObject 244 + @end 245 + 246 + @implementation NSApplication 247 + 248 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 249 + { 250 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 251 + } 252 + 253 + - (void)forwardInvocation:(NSInvocation *)anInvocation 254 + { 255 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 256 + } 257 + 258 + @end 259 + 260 + @interface NSArrayController : NSObject 261 + @end 262 + 263 + @implementation NSArrayController 264 + 265 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 266 + { 267 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 268 + } 269 + 270 + - (void)forwardInvocation:(NSInvocation *)anInvocation 271 + { 272 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 273 + } 274 + 275 + @end 276 + 277 + @interface NSBezierPath : NSObject 278 + @end 279 + 280 + @implementation NSBezierPath 281 + 282 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 283 + { 284 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 285 + } 286 + 287 + - (void)forwardInvocation:(NSInvocation *)anInvocation 288 + { 289 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 290 + } 291 + 292 + @end 293 + 294 + @interface NSBitmapImageRep : NSObject 295 + @end 296 + 297 + @implementation NSBitmapImageRep 298 + 299 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 300 + { 301 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 302 + } 303 + 304 + - (void)forwardInvocation:(NSInvocation *)anInvocation 305 + { 306 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 307 + } 308 + 309 + @end 310 + 311 + @interface NSBox : NSObject 312 + @end 313 + 314 + @implementation NSBox 315 + 316 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 317 + { 318 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 319 + } 320 + 321 + - (void)forwardInvocation:(NSInvocation *)anInvocation 322 + { 323 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 324 + } 325 + 326 + @end 327 + 328 + @interface NSBrowser : NSObject 329 + @end 330 + 331 + @implementation NSBrowser 332 + 333 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 334 + { 335 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 336 + } 337 + 338 + - (void)forwardInvocation:(NSInvocation *)anInvocation 339 + { 340 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 341 + } 342 + 343 + @end 344 + 345 + @interface NSButton : NSObject 346 + @end 347 + 348 + @implementation NSButton 349 + 350 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 351 + { 352 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 353 + } 354 + 355 + - (void)forwardInvocation:(NSInvocation *)anInvocation 356 + { 357 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 358 + } 359 + 360 + @end 361 + 362 + @interface NSButtonCell : NSObject 363 + @end 364 + 365 + @implementation NSButtonCell 366 + 367 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 368 + { 369 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 370 + } 371 + 372 + - (void)forwardInvocation:(NSInvocation *)anInvocation 373 + { 374 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 375 + } 376 + 377 + @end 378 + 379 + @interface NSButtonGroupTouchBarItem : NSObject 380 + @end 381 + 382 + @implementation NSButtonGroupTouchBarItem 383 + 384 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 385 + { 386 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 387 + } 388 + 389 + - (void)forwardInvocation:(NSInvocation *)anInvocation 390 + { 391 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 392 + } 393 + 394 + @end 395 + 396 + @interface NSCIImageRep : NSObject 397 + @end 398 + 399 + @implementation NSCIImageRep 400 + 401 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 402 + { 403 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 404 + } 405 + 406 + - (void)forwardInvocation:(NSInvocation *)anInvocation 407 + { 408 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 409 + } 410 + 411 + @end 412 + 413 + @interface NSCachedImageRep : NSObject 414 + @end 415 + 416 + @implementation NSCachedImageRep 417 + 418 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 419 + { 420 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 421 + } 422 + 423 + - (void)forwardInvocation:(NSInvocation *)anInvocation 424 + { 425 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 426 + } 427 + 428 + @end 429 + 430 + @interface NSCarbonMenuImpl : NSObject 431 + @end 432 + 433 + @implementation NSCarbonMenuImpl 434 + 435 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 436 + { 437 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 438 + } 439 + 440 + - (void)forwardInvocation:(NSInvocation *)anInvocation 441 + { 442 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 443 + } 444 + 445 + @end 446 + 447 + @interface NSCatalogColor : NSObject 448 + @end 449 + 450 + @implementation NSCatalogColor 451 + 452 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 453 + { 454 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 455 + } 456 + 457 + - (void)forwardInvocation:(NSInvocation *)anInvocation 458 + { 459 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 460 + } 461 + 462 + @end 463 + 464 + @interface NSCell : NSObject 465 + @end 466 + 467 + @implementation NSCell 468 + 469 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 470 + { 471 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 472 + } 473 + 474 + - (void)forwardInvocation:(NSInvocation *)anInvocation 475 + { 476 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 477 + } 478 + 479 + @end 480 + 481 + @interface NSClassSwapper : NSObject 482 + @end 483 + 484 + @implementation NSClassSwapper 485 + 486 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 487 + { 488 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 489 + } 490 + 491 + - (void)forwardInvocation:(NSInvocation *)anInvocation 492 + { 493 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 494 + } 495 + 496 + @end 497 + 498 + @interface NSClickGestureRecognizer : NSObject 499 + @end 500 + 501 + @implementation NSClickGestureRecognizer 502 + 503 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 504 + { 505 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 506 + } 507 + 508 + - (void)forwardInvocation:(NSInvocation *)anInvocation 509 + { 510 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 511 + } 512 + 513 + @end 514 + 515 + @interface NSClipView : NSObject 516 + @end 517 + 518 + @implementation NSClipView 519 + 520 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 521 + { 522 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 523 + } 524 + 525 + - (void)forwardInvocation:(NSInvocation *)anInvocation 526 + { 527 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 528 + } 529 + 530 + @end 531 + 532 + @interface NSCollectionView : NSObject 533 + @end 534 + 535 + @implementation NSCollectionView 536 + 537 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 538 + { 539 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 540 + } 541 + 542 + - (void)forwardInvocation:(NSInvocation *)anInvocation 543 + { 544 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 545 + } 546 + 547 + @end 548 + 549 + @interface NSCollectionViewFlowLayout : NSObject 550 + @end 551 + 552 + @implementation NSCollectionViewFlowLayout 553 + 554 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 555 + { 556 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 557 + } 558 + 559 + - (void)forwardInvocation:(NSInvocation *)anInvocation 560 + { 561 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 562 + } 563 + 564 + @end 565 + 566 + @interface NSCollectionViewFlowLayoutInvalidationContext : NSObject 567 + @end 568 + 569 + @implementation NSCollectionViewFlowLayoutInvalidationContext 570 + 571 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 572 + { 573 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 574 + } 575 + 576 + - (void)forwardInvocation:(NSInvocation *)anInvocation 577 + { 578 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 579 + } 580 + 581 + @end 582 + 583 + @interface NSCollectionViewGridLayout : NSObject 584 + @end 585 + 586 + @implementation NSCollectionViewGridLayout 587 + 588 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 589 + { 590 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 591 + } 592 + 593 + - (void)forwardInvocation:(NSInvocation *)anInvocation 594 + { 595 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 596 + } 597 + 598 + @end 599 + 600 + @interface NSCollectionViewItem : NSObject 601 + @end 602 + 603 + @implementation NSCollectionViewItem 604 + 605 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 606 + { 607 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 608 + } 609 + 610 + - (void)forwardInvocation:(NSInvocation *)anInvocation 611 + { 612 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 613 + } 614 + 615 + @end 616 + 617 + @interface NSCollectionViewLayout : NSObject 618 + @end 619 + 620 + @implementation NSCollectionViewLayout 621 + 622 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 623 + { 624 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 625 + } 626 + 627 + - (void)forwardInvocation:(NSInvocation *)anInvocation 628 + { 629 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 630 + } 631 + 632 + @end 633 + 634 + @interface NSCollectionViewLayoutAttributes : NSObject 635 + @end 636 + 637 + @implementation NSCollectionViewLayoutAttributes 638 + 639 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 640 + { 641 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 642 + } 643 + 644 + - (void)forwardInvocation:(NSInvocation *)anInvocation 645 + { 646 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 647 + } 648 + 649 + @end 650 + 651 + @interface NSCollectionViewLayoutInvalidationContext : NSObject 652 + @end 653 + 654 + @implementation NSCollectionViewLayoutInvalidationContext 655 + 656 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 657 + { 658 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 659 + } 660 + 661 + - (void)forwardInvocation:(NSInvocation *)anInvocation 662 + { 663 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 664 + } 665 + 666 + @end 667 + 668 + @interface NSColor : NSObject 669 + @end 670 + 671 + @implementation NSColor 672 + 673 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 674 + { 675 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 676 + } 677 + 678 + - (void)forwardInvocation:(NSInvocation *)anInvocation 679 + { 680 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 681 + } 682 + 683 + @end 684 + 685 + @interface NSColorList : NSObject 686 + @end 687 + 688 + @implementation NSColorList 689 + 690 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 691 + { 692 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 693 + } 694 + 695 + - (void)forwardInvocation:(NSInvocation *)anInvocation 696 + { 697 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 698 + } 699 + 700 + @end 701 + 702 + @interface NSColorPanel : NSObject 703 + @end 704 + 705 + @implementation NSColorPanel 706 + 707 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 708 + { 709 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 710 + } 711 + 712 + - (void)forwardInvocation:(NSInvocation *)anInvocation 713 + { 714 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 715 + } 716 + 717 + @end 718 + 719 + @interface NSColorPickerTouchBarItem : NSObject 720 + @end 721 + 722 + @implementation NSColorPickerTouchBarItem 723 + 724 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 725 + { 726 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 727 + } 728 + 729 + - (void)forwardInvocation:(NSInvocation *)anInvocation 730 + { 731 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 732 + } 733 + 734 + @end 735 + 736 + @interface NSColorSampler : NSObject 737 + @end 738 + 739 + @implementation NSColorSampler 740 + 741 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 742 + { 743 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 744 + } 745 + 746 + - (void)forwardInvocation:(NSInvocation *)anInvocation 747 + { 748 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 749 + } 750 + 751 + @end 752 + 753 + @interface NSColorSpace : NSObject 754 + @end 755 + 756 + @implementation NSColorSpace 757 + 758 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 759 + { 760 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 761 + } 762 + 763 + - (void)forwardInvocation:(NSInvocation *)anInvocation 764 + { 765 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 766 + } 767 + 768 + @end 769 + 770 + @interface NSColorWell : NSObject 771 + @end 772 + 773 + @implementation NSColorWell 774 + 775 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 776 + { 777 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 778 + } 779 + 780 + - (void)forwardInvocation:(NSInvocation *)anInvocation 781 + { 782 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 783 + } 784 + 785 + - (id)activate: (id)activate 786 + { 787 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 788 + return nil; 789 + } 790 + 791 + - (id)deactivate 792 + { 793 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 794 + return nil; 795 + } 796 + 797 + @end 798 + 799 + @interface NSComboBox : NSObject 800 + @end 801 + 802 + @implementation NSComboBox 803 + 804 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 805 + { 806 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 807 + } 808 + 809 + - (void)forwardInvocation:(NSInvocation *)anInvocation 810 + { 811 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 812 + } 813 + 814 + @end 815 + 816 + @interface NSComboBoxCell : NSObject 817 + @end 818 + 819 + @implementation NSComboBoxCell 820 + 821 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 822 + { 823 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 824 + } 825 + 826 + - (void)forwardInvocation:(NSInvocation *)anInvocation 827 + { 828 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 829 + } 830 + 831 + @end 832 + 833 + @interface NSConcreteTextStorage : NSObject 834 + @end 835 + 836 + @implementation NSConcreteTextStorage 837 + 838 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 839 + { 840 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 841 + } 842 + 843 + - (void)forwardInvocation:(NSInvocation *)anInvocation 844 + { 845 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 846 + } 847 + 848 + @end 849 + 850 + @interface NSControl : NSObject 851 + @end 852 + 853 + @implementation NSControl 854 + 855 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 856 + { 857 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 858 + } 859 + 860 + - (void)forwardInvocation:(NSInvocation *)anInvocation 861 + { 862 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 863 + } 864 + 865 + @end 866 + 867 + @interface NSController : NSObject 868 + @end 869 + 870 + @implementation NSController 871 + 872 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 873 + { 874 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 875 + } 876 + 877 + - (void)forwardInvocation:(NSInvocation *)anInvocation 878 + { 879 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 880 + } 881 + 882 + @end 883 + 884 + @interface NSCoreTypesetter : NSObject 885 + @end 886 + 887 + @implementation NSCoreTypesetter 888 + 889 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 890 + { 891 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 892 + } 893 + 894 + - (void)forwardInvocation:(NSInvocation *)anInvocation 895 + { 896 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 897 + } 898 + 899 + @end 900 + 901 + @interface NSCursor : NSObject 902 + @end 903 + 904 + @implementation NSCursor 905 + 906 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 907 + { 908 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 909 + } 910 + 911 + - (void)forwardInvocation:(NSInvocation *)anInvocation 912 + { 913 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 914 + } 915 + 916 + @end 917 + 918 + @interface NSCustomImageRep : NSObject 919 + @end 920 + 921 + @implementation NSCustomImageRep 922 + 923 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 924 + { 925 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 926 + } 927 + 928 + - (void)forwardInvocation:(NSInvocation *)anInvocation 929 + { 930 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 931 + } 932 + 933 + @end 934 + 935 + @interface NSCustomObject : NSObject 936 + @end 937 + 938 + @implementation NSCustomObject 939 + 940 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 941 + { 942 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 943 + } 944 + 945 + - (void)forwardInvocation:(NSInvocation *)anInvocation 946 + { 947 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 948 + } 949 + 950 + @end 951 + 952 + @interface NSCustomResource : NSObject 953 + @end 954 + 955 + @implementation NSCustomResource 956 + 957 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 958 + { 959 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 960 + } 961 + 962 + - (void)forwardInvocation:(NSInvocation *)anInvocation 963 + { 964 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 965 + } 966 + 967 + @end 968 + 969 + @interface NSCustomTouchBarItem : NSObject 970 + @end 971 + 972 + @implementation NSCustomTouchBarItem 973 + 974 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 975 + { 976 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 977 + } 978 + 979 + - (void)forwardInvocation:(NSInvocation *)anInvocation 980 + { 981 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 982 + } 983 + 984 + @end 985 + 986 + @interface NSCustomView : NSObject 987 + @end 988 + 989 + @implementation NSCustomView 990 + 991 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 992 + { 993 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 994 + } 995 + 996 + - (void)forwardInvocation:(NSInvocation *)anInvocation 997 + { 998 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 999 + } 1000 + 1001 + @end 1002 + 1003 + @interface NSDataAsset : NSObject 1004 + @end 1005 + 1006 + @implementation NSDataAsset 1007 + 1008 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1009 + { 1010 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1011 + } 1012 + 1013 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1014 + { 1015 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1016 + } 1017 + 1018 + @end 1019 + 1020 + @interface NSDatePicker : NSObject 1021 + @end 1022 + 1023 + @implementation NSDatePicker 1024 + 1025 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1026 + { 1027 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1028 + } 1029 + 1030 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1031 + { 1032 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1033 + } 1034 + 1035 + @end 1036 + 1037 + @interface NSDatePickerCell : NSObject 1038 + @end 1039 + 1040 + @implementation NSDatePickerCell 1041 + 1042 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1043 + { 1044 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1045 + } 1046 + 1047 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1048 + { 1049 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1050 + } 1051 + 1052 + @end 1053 + 1054 + @interface NSDictionaryController : NSObject 1055 + @end 1056 + 1057 + @implementation NSDictionaryController 1058 + 1059 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1060 + { 1061 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1062 + } 1063 + 1064 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1065 + { 1066 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1067 + } 1068 + 1069 + @end 1070 + 1071 + @interface NSDocument : NSObject 1072 + @end 1073 + 1074 + @implementation NSDocument 1075 + 1076 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1077 + { 1078 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1079 + } 1080 + 1081 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1082 + { 1083 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1084 + } 1085 + 1086 + @end 1087 + 1088 + @interface NSDocumentController : NSObject 1089 + @end 1090 + 1091 + @implementation NSDocumentController 1092 + 1093 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1094 + { 1095 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1096 + } 1097 + 1098 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1099 + { 1100 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1101 + } 1102 + 1103 + @end 1104 + 1105 + @interface NSDraggingItem : NSObject 1106 + @end 1107 + 1108 + @implementation NSDraggingItem 1109 + 1110 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1111 + { 1112 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1113 + } 1114 + 1115 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1116 + { 1117 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1118 + } 1119 + 1120 + @end 1121 + 1122 + @interface NSDrawer : NSObject 1123 + @end 1124 + 1125 + @implementation NSDrawer 1126 + 1127 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1128 + { 1129 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1130 + } 1131 + 1132 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1133 + { 1134 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1135 + } 1136 + 1137 + @end 1138 + 1139 + @interface NSDynamicNamedColor : NSObject 1140 + @end 1141 + 1142 + @implementation NSDynamicNamedColor 1143 + 1144 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1145 + { 1146 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1147 + } 1148 + 1149 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1150 + { 1151 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1152 + } 1153 + 1154 + @end 1155 + 1156 + @interface NSEvent : NSObject 1157 + @end 1158 + 1159 + @implementation NSEvent 1160 + 1161 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1162 + { 1163 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1164 + } 1165 + 1166 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1167 + { 1168 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1169 + } 1170 + 1171 + @end 1172 + 1173 + @interface NSFont : NSObject 1174 + @end 1175 + 1176 + @implementation NSFont 1177 + 1178 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1179 + { 1180 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1181 + } 1182 + 1183 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1184 + { 1185 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1186 + } 1187 + 1188 + @end 1189 + 1190 + @interface NSFontDescriptor : NSObject 1191 + @end 1192 + 1193 + @implementation NSFontDescriptor 1194 + 1195 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1196 + { 1197 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1198 + } 1199 + 1200 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1201 + { 1202 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1203 + } 1204 + 1205 + @end 1206 + 1207 + @interface NSFontManager : NSObject 1208 + @end 1209 + 1210 + @implementation NSFontManager 1211 + 1212 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1213 + { 1214 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1215 + } 1216 + 1217 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1218 + { 1219 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1220 + } 1221 + 1222 + @end 1223 + 1224 + @interface NSFontPanel : NSObject 1225 + @end 1226 + 1227 + @implementation NSFontPanel 1228 + 1229 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1230 + { 1231 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1232 + } 1233 + 1234 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1235 + { 1236 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1237 + } 1238 + 1239 + @end 1240 + 1241 + @interface NSForm : NSObject 1242 + @end 1243 + 1244 + @implementation NSForm 1245 + 1246 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1247 + { 1248 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1249 + } 1250 + 1251 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1252 + { 1253 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1254 + } 1255 + 1256 + @end 1257 + 1258 + @interface NSFormCell : NSObject 1259 + @end 1260 + 1261 + @implementation NSFormCell 1262 + 1263 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1264 + { 1265 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1266 + } 1267 + 1268 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1269 + { 1270 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1271 + } 1272 + 1273 + @end 1274 + 1275 + @interface NSGestureRecognizer : NSObject 1276 + @end 1277 + 1278 + @implementation NSGestureRecognizer 1279 + 1280 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1281 + { 1282 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1283 + } 1284 + 1285 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1286 + { 1287 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1288 + } 1289 + 1290 + @end 1291 + 1292 + @interface NSGlyphGenerator : NSObject 1293 + @end 1294 + 1295 + @implementation NSGlyphGenerator 1296 + 1297 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1298 + { 1299 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1300 + } 1301 + 1302 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1303 + { 1304 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1305 + } 1306 + 1307 + @end 1308 + 1309 + @interface NSGradient : NSObject 1310 + @end 1311 + 1312 + @implementation NSGradient 1313 + 1314 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1315 + { 1316 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1317 + } 1318 + 1319 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1320 + { 1321 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1322 + } 1323 + 1324 + @end 1325 + 1326 + @interface NSGraphicsContext : NSObject 1327 + @end 1328 + 1329 + @implementation NSGraphicsContext 1330 + 1331 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1332 + { 1333 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1334 + } 1335 + 1336 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1337 + { 1338 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1339 + } 1340 + 1341 + @end 1342 + 1343 + @interface NSGridCell : NSObject 1344 + @end 1345 + 1346 + @implementation NSGridCell 1347 + 1348 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1349 + { 1350 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1351 + } 1352 + 1353 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1354 + { 1355 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1356 + } 1357 + 1358 + @end 1359 + 1360 + @interface NSGridColumn : NSObject 1361 + @end 1362 + 1363 + @implementation NSGridColumn 1364 + 1365 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1366 + { 1367 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1368 + } 1369 + 1370 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1371 + { 1372 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1373 + } 1374 + 1375 + @end 1376 + 1377 + @interface NSGridRow : NSObject 1378 + @end 1379 + 1380 + @implementation NSGridRow 1381 + 1382 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1383 + { 1384 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1385 + } 1386 + 1387 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1388 + { 1389 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1390 + } 1391 + 1392 + @end 1393 + 1394 + @interface NSGridView : NSObject 1395 + @end 1396 + 1397 + @implementation NSGridView 1398 + 1399 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1400 + { 1401 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1402 + } 1403 + 1404 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1405 + { 1406 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1407 + } 1408 + 1409 + @end 1410 + 1411 + @interface NSGroupTouchBarItem : NSObject 1412 + @end 1413 + 1414 + @implementation NSGroupTouchBarItem 1415 + 1416 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1417 + { 1418 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1419 + } 1420 + 1421 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1422 + { 1423 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1424 + } 1425 + 1426 + @end 1427 + 1428 + @interface NSHapticFeedbackManager : NSObject 1429 + @end 1430 + 1431 + @implementation NSHapticFeedbackManager 1432 + 1433 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1434 + { 1435 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1436 + } 1437 + 1438 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1439 + { 1440 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1441 + } 1442 + 1443 + @end 1444 + 1445 + @interface NSHelpManager : NSObject 1446 + @end 1447 + 1448 + @implementation NSHelpManager 1449 + 1450 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1451 + { 1452 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1453 + } 1454 + 1455 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1456 + { 1457 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1458 + } 1459 + 1460 + @end 1461 + 1462 + @interface NSIBHelpConnector : NSObject 1463 + @end 1464 + 1465 + @implementation NSIBHelpConnector 1466 + 1467 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1468 + { 1469 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1470 + } 1471 + 1472 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1473 + { 1474 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1475 + } 1476 + 1477 + @end 1478 + 1479 + @interface NSIBObjectData : NSObject 1480 + @end 1481 + 1482 + @implementation NSIBObjectData 1483 + 1484 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1485 + { 1486 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1487 + } 1488 + 1489 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1490 + { 1491 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1492 + } 1493 + 1494 + @end 1495 + 1496 + @interface NSIBUserDefinedRuntimeAttributesConnector : NSObject 1497 + @end 1498 + 1499 + @implementation NSIBUserDefinedRuntimeAttributesConnector 1500 + 1501 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1502 + { 1503 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1504 + } 1505 + 1506 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1507 + { 1508 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1509 + } 1510 + 1511 + @end 1512 + 1513 + @interface NSImage : NSObject 1514 + @end 1515 + 1516 + @implementation NSImage 1517 + 1518 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1519 + { 1520 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1521 + } 1522 + 1523 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1524 + { 1525 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1526 + } 1527 + 1528 + @end 1529 + 1530 + @interface NSImageCell : NSObject 1531 + @end 1532 + 1533 + @implementation NSImageCell 1534 + 1535 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1536 + { 1537 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1538 + } 1539 + 1540 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1541 + { 1542 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1543 + } 1544 + 1545 + @end 1546 + 1547 + @interface NSImageRep : NSObject 1548 + @end 1549 + 1550 + @implementation NSImageRep 1551 + 1552 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1553 + { 1554 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1555 + } 1556 + 1557 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1558 + { 1559 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1560 + } 1561 + 1562 + @end 1563 + 1564 + @interface NSImageView : NSObject 1565 + @end 1566 + 1567 + @implementation NSImageView 1568 + 1569 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1570 + { 1571 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1572 + } 1573 + 1574 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1575 + { 1576 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1577 + } 1578 + 1579 + @end 1580 + 1581 + @interface NSImmediateActionGestureRecognizer : NSObject 1582 + @end 1583 + 1584 + @implementation NSImmediateActionGestureRecognizer 1585 + 1586 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1587 + { 1588 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1589 + } 1590 + 1591 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1592 + { 1593 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1594 + } 1595 + 1596 + @end 1597 + 1598 + @interface NSKeyBindingManager : NSObject 1599 + @end 1600 + 1601 + @implementation NSKeyBindingManager 1602 + 1603 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1604 + { 1605 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1606 + } 1607 + 1608 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1609 + { 1610 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1611 + } 1612 + 1613 + @end 1614 + 1615 + @interface NSLayoutGuide : NSObject 1616 + @end 1617 + 1618 + @implementation NSLayoutGuide 1619 + 1620 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1621 + { 1622 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1623 + } 1624 + 1625 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1626 + { 1627 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1628 + } 1629 + 1630 + @end 1631 + 1632 + @interface NSLayoutManager : NSObject 1633 + @end 1634 + 1635 + @implementation NSLayoutManager 1636 + 1637 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1638 + { 1639 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1640 + } 1641 + 1642 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1643 + { 1644 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1645 + } 1646 + 1647 + @end 1648 + 1649 + @interface NSLevelIndicator : NSObject 1650 + @end 1651 + 1652 + @implementation NSLevelIndicator 1653 + 1654 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1655 + { 1656 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1657 + } 1658 + 1659 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1660 + { 1661 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1662 + } 1663 + 1664 + @end 1665 + 1666 + @interface NSLevelIndicatorCell : NSObject 1667 + @end 1668 + 1669 + @implementation NSLevelIndicatorCell 1670 + 1671 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1672 + { 1673 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1674 + } 1675 + 1676 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1677 + { 1678 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1679 + } 1680 + 1681 + @end 1682 + 1683 + @interface NSMagnificationGestureRecognizer : NSObject 1684 + @end 1685 + 1686 + @implementation NSMagnificationGestureRecognizer 1687 + 1688 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1689 + { 1690 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1691 + } 1692 + 1693 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1694 + { 1695 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1696 + } 1697 + 1698 + @end 1699 + 1700 + @interface NSMatrix : NSObject 1701 + @end 1702 + 1703 + @implementation NSMatrix 1704 + 1705 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1706 + { 1707 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1708 + } 1709 + 1710 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1711 + { 1712 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1713 + } 1714 + 1715 + @end 1716 + 1717 + @interface NSMenu : NSObject 1718 + @end 1719 + 1720 + @implementation NSMenu 1721 + 1722 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1723 + { 1724 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1725 + } 1726 + 1727 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1728 + { 1729 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1730 + } 1731 + 1732 + @end 1733 + 1734 + @interface NSMenuItem : NSObject 1735 + @end 1736 + 1737 + @implementation NSMenuItem 1738 + 1739 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1740 + { 1741 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1742 + } 1743 + 1744 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1745 + { 1746 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1747 + } 1748 + 1749 + @end 1750 + 1751 + @interface NSMenuItemCell : NSObject 1752 + @end 1753 + 1754 + @implementation NSMenuItemCell 1755 + 1756 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1757 + { 1758 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1759 + } 1760 + 1761 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1762 + { 1763 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1764 + } 1765 + 1766 + @end 1767 + 1768 + @interface NSMutableParagraphStyle : NSObject 1769 + @end 1770 + 1771 + @implementation NSMutableParagraphStyle 1772 + 1773 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1774 + { 1775 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1776 + } 1777 + 1778 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1779 + { 1780 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1781 + } 1782 + 1783 + @end 1784 + 1785 + @interface NSNib : NSObject 1786 + @end 1787 + 1788 + @implementation NSNib 1789 + 1790 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1791 + { 1792 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1793 + } 1794 + 1795 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1796 + { 1797 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1798 + } 1799 + 1800 + @end 1801 + 1802 + @interface NSNibAXAttributeConnector : NSObject 1803 + @end 1804 + 1805 + @implementation NSNibAXAttributeConnector 1806 + 1807 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1808 + { 1809 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1810 + } 1811 + 1812 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1813 + { 1814 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1815 + } 1816 + 1817 + @end 1818 + 1819 + @interface NSNibAXRelationshipConnector : NSObject 1820 + @end 1821 + 1822 + @implementation NSNibAXRelationshipConnector 1823 + 1824 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1825 + { 1826 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1827 + } 1828 + 1829 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1830 + { 1831 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1832 + } 1833 + 1834 + @end 1835 + 1836 + @interface NSNibAuxiliaryActionConnector : NSObject 1837 + @end 1838 + 1839 + @implementation NSNibAuxiliaryActionConnector 1840 + 1841 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1842 + { 1843 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1844 + } 1845 + 1846 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1847 + { 1848 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1849 + } 1850 + 1851 + @end 1852 + 1853 + @interface NSNibBindingConnector : NSObject 1854 + @end 1855 + 1856 + @implementation NSNibBindingConnector 1857 + 1858 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1859 + { 1860 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1861 + } 1862 + 1863 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1864 + { 1865 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1866 + } 1867 + 1868 + @end 1869 + 1870 + @interface NSNibControlConnector : NSObject 1871 + @end 1872 + 1873 + @implementation NSNibControlConnector 1874 + 1875 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1876 + { 1877 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1878 + } 1879 + 1880 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1881 + { 1882 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1883 + } 1884 + 1885 + @end 1886 + 1887 + @interface NSNibExternalObjectPlaceholder : NSObject 1888 + @end 1889 + 1890 + @implementation NSNibExternalObjectPlaceholder 1891 + 1892 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1893 + { 1894 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1895 + } 1896 + 1897 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1898 + { 1899 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1900 + } 1901 + 1902 + @end 1903 + 1904 + @interface NSNibOutletConnector : NSObject 1905 + @end 1906 + 1907 + @implementation NSNibOutletConnector 1908 + 1909 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1910 + { 1911 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1912 + } 1913 + 1914 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1915 + { 1916 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1917 + } 1918 + 1919 + @end 1920 + 1921 + @interface NSObjectController : NSObject 1922 + @end 1923 + 1924 + @implementation NSObjectController 1925 + 1926 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1927 + { 1928 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1929 + } 1930 + 1931 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1932 + { 1933 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1934 + } 1935 + 1936 + @end 1937 + 1938 + @interface NSOpenGLContext : NSObject 1939 + @end 1940 + 1941 + @implementation NSOpenGLContext 1942 + 1943 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1944 + { 1945 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1946 + } 1947 + 1948 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1949 + { 1950 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1951 + } 1952 + 1953 + @end 1954 + 1955 + @interface NSOpenGLPixelFormat : NSObject 1956 + @end 1957 + 1958 + @implementation NSOpenGLPixelFormat 1959 + 1960 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1961 + { 1962 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1963 + } 1964 + 1965 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1966 + { 1967 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1968 + } 1969 + 1970 + @end 1971 + 1972 + @interface NSOpenGLView : NSObject 1973 + @end 1974 + 1975 + @implementation NSOpenGLView 1976 + 1977 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1978 + { 1979 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1980 + } 1981 + 1982 + - (void)forwardInvocation:(NSInvocation *)anInvocation 1983 + { 1984 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 1985 + } 1986 + 1987 + @end 1988 + 1989 + @interface NSOpenPanel : NSObject 1990 + @end 1991 + 1992 + @implementation NSOpenPanel 1993 + 1994 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 1995 + { 1996 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 1997 + } 1998 + 1999 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2000 + { 2001 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2002 + } 2003 + 2004 + @end 2005 + 2006 + @interface NSOutlineView : NSObject 2007 + @end 2008 + 2009 + @implementation NSOutlineView 2010 + 2011 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2012 + { 2013 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2014 + } 2015 + 2016 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2017 + { 2018 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2019 + } 2020 + 2021 + @end 2022 + 2023 + @interface NSPDFImageRep : NSObject 2024 + @end 2025 + 2026 + @implementation NSPDFImageRep 2027 + 2028 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2029 + { 2030 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2031 + } 2032 + 2033 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2034 + { 2035 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2036 + } 2037 + 2038 + @end 2039 + 2040 + @interface NSPageController : NSObject 2041 + @end 2042 + 2043 + @implementation NSPageController 2044 + 2045 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2046 + { 2047 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2048 + } 2049 + 2050 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2051 + { 2052 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2053 + } 2054 + 2055 + @end 2056 + 2057 + @interface NSPanGestureRecognizer : NSObject 2058 + @end 2059 + 2060 + @implementation NSPanGestureRecognizer 2061 + 2062 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2063 + { 2064 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2065 + } 2066 + 2067 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2068 + { 2069 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2070 + } 2071 + 2072 + @end 2073 + 2074 + @interface NSPanel : NSObject 2075 + @end 2076 + 2077 + @implementation NSPanel 2078 + 2079 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2080 + { 2081 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2082 + } 2083 + 2084 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2085 + { 2086 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2087 + } 2088 + 2089 + @end 2090 + 2091 + @interface NSParagraphStyle : NSObject 2092 + @end 2093 + 2094 + @implementation NSParagraphStyle 2095 + 2096 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2097 + { 2098 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2099 + } 2100 + 2101 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2102 + { 2103 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2104 + } 2105 + 2106 + @end 2107 + 2108 + @interface NSPasteboard : NSObject 2109 + @end 2110 + 2111 + @implementation NSPasteboard 2112 + 2113 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2114 + { 2115 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2116 + } 2117 + 2118 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2119 + { 2120 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2121 + } 2122 + 2123 + @end 2124 + 2125 + @interface NSPasteboardItem : NSObject 2126 + @end 2127 + 2128 + @implementation NSPasteboardItem 2129 + 2130 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2131 + { 2132 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2133 + } 2134 + 2135 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2136 + { 2137 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2138 + } 2139 + 2140 + @end 2141 + 2142 + @interface NSPathCell : NSObject 2143 + @end 2144 + 2145 + @implementation NSPathCell 2146 + 2147 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2148 + { 2149 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2150 + } 2151 + 2152 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2153 + { 2154 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2155 + } 2156 + 2157 + @end 2158 + 2159 + @interface NSPathComponentCell : NSObject 2160 + @end 2161 + 2162 + @implementation NSPathComponentCell 2163 + 2164 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2165 + { 2166 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2167 + } 2168 + 2169 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2170 + { 2171 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2172 + } 2173 + 2174 + @end 2175 + 2176 + @interface NSPathControl : NSObject 2177 + @end 2178 + 2179 + @implementation NSPathControl 2180 + 2181 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2182 + { 2183 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2184 + } 2185 + 2186 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2187 + { 2188 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2189 + } 2190 + 2191 + @end 2192 + 2193 + @interface NSPopUpButton : NSObject 2194 + @end 2195 + 2196 + @implementation NSPopUpButton 2197 + 2198 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2199 + { 2200 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2201 + } 2202 + 2203 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2204 + { 2205 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2206 + } 2207 + 2208 + @end 2209 + 2210 + @interface NSPopUpButtonCell : NSObject 2211 + @end 2212 + 2213 + @implementation NSPopUpButtonCell 2214 + 2215 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2216 + { 2217 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2218 + } 2219 + 2220 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2221 + { 2222 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2223 + } 2224 + 2225 + @end 2226 + 2227 + @interface NSPopover : NSObject 2228 + @end 2229 + 2230 + @implementation NSPopover 2231 + 2232 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2233 + { 2234 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2235 + } 2236 + 2237 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2238 + { 2239 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2240 + } 2241 + 2242 + @end 2243 + 2244 + @interface NSPopoverTouchBarItem : NSObject 2245 + @end 2246 + 2247 + @implementation NSPopoverTouchBarItem 2248 + 2249 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2250 + { 2251 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2252 + } 2253 + 2254 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2255 + { 2256 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2257 + } 2258 + 2259 + @end 2260 + 2261 + @interface NSPredicateEditor : NSObject 2262 + @end 2263 + 2264 + @implementation NSPredicateEditor 2265 + 2266 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2267 + { 2268 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2269 + } 2270 + 2271 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2272 + { 2273 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2274 + } 2275 + 2276 + @end 2277 + 2278 + @interface NSPredicateEditorRowTemplate : NSObject 2279 + @end 2280 + 2281 + @implementation NSPredicateEditorRowTemplate 2282 + 2283 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2284 + { 2285 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2286 + } 2287 + 2288 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2289 + { 2290 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2291 + } 2292 + 2293 + @end 2294 + 2295 + @interface NSPressGestureRecognizer : NSObject 2296 + @end 2297 + 2298 + @implementation NSPressGestureRecognizer 2299 + 2300 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2301 + { 2302 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2303 + } 2304 + 2305 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2306 + { 2307 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2308 + } 2309 + 2310 + @end 2311 + 2312 + @interface NSPressureConfiguration : NSObject 2313 + @end 2314 + 2315 + @implementation NSPressureConfiguration 2316 + 2317 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2318 + { 2319 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2320 + } 2321 + 2322 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2323 + { 2324 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2325 + } 2326 + 2327 + @end 2328 + 2329 + @interface NSPrintInfo : NSObject 2330 + @end 2331 + 2332 + @implementation NSPrintInfo 2333 + 2334 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2335 + { 2336 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2337 + } 2338 + 2339 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2340 + { 2341 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2342 + } 2343 + 2344 + @end 2345 + 2346 + @interface NSPrintOperation : NSObject 2347 + @end 2348 + 2349 + @implementation NSPrintOperation 2350 + 2351 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2352 + { 2353 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2354 + } 2355 + 2356 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2357 + { 2358 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2359 + } 2360 + 2361 + @end 2362 + 2363 + @interface NSProgressIndicator : NSObject 2364 + @end 2365 + 2366 + @implementation NSProgressIndicator 2367 + 2368 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2369 + { 2370 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2371 + } 2372 + 2373 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2374 + { 2375 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2376 + } 2377 + 2378 + @end 2379 + 2380 + @interface NSPulseGestureRecognizer : NSObject 2381 + @end 2382 + 2383 + @implementation NSPulseGestureRecognizer 2384 + 2385 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2386 + { 2387 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2388 + } 2389 + 2390 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2391 + { 2392 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2393 + } 2394 + 2395 + @end 2396 + 2397 + @interface NSResponder : NSObject 2398 + @end 2399 + 2400 + @implementation NSResponder 2401 + 2402 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2403 + { 2404 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2405 + } 2406 + 2407 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2408 + { 2409 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2410 + } 2411 + 2412 + @end 2413 + 2414 + @interface NSRotationGestureRecognizer : NSObject 2415 + @end 2416 + 2417 + @implementation NSRotationGestureRecognizer 2418 + 2419 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2420 + { 2421 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2422 + } 2423 + 2424 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2425 + { 2426 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2427 + } 2428 + 2429 + @end 2430 + 2431 + @interface NSRuleEditor : NSObject 2432 + @end 2433 + 2434 + @implementation NSRuleEditor 2435 + 2436 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2437 + { 2438 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2439 + } 2440 + 2441 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2442 + { 2443 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2444 + } 2445 + 2446 + @end 2447 + 2448 + @interface NSRulerView : NSObject 2449 + @end 2450 + 2451 + @implementation NSRulerView 2452 + 2453 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2454 + { 2455 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2456 + } 2457 + 2458 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2459 + { 2460 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2461 + } 2462 + 2463 + @end 2464 + 2465 + @interface NSRunningApplication : NSObject 2466 + @end 2467 + 2468 + @implementation NSRunningApplication 2469 + 2470 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2471 + { 2472 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2473 + } 2474 + 2475 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2476 + { 2477 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2478 + } 2479 + 2480 + @end 2481 + 2482 + @interface NSSavePanel : NSObject 2483 + @end 2484 + 2485 + @implementation NSSavePanel 2486 + 2487 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2488 + { 2489 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2490 + } 2491 + 2492 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2493 + { 2494 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2495 + } 2496 + 2497 + @end 2498 + 2499 + @interface NSScreen : NSObject 2500 + @end 2501 + 2502 + @implementation NSScreen 2503 + 2504 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2505 + { 2506 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2507 + } 2508 + 2509 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2510 + { 2511 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2512 + } 2513 + 2514 + @end 2515 + 2516 + @interface NSScrollView : NSObject 2517 + @end 2518 + 2519 + @implementation NSScrollView 2520 + 2521 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2522 + { 2523 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2524 + } 2525 + 2526 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2527 + { 2528 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2529 + } 2530 + 2531 + @end 2532 + 2533 + @interface NSScroller : NSObject 2534 + @end 2535 + 2536 + @implementation NSScroller 2537 + 2538 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2539 + { 2540 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2541 + } 2542 + 2543 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2544 + { 2545 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2546 + } 2547 + 2548 + @end 2549 + 2550 + @interface NSScrollerImpPair : NSObject 2551 + @end 2552 + 2553 + @implementation NSScrollerImpPair 2554 + 2555 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2556 + { 2557 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2558 + } 2559 + 2560 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2561 + { 2562 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2563 + } 2564 + 2565 + @end 2566 + 2567 + @interface NSScrubber : NSObject 2568 + @end 2569 + 2570 + @implementation NSScrubber 2571 + 2572 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2573 + { 2574 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2575 + } 2576 + 2577 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2578 + { 2579 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2580 + } 2581 + 2582 + @end 2583 + 2584 + @interface NSScrubberFlowLayout : NSObject 2585 + @end 2586 + 2587 + @implementation NSScrubberFlowLayout 2588 + 2589 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2590 + { 2591 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2592 + } 2593 + 2594 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2595 + { 2596 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2597 + } 2598 + 2599 + @end 2600 + 2601 + @interface NSScrubberLayout : NSObject 2602 + @end 2603 + 2604 + @implementation NSScrubberLayout 2605 + 2606 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2607 + { 2608 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2609 + } 2610 + 2611 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2612 + { 2613 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2614 + } 2615 + 2616 + @end 2617 + 2618 + @interface NSScrubberProportionalLayout : NSObject 2619 + @end 2620 + 2621 + @implementation NSScrubberProportionalLayout 2622 + 2623 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2624 + { 2625 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2626 + } 2627 + 2628 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2629 + { 2630 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2631 + } 2632 + 2633 + @end 2634 + 2635 + @interface NSSearchField : NSObject 2636 + @end 2637 + 2638 + @implementation NSSearchField 2639 + 2640 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2641 + { 2642 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2643 + } 2644 + 2645 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2646 + { 2647 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2648 + } 2649 + 2650 + @end 2651 + 2652 + @interface NSSearchFieldCell : NSObject 2653 + @end 2654 + 2655 + @implementation NSSearchFieldCell 2656 + 2657 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2658 + { 2659 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2660 + } 2661 + 2662 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2663 + { 2664 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2665 + } 2666 + 2667 + @end 2668 + 2669 + @interface NSSecureTextField : NSObject 2670 + @end 2671 + 2672 + @implementation NSSecureTextField 2673 + 2674 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2675 + { 2676 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2677 + } 2678 + 2679 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2680 + { 2681 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2682 + } 2683 + 2684 + @end 2685 + 2686 + @interface NSSecureTextFieldCell : NSObject 2687 + @end 2688 + 2689 + @implementation NSSecureTextFieldCell 2690 + 2691 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2692 + { 2693 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2694 + } 2695 + 2696 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2697 + { 2698 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2699 + } 2700 + 2701 + @end 2702 + 2703 + @interface NSSegmentedCell : NSObject 2704 + @end 2705 + 2706 + @implementation NSSegmentedCell 2707 + 2708 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2709 + { 2710 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2711 + } 2712 + 2713 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2714 + { 2715 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2716 + } 2717 + 2718 + @end 2719 + 2720 + @interface NSSegmentedControl : NSObject 2721 + @end 2722 + 2723 + @implementation NSSegmentedControl 2724 + 2725 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2726 + { 2727 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2728 + } 2729 + 2730 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2731 + { 2732 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2733 + } 2734 + 2735 + @end 2736 + 2737 + @interface NSShadow : NSObject 2738 + @end 2739 + 2740 + @implementation NSShadow 2741 + 2742 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2743 + { 2744 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2745 + } 2746 + 2747 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2748 + { 2749 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2750 + } 2751 + 2752 + @end 2753 + 2754 + @interface NSSharingService : NSObject 2755 + @end 2756 + 2757 + @implementation NSSharingService 2758 + 2759 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2760 + { 2761 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2762 + } 2763 + 2764 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2765 + { 2766 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2767 + } 2768 + 2769 + @end 2770 + 2771 + @interface NSSharingServicePicker : NSObject 2772 + @end 2773 + 2774 + @implementation NSSharingServicePicker 2775 + 2776 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2777 + { 2778 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2779 + } 2780 + 2781 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2782 + { 2783 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2784 + } 2785 + 2786 + @end 2787 + 2788 + @interface NSSharingServicePickerTouchBarItem : NSObject 2789 + @end 2790 + 2791 + @implementation NSSharingServicePickerTouchBarItem 2792 + 2793 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2794 + { 2795 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2796 + } 2797 + 2798 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2799 + { 2800 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2801 + } 2802 + 2803 + @end 2804 + 2805 + @interface NSSlider : NSObject 2806 + @end 2807 + 2808 + @implementation NSSlider 2809 + 2810 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2811 + { 2812 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2813 + } 2814 + 2815 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2816 + { 2817 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2818 + } 2819 + 2820 + @end 2821 + 2822 + @interface NSSliderAccessory : NSObject 2823 + @end 2824 + 2825 + @implementation NSSliderAccessory 2826 + 2827 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2828 + { 2829 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2830 + } 2831 + 2832 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2833 + { 2834 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2835 + } 2836 + 2837 + @end 2838 + 2839 + @interface NSSliderAccessoryBehavior : NSObject 2840 + @end 2841 + 2842 + @implementation NSSliderAccessoryBehavior 2843 + 2844 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2845 + { 2846 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2847 + } 2848 + 2849 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2850 + { 2851 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2852 + } 2853 + 2854 + @end 2855 + 2856 + @interface NSSliderCell : NSObject 2857 + @end 2858 + 2859 + @implementation NSSliderCell 2860 + 2861 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2862 + { 2863 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2864 + } 2865 + 2866 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2867 + { 2868 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2869 + } 2870 + 2871 + @end 2872 + 2873 + @interface NSSliderTouchBarItem : NSObject 2874 + @end 2875 + 2876 + @implementation NSSliderTouchBarItem 2877 + 2878 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2879 + { 2880 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2881 + } 2882 + 2883 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2884 + { 2885 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2886 + } 2887 + 2888 + @end 2889 + 2890 + @interface NSSound : NSObject 2891 + @end 2892 + 2893 + @implementation NSSound 2894 + 2895 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2896 + { 2897 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2898 + } 2899 + 2900 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2901 + { 2902 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2903 + } 2904 + 2905 + @end 2906 + 2907 + @interface NSSpaceTouchBarItem : NSObject 2908 + @end 2909 + 2910 + @implementation NSSpaceTouchBarItem 2911 + 2912 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2913 + { 2914 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2915 + } 2916 + 2917 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2918 + { 2919 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2920 + } 2921 + 2922 + @end 2923 + 2924 + @interface NSSpeechSynthesizer : NSObject 2925 + @end 2926 + 2927 + @implementation NSSpeechSynthesizer 2928 + 2929 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2930 + { 2931 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2932 + } 2933 + 2934 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2935 + { 2936 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2937 + } 2938 + 2939 + @end 2940 + 2941 + @interface NSSpellChecker : NSObject 2942 + @end 2943 + 2944 + @implementation NSSpellChecker 2945 + 2946 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2947 + { 2948 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2949 + } 2950 + 2951 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2952 + { 2953 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2954 + } 2955 + 2956 + @end 2957 + 2958 + @interface NSSplitView : NSObject 2959 + @end 2960 + 2961 + @implementation NSSplitView 2962 + 2963 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2964 + { 2965 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2966 + } 2967 + 2968 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2969 + { 2970 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2971 + } 2972 + 2973 + @end 2974 + 2975 + @interface NSSplitViewController : NSObject 2976 + @end 2977 + 2978 + @implementation NSSplitViewController 2979 + 2980 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2981 + { 2982 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 2983 + } 2984 + 2985 + - (void)forwardInvocation:(NSInvocation *)anInvocation 2986 + { 2987 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 2988 + } 2989 + 2990 + @end 2991 + 2992 + @interface NSSplitViewItem : NSObject 2993 + @end 2994 + 2995 + @implementation NSSplitViewItem 2996 + 2997 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 2998 + { 2999 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3000 + } 3001 + 3002 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3003 + { 3004 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3005 + } 3006 + 3007 + @end 3008 + 3009 + @interface NSStackView : NSObject 3010 + @end 3011 + 3012 + @implementation NSStackView 3013 + 3014 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3015 + { 3016 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3017 + } 3018 + 3019 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3020 + { 3021 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3022 + } 3023 + 3024 + @end 3025 + 3026 + @interface NSStatusBar : NSObject 3027 + @end 3028 + 3029 + @implementation NSStatusBar 3030 + 3031 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3032 + { 3033 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3034 + } 3035 + 3036 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3037 + { 3038 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3039 + } 3040 + 3041 + @end 3042 + 3043 + @interface NSStepper : NSObject 3044 + @end 3045 + 3046 + @implementation NSStepper 3047 + 3048 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3049 + { 3050 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3051 + } 3052 + 3053 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3054 + { 3055 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3056 + } 3057 + 3058 + @end 3059 + 3060 + @interface NSStepperCell : NSObject 3061 + @end 3062 + 3063 + @implementation NSStepperCell 3064 + 3065 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3066 + { 3067 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3068 + } 3069 + 3070 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3071 + { 3072 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3073 + } 3074 + 3075 + @end 3076 + 3077 + @interface NSStoryboard : NSObject 3078 + @end 3079 + 3080 + @implementation NSStoryboard 3081 + 3082 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3083 + { 3084 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3085 + } 3086 + 3087 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3088 + { 3089 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3090 + } 3091 + 3092 + @end 3093 + 3094 + @interface NSStoryboardControllerPlaceholder : NSObject 3095 + @end 3096 + 3097 + @implementation NSStoryboardControllerPlaceholder 3098 + 3099 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3100 + { 3101 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3102 + } 3103 + 3104 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3105 + { 3106 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3107 + } 3108 + 3109 + @end 3110 + 3111 + @interface NSSwitch : NSObject 3112 + @end 3113 + 3114 + @implementation NSSwitch 3115 + 3116 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3117 + { 3118 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3119 + } 3120 + 3121 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3122 + { 3123 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3124 + } 3125 + 3126 + @end 3127 + 3128 + @interface NSTabView : NSObject 3129 + @end 3130 + 3131 + @implementation NSTabView 3132 + 3133 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3134 + { 3135 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3136 + } 3137 + 3138 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3139 + { 3140 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3141 + } 3142 + 3143 + @end 3144 + 3145 + @interface NSTabViewController : NSObject 3146 + @end 3147 + 3148 + @implementation NSTabViewController 3149 + 3150 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3151 + { 3152 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3153 + } 3154 + 3155 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3156 + { 3157 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3158 + } 3159 + 3160 + @end 3161 + 3162 + @interface NSTabViewItem : NSObject 3163 + @end 3164 + 3165 + @implementation NSTabViewItem 3166 + 3167 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3168 + { 3169 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3170 + } 3171 + 3172 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3173 + { 3174 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3175 + } 3176 + 3177 + @end 3178 + 3179 + @interface NSTableCellView : NSObject 3180 + @end 3181 + 3182 + @implementation NSTableCellView 3183 + 3184 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3185 + { 3186 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3187 + } 3188 + 3189 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3190 + { 3191 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3192 + } 3193 + 3194 + @end 3195 + 3196 + @interface NSTableColumn : NSObject 3197 + @end 3198 + 3199 + @implementation NSTableColumn 3200 + 3201 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3202 + { 3203 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3204 + } 3205 + 3206 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3207 + { 3208 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3209 + } 3210 + 3211 + @end 3212 + 3213 + @interface NSTableHeaderCell : NSObject 3214 + @end 3215 + 3216 + @implementation NSTableHeaderCell 3217 + 3218 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3219 + { 3220 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3221 + } 3222 + 3223 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3224 + { 3225 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3226 + } 3227 + 3228 + @end 3229 + 3230 + @interface NSTableHeaderView : NSObject 3231 + @end 3232 + 3233 + @implementation NSTableHeaderView 3234 + 3235 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3236 + { 3237 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3238 + } 3239 + 3240 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3241 + { 3242 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3243 + } 3244 + 3245 + @end 3246 + 3247 + @interface NSTableRowView : NSObject 3248 + @end 3249 + 3250 + @implementation NSTableRowView 3251 + 3252 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3253 + { 3254 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3255 + } 3256 + 3257 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3258 + { 3259 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3260 + } 3261 + 3262 + @end 3263 + 3264 + @interface NSTableView : NSObject 3265 + @end 3266 + 3267 + @implementation NSTableView 3268 + 3269 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3270 + { 3271 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3272 + } 3273 + 3274 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3275 + { 3276 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3277 + } 3278 + 3279 + @end 3280 + 3281 + @interface NSTableViewRowAction : NSObject 3282 + @end 3283 + 3284 + @implementation NSTableViewRowAction 3285 + 3286 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3287 + { 3288 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3289 + } 3290 + 3291 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3292 + { 3293 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3294 + } 3295 + 3296 + @end 3297 + 3298 + @interface NSText : NSObject 3299 + @end 3300 + 3301 + @implementation NSText 3302 + 3303 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3304 + { 3305 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3306 + } 3307 + 3308 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3309 + { 3310 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3311 + } 3312 + 3313 + @end 3314 + 3315 + @interface NSTextAttachment : NSObject 3316 + @end 3317 + 3318 + @implementation NSTextAttachment 3319 + 3320 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3321 + { 3322 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3323 + } 3324 + 3325 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3326 + { 3327 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3328 + } 3329 + 3330 + @end 3331 + 3332 + @interface NSTextAttachmentCell : NSObject 3333 + @end 3334 + 3335 + @implementation NSTextAttachmentCell 3336 + 3337 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3338 + { 3339 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3340 + } 3341 + 3342 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3343 + { 3344 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3345 + } 3346 + 3347 + @end 3348 + 3349 + @interface NSTextContainer : NSObject 3350 + @end 3351 + 3352 + @implementation NSTextContainer 3353 + 3354 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3355 + { 3356 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3357 + } 3358 + 3359 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3360 + { 3361 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3362 + } 3363 + 3364 + @end 3365 + 3366 + @interface NSTextField : NSObject 3367 + @end 3368 + 3369 + @implementation NSTextField 3370 + 3371 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3372 + { 3373 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3374 + } 3375 + 3376 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3377 + { 3378 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3379 + } 3380 + 3381 + @end 3382 + 3383 + @interface NSTextFieldCell : NSObject 3384 + @end 3385 + 3386 + @implementation NSTextFieldCell 3387 + 3388 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3389 + { 3390 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3391 + } 3392 + 3393 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3394 + { 3395 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3396 + } 3397 + 3398 + @end 3399 + 3400 + @interface NSTextFinder : NSObject 3401 + @end 3402 + 3403 + @implementation NSTextFinder 3404 + 3405 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3406 + { 3407 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3408 + } 3409 + 3410 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3411 + { 3412 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3413 + } 3414 + 3415 + @end 3416 + 3417 + @interface NSTextList : NSObject 3418 + @end 3419 + 3420 + @implementation NSTextList 3421 + 3422 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3423 + { 3424 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3425 + } 3426 + 3427 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3428 + { 3429 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3430 + } 3431 + 3432 + @end 3433 + 3434 + @interface NSTextStorage : NSObject 3435 + @end 3436 + 3437 + @implementation NSTextStorage 3438 + 3439 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3440 + { 3441 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3442 + } 3443 + 3444 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3445 + { 3446 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3447 + } 3448 + 3449 + @end 3450 + 3451 + @interface NSTextTab : NSObject 3452 + @end 3453 + 3454 + @implementation NSTextTab 3455 + 3456 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3457 + { 3458 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3459 + } 3460 + 3461 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3462 + { 3463 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3464 + } 3465 + 3466 + @end 3467 + 3468 + @interface NSTextView : NSObject 3469 + @end 3470 + 3471 + @implementation NSTextView 3472 + 3473 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3474 + { 3475 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3476 + } 3477 + 3478 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3479 + { 3480 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3481 + } 3482 + 3483 + @end 3484 + 3485 + @interface NSTitlebarAccessoryViewController : NSObject 3486 + @end 3487 + 3488 + @implementation NSTitlebarAccessoryViewController 3489 + 3490 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3491 + { 3492 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3493 + } 3494 + 3495 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3496 + { 3497 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3498 + } 3499 + 3500 + @end 3501 + 3502 + @interface NSTokenAttachment : NSObject 3503 + @end 3504 + 3505 + @implementation NSTokenAttachment 3506 + 3507 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3508 + { 3509 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3510 + } 3511 + 3512 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3513 + { 3514 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3515 + } 3516 + 3517 + @end 3518 + 3519 + @interface NSTokenAttachmentCell : NSObject 3520 + @end 3521 + 3522 + @implementation NSTokenAttachmentCell 3523 + 3524 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3525 + { 3526 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3527 + } 3528 + 3529 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3530 + { 3531 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3532 + } 3533 + 3534 + @end 3535 + 3536 + @interface NSTokenField : NSObject 3537 + @end 3538 + 3539 + @implementation NSTokenField 3540 + 3541 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3542 + { 3543 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3544 + } 3545 + 3546 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3547 + { 3548 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3549 + } 3550 + 3551 + @end 3552 + 3553 + @interface NSTokenFieldCell : NSObject 3554 + @end 3555 + 3556 + @implementation NSTokenFieldCell 3557 + 3558 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3559 + { 3560 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3561 + } 3562 + 3563 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3564 + { 3565 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3566 + } 3567 + 3568 + @end 3569 + 3570 + @interface NSToolTipPanel : NSObject 3571 + @end 3572 + 3573 + @implementation NSToolTipPanel 3574 + 3575 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3576 + { 3577 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3578 + } 3579 + 3580 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3581 + { 3582 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3583 + } 3584 + 3585 + @end 3586 + 3587 + @interface NSToolbar : NSObject 3588 + @end 3589 + 3590 + @implementation NSToolbar 3591 + 3592 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3593 + { 3594 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3595 + } 3596 + 3597 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3598 + { 3599 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3600 + } 3601 + 3602 + @end 3603 + 3604 + @interface NSToolbarItem : NSObject 3605 + @end 3606 + 3607 + @implementation NSToolbarItem 3608 + 3609 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3610 + { 3611 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3612 + } 3613 + 3614 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3615 + { 3616 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3617 + } 3618 + 3619 + @end 3620 + 3621 + @interface NSTouchBar : NSObject 3622 + @end 3623 + 3624 + @implementation NSTouchBar 3625 + 3626 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3627 + { 3628 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3629 + } 3630 + 3631 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3632 + { 3633 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3634 + } 3635 + 3636 + @end 3637 + 3638 + @interface NSTouchBarItem : NSObject 3639 + @end 3640 + 3641 + @implementation NSTouchBarItem 3642 + 3643 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3644 + { 3645 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3646 + } 3647 + 3648 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3649 + { 3650 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3651 + } 3652 + 3653 + @end 3654 + 3655 + @interface NSTouchBarItemContainerView : NSObject 3656 + @end 3657 + 3658 + @implementation NSTouchBarItemContainerView 3659 + 3660 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3661 + { 3662 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3663 + } 3664 + 3665 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3666 + { 3667 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3668 + } 3669 + 3670 + @end 3671 + 3672 + @interface NSTouchBarView : NSObject 3673 + @end 3674 + 3675 + @implementation NSTouchBarView 3676 + 3677 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3678 + { 3679 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3680 + } 3681 + 3682 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3683 + { 3684 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3685 + } 3686 + 3687 + @end 3688 + 3689 + @interface NSTouchDevice : NSObject 3690 + @end 3691 + 3692 + @implementation NSTouchDevice 3693 + 3694 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3695 + { 3696 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3697 + } 3698 + 3699 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3700 + { 3701 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3702 + } 3703 + 3704 + @end 3705 + 3706 + @interface NSTrackingArea : NSObject 3707 + @end 3708 + 3709 + @implementation NSTrackingArea 3710 + 3711 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3712 + { 3713 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3714 + } 3715 + 3716 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3717 + { 3718 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3719 + } 3720 + 3721 + @end 3722 + 3723 + @interface NSTreeController : NSObject 3724 + @end 3725 + 3726 + @implementation NSTreeController 3727 + 3728 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3729 + { 3730 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3731 + } 3732 + 3733 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3734 + { 3735 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3736 + } 3737 + 3738 + @end 3739 + 3740 + @interface NSTreeNode : NSObject 3741 + @end 3742 + 3743 + @implementation NSTreeNode 3744 + 3745 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3746 + { 3747 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3748 + } 3749 + 3750 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3751 + { 3752 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3753 + } 3754 + 3755 + @end 3756 + 3757 + @interface NSTypesetter : NSObject 3758 + @end 3759 + 3760 + @implementation NSTypesetter 3761 + 3762 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3763 + { 3764 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3765 + } 3766 + 3767 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3768 + { 3769 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3770 + } 3771 + 3772 + @end 3773 + 3774 + @interface NSUndoReplaceCharacters : NSObject 3775 + @end 3776 + 3777 + @implementation NSUndoReplaceCharacters 3778 + 3779 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3780 + { 3781 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3782 + } 3783 + 3784 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3785 + { 3786 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3787 + } 3788 + 3789 + @end 3790 + 3791 + @interface NSUndoTextOperation : NSObject 3792 + @end 3793 + 3794 + @implementation NSUndoTextOperation 3795 + 3796 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3797 + { 3798 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3799 + } 3800 + 3801 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3802 + { 3803 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3804 + } 3805 + 3806 + @end 3807 + 3808 + @interface NSUndoTyping : NSObject 3809 + @end 3810 + 3811 + @implementation NSUndoTyping 3812 + 3813 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3814 + { 3815 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3816 + } 3817 + 3818 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3819 + { 3820 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3821 + } 3822 + 3823 + @end 3824 + 3825 + @interface NSUserDefaultsController : NSObject 3826 + @end 3827 + 3828 + @implementation NSUserDefaultsController 3829 + 3830 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3831 + { 3832 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3833 + } 3834 + 3835 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3836 + { 3837 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3838 + } 3839 + 3840 + @end 3841 + 3842 + @interface NSView : NSObject 3843 + @end 3844 + 3845 + @implementation NSView 3846 + 3847 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3848 + { 3849 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3850 + } 3851 + 3852 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3853 + { 3854 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3855 + } 3856 + 3857 + @end 3858 + 3859 + @interface NSViewAnimation : NSObject 3860 + @end 3861 + 3862 + @implementation NSViewAnimation 3863 + 3864 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3865 + { 3866 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3867 + } 3868 + 3869 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3870 + { 3871 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3872 + } 3873 + 3874 + @end 3875 + 3876 + @interface NSViewController : NSObject 3877 + @end 3878 + 3879 + @implementation NSViewController 3880 + 3881 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3882 + { 3883 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3884 + } 3885 + 3886 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3887 + { 3888 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3889 + } 3890 + 3891 + @end 3892 + 3893 + @interface NSViewTextAttachmentCell : NSObject 3894 + @end 3895 + 3896 + @implementation NSViewTextAttachmentCell 3897 + 3898 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3899 + { 3900 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3901 + } 3902 + 3903 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3904 + { 3905 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3906 + } 3907 + 3908 + @end 3909 + 3910 + @interface NSVisualEffectView : NSObject 3911 + @end 3912 + 3913 + @implementation NSVisualEffectView 3914 + 3915 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3916 + { 3917 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3918 + } 3919 + 3920 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3921 + { 3922 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3923 + } 3924 + 3925 + @end 3926 + 3927 + @interface NSWindow : NSObject 3928 + @end 3929 + 3930 + @implementation NSWindow 3931 + 3932 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3933 + { 3934 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3935 + } 3936 + 3937 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3938 + { 3939 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3940 + } 3941 + 3942 + @end 3943 + 3944 + @interface NSWindowController : NSObject 3945 + @end 3946 + 3947 + @implementation NSWindowController 3948 + 3949 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3950 + { 3951 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3952 + } 3953 + 3954 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3955 + { 3956 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3957 + } 3958 + 3959 + @end 3960 + 3961 + @interface NSWindowTemplate : NSObject 3962 + @end 3963 + 3964 + @implementation NSWindowTemplate 3965 + 3966 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3967 + { 3968 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3969 + } 3970 + 3971 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3972 + { 3973 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3974 + } 3975 + 3976 + @end 3977 + 3978 + @interface NSWorkspace : NSObject 3979 + @end 3980 + 3981 + @implementation NSWorkspace 3982 + 3983 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 3984 + { 3985 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 3986 + } 3987 + 3988 + - (void)forwardInvocation:(NSInvocation *)anInvocation 3989 + { 3990 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 3991 + } 3992 + 3993 + @end 3994 + 3995 + @interface UINibEncoder : NSObject 3996 + @end 3997 + 3998 + @implementation UINibEncoder 3999 + 4000 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 4001 + { 4002 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 4003 + } 4004 + 4005 + - (void)forwardInvocation:(NSInvocation *)anInvocation 4006 + { 4007 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 4008 + } 4009 + 4010 + @end 4011 + 4012 + @interface NSObject (BindingSupport) 4013 + @end 4014 + 4015 + @implementation NSObject (BindingSupport) 4016 + 4017 + - (id)bind: (id)bind toObject: (id)toObject withKeyPath: (id)withKeyPath options: (id)options 4018 + { 4019 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 4020 + return nil; 4021 + } 4022 + 4023 + - (id)infoForBinding: (id)infoForBinding 4024 + { 4025 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 4026 + return nil; 4027 + } 4028 + 4029 + - (id)unbind: (id)unbind 4030 + { 4031 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 4032 + return nil; 4033 + } 4034 + 4035 + @end 4036 + 4037 + @interface NSObject (NSKeyValueBindingCreation) 4038 + @end 4039 + 4040 + @implementation NSObject (NSKeyValueBindingCreation) 4041 + 4042 + - (id)exposedBindings 4043 + { 4044 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector(_cmd), [self class]); 4045 + return nil; 4046 + } 4047 + 4048 + @end 4049 +
+764
src/frameworks/dev-stubs/AppKit/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #import <CoreGraphics/CGGeometry.h> 26 + 27 + #include <stdlib.h> 28 + #include <stdio.h> 29 + 30 + static int verbose = 0; 31 + 32 + __attribute__((constructor)) 33 + static void initme(void) { 34 + verbose = getenv("STUB_VERBOSE") != NULL; 35 + } 36 + 37 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 38 + 39 + #define LOG_FUNC __simple_kprintf 40 + 41 + NSString *const IBCocoaFramework = @"IBCocoaFramework"; 42 + NSString *const NSAccessibilityActivationPointAttribute = @"NSAccessibilityActivationPointAttribute"; 43 + NSString *const NSAccessibilityAnnouncementKey = @"NSAccessibilityAnnouncementKey"; 44 + NSString *const NSAccessibilityAnnouncementRequestedNotification = @"NSAccessibilityAnnouncementRequestedNotification"; 45 + NSString *const NSAccessibilityBackgroundColorTextAttribute = @"NSAccessibilityBackgroundColorTextAttribute"; 46 + NSString *const NSAccessibilityButtonRole = @"NSAccessibilityButtonRole"; 47 + NSString *const NSAccessibilityCancelAction = @"NSAccessibilityCancelAction"; 48 + NSString *const NSAccessibilityCellRole = @"NSAccessibilityCellRole"; 49 + NSString *const NSAccessibilityCheckBoxRole = @"NSAccessibilityCheckBoxRole"; 50 + NSString *const NSAccessibilityChildrenAttribute = @"NSAccessibilityChildrenAttribute"; 51 + NSString *const NSAccessibilityComboBoxRole = @"NSAccessibilityComboBoxRole"; 52 + NSString *const NSAccessibilityCreatedNotification = @"NSAccessibilityCreatedNotification"; 53 + NSString *const NSAccessibilityDecrementAction = @"NSAccessibilityDecrementAction"; 54 + NSString *const NSAccessibilityDescriptionAttribute = @"NSAccessibilityDescriptionAttribute"; 55 + NSString *const NSAccessibilityDisclosureTriangleRole = @"NSAccessibilityDisclosureTriangleRole"; 56 + NSString *const NSAccessibilityEnabledAttribute = @"NSAccessibilityEnabledAttribute"; 57 + NSString *const NSAccessibilityEventProcessedNotification = @"NSAccessibilityEventProcessedNotification"; 58 + NSString *const NSAccessibilityEventSourceProcessIDKey = @"NSAccessibilityEventSourceProcessIDKey"; 59 + NSString *const NSAccessibilityEventSourceStateIDKey = @"NSAccessibilityEventSourceStateIDKey"; 60 + NSString *const NSAccessibilityEventSourceUserDataKey = @"NSAccessibilityEventSourceUserDataKey"; 61 + NSString *const NSAccessibilityFocusedAttribute = @"NSAccessibilityFocusedAttribute"; 62 + NSString *const NSAccessibilityFocusedUIElementAttribute = @"NSAccessibilityFocusedUIElementAttribute"; 63 + NSString *const NSAccessibilityFontTextAttribute = @"NSAccessibilityFontTextAttribute"; 64 + NSString *const NSAccessibilityForegroundColorTextAttribute = @"NSAccessibilityForegroundColorTextAttribute"; 65 + NSString *const NSAccessibilityGroupRole = @"NSAccessibilityGroupRole"; 66 + NSString *const NSAccessibilityHelpAttribute = @"NSAccessibilityHelpAttribute"; 67 + NSString *const NSAccessibilityHorizontalOrientationValue = @"NSAccessibilityHorizontalOrientationValue"; 68 + NSString *const NSAccessibilityIdentifierAttribute = @"NSAccessibilityIdentifierAttribute"; 69 + NSString *const NSAccessibilityImageRole = @"NSAccessibilityImageRole"; 70 + NSString *const NSAccessibilityIncrementAction = @"NSAccessibilityIncrementAction"; 71 + NSString *const NSAccessibilityIncrementorRole = @"NSAccessibilityIncrementorRole"; 72 + NSString *const NSAccessibilityLayoutAreaRole = @"NSAccessibilityLayoutAreaRole"; 73 + NSString *const NSAccessibilityLayoutChangedNotification = @"NSAccessibilityLayoutChangedNotification"; 74 + NSString *const NSAccessibilityLinkRole = @"NSAccessibilityLinkRole"; 75 + NSString *const NSAccessibilityLinkedUIElementsAttribute = @"NSAccessibilityLinkedUIElementsAttribute"; 76 + NSString *const NSAccessibilityMainThreadIdleNotification = @"NSAccessibilityMainThreadIdleNotification"; 77 + NSString *const NSAccessibilityMaxValueAttribute = @"NSAccessibilityMaxValueAttribute"; 78 + NSString *const NSAccessibilityMenuButtonRole = @"NSAccessibilityMenuButtonRole"; 79 + NSString *const NSAccessibilityMenuItemRole = @"NSAccessibilityMenuItemRole"; 80 + NSString *const NSAccessibilityMenuRole = @"NSAccessibilityMenuRole"; 81 + NSString *const NSAccessibilityMinValueAttribute = @"NSAccessibilityMinValueAttribute"; 82 + NSString *const NSAccessibilityOrientationAttribute = @"NSAccessibilityOrientationAttribute"; 83 + NSString *const NSAccessibilityOutlineRole = @"NSAccessibilityOutlineRole"; 84 + NSString *const NSAccessibilityOutlineRowSubrole = @"NSAccessibilityOutlineRowSubrole"; 85 + NSString *const NSAccessibilityParentAttribute = @"NSAccessibilityParentAttribute"; 86 + NSString *const NSAccessibilityPopUpButtonRole = @"NSAccessibilityPopUpButtonRole"; 87 + NSString *const NSAccessibilityPositionAttribute = @"NSAccessibilityPositionAttribute"; 88 + NSString *const NSAccessibilityPressAction = @"NSAccessibilityPressAction"; 89 + NSString *const NSAccessibilityPriorityKey = @"NSAccessibilityPriorityKey"; 90 + NSString *const NSAccessibilityProgressIndicatorRole = @"NSAccessibilityProgressIndicatorRole"; 91 + NSString *const NSAccessibilityRadioButtonRole = @"NSAccessibilityRadioButtonRole"; 92 + NSString *const NSAccessibilityRadioGroupRole = @"NSAccessibilityRadioGroupRole"; 93 + NSString *const NSAccessibilityRoleAttribute = @"NSAccessibilityRoleAttribute"; 94 + NSString *const NSAccessibilityRoleDescriptionAttribute = @"NSAccessibilityRoleDescriptionAttribute"; 95 + NSString *const NSAccessibilityRowCountChangedNotification = @"NSAccessibilityRowCountChangedNotification"; 96 + NSString *const NSAccessibilityRowRole = @"NSAccessibilityRowRole"; 97 + NSString *const NSAccessibilitySearchFieldSubrole = @"NSAccessibilitySearchFieldSubrole"; 98 + NSString *const NSAccessibilitySelectedAttribute = @"NSAccessibilitySelectedAttribute"; 99 + NSString *const NSAccessibilitySelectedRowsChangedNotification = @"NSAccessibilitySelectedRowsChangedNotification"; 100 + NSString *const NSAccessibilitySelectedTextChangedNotification = @"NSAccessibilitySelectedTextChangedNotification"; 101 + NSString *const NSAccessibilityShowMenuAction = @"NSAccessibilityShowMenuAction"; 102 + NSString *const NSAccessibilitySizeAttribute = @"NSAccessibilitySizeAttribute"; 103 + NSString *const NSAccessibilitySplitGroupRole = @"NSAccessibilitySplitGroupRole"; 104 + NSString *const NSAccessibilitySplitterRole = @"NSAccessibilitySplitterRole"; 105 + NSString *const NSAccessibilityStaticTextRole = @"NSAccessibilityStaticTextRole"; 106 + NSString *const NSAccessibilitySupportsMainThreadIdleNotificationAttribute = @"NSAccessibilitySupportsMainThreadIdleNotificationAttribute"; 107 + NSString *const NSAccessibilityTextAreaRole = @"NSAccessibilityTextAreaRole"; 108 + NSString *const NSAccessibilityTextFieldRole = @"NSAccessibilityTextFieldRole"; 109 + NSString *const NSAccessibilityTitleAttribute = @"NSAccessibilityTitleAttribute"; 110 + NSString *const NSAccessibilityTitleChangedNotification = @"NSAccessibilityTitleChangedNotification"; 111 + NSString *const NSAccessibilityTitleUIElementAttribute = @"NSAccessibilityTitleUIElementAttribute"; 112 + NSString *const NSAccessibilityToggleSubrole = @"NSAccessibilityToggleSubrole"; 113 + NSString *const NSAccessibilityTopLevelUIElementAttribute = @"NSAccessibilityTopLevelUIElementAttribute"; 114 + NSString *const NSAccessibilityUIElementDestroyedNotification = @"NSAccessibilityUIElementDestroyedNotification"; 115 + NSString *const NSAccessibilityUIElementsKey = @"NSAccessibilityUIElementsKey"; 116 + NSString *const NSAccessibilityUnknownRole = @"NSAccessibilityUnknownRole"; 117 + NSString *const NSAccessibilityUnknownSubrole = @"NSAccessibilityUnknownSubrole"; 118 + NSString *const NSAccessibilityValueAttribute = @"NSAccessibilityValueAttribute"; 119 + NSString *const NSAccessibilityValueChangedNotification = @"NSAccessibilityValueChangedNotification"; 120 + NSString *const NSAccessibilityVisibleChildrenAttribute = @"NSAccessibilityVisibleChildrenAttribute"; 121 + NSString *const NSAccessibilityWindowAttribute = @"NSAccessibilityWindowAttribute"; 122 + NSString *const NSAccessibilityWindowRole = @"NSAccessibilityWindowRole"; 123 + NSString *const NSAllRomanInputSourcesLocaleIdentifier = @"NSAllRomanInputSourcesLocaleIdentifier"; 124 + NSString *const NSAllowsNullArgumentBindingOption = @"NSAllowsNullArgumentBindingOption"; 125 + NSString *const NSAnimateBinding = @"NSAnimateBinding"; 126 + NSObject *NSApp = nil; 127 + const double NSAppKitVersionNumber = 1504; 128 + NSString *const NSAppearanceNameAccessibilityHighContrastAqua = @"NSAppearanceNameAccessibilityHighContrastAqua"; 129 + NSString *const NSAppearanceNameAccessibilityHighContrastDarkAqua = @"NSAppearanceNameAccessibilityHighContrastDarkAqua"; 130 + NSString *const NSAppearanceNameAccessibilityHighContrastSystem = @"NSAppearanceNameAccessibilityHighContrastSystem"; 131 + NSString *const NSAppearanceNameAccessibilityHighContrastVibrantDark = @"NSAppearanceNameAccessibilityHighContrastVibrantDark"; 132 + NSString *const NSAppearanceNameAccessibilityHighContrastVibrantLight = @"NSAppearanceNameAccessibilityHighContrastVibrantLight"; 133 + NSString *const NSAppearanceNameAqua = @"NSAppearanceNameAqua"; 134 + NSString *const NSAppearanceNameControlStrip = @"NSAppearanceNameControlStrip"; 135 + NSString *const NSAppearanceNameDarkAqua = @"NSAppearanceNameDarkAqua"; 136 + NSString *const NSAppearanceNameSystem = @"NSAppearanceNameSystem"; 137 + NSString *const NSAppearanceNameTouchBar = @"NSAppearanceNameTouchBar"; 138 + NSString *const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; 139 + NSString *const NSAppearanceNameVibrantLight = @"NSAppearanceNameVibrantLight"; 140 + NSString *const NSApplicationDidBecomeActiveNotification = @"NSApplicationDidBecomeActiveNotification"; 141 + NSString *const NSApplicationDidResignActiveNotification = @"NSApplicationDidResignActiveNotification"; 142 + NSString *const NSApplicationWillHideNotification = @"NSApplicationWillHideNotification"; 143 + NSString *const NSApplicationWillResignActiveNotification = @"NSApplicationWillResignActiveNotification"; 144 + NSString *const NSApplicationWillTerminateNotification = @"NSApplicationWillTerminateNotification"; 145 + NSString *const NSApplicationWillUpdateNotification = @"NSApplicationWillUpdateNotification"; 146 + NSString *const NSAttachmentAttributeName = @"NSAttachmentAttributeName"; 147 + NSString *const NSAuthorDocumentAttribute = @"NSAuthorDocumentAttribute"; 148 + NSString *const NSBackgroundColorAttributeName = @"NSBackgroundColorAttributeName"; 149 + NSString *const NSBackgroundColorDocumentAttribute = @"NSBackgroundColorDocumentAttribute"; 150 + NSString *const NSBaseURLDocumentOption = @"NSBaseURLDocumentOption"; 151 + NSString *const NSBaselineOffsetAttributeName = @"NSBaselineOffsetAttributeName"; 152 + NSString *const NSBottomMarginDocumentAttribute = @"NSBottomMarginDocumentAttribute"; 153 + NSString *const NSCalibratedRGBColorSpace = @"NSCalibratedRGBColorSpace"; 154 + NSString *const NSCalibratedWhiteColorSpace = @"NSCalibratedWhiteColorSpace"; 155 + NSString *const NSCharacterEncodingDocumentAttribute = @"NSCharacterEncodingDocumentAttribute"; 156 + NSString *const NSCharacterEncodingDocumentOption = @"NSCharacterEncodingDocumentOption"; 157 + NSString *const NSCocoaVersionDocumentAttribute = @"NSCocoaVersionDocumentAttribute"; 158 + NSString *const NSCollectionElementKindSectionFooter = @"NSCollectionElementKindSectionFooter"; 159 + NSString *const NSCollectionElementKindSectionHeader = @"NSCollectionElementKindSectionHeader"; 160 + NSString *const NSColorPanelColorDidChangeNotification = @"NSColorPanelColorDidChangeNotification"; 161 + NSString *const NSCommentDocumentAttribute = @"NSCommentDocumentAttribute"; 162 + NSString *const NSCompanyDocumentAttribute = @"NSCompanyDocumentAttribute"; 163 + NSString *const NSConditionallySetsEditableBindingOption = @"NSConditionallySetsEditableBindingOption"; 164 + NSString *const NSConditionallySetsEnabledBindingOption = @"NSConditionallySetsEnabledBindingOption"; 165 + NSString *const NSContentArrayBinding = @"NSContentArrayBinding"; 166 + NSString *const NSContentArrayForMultipleSelectionBinding = @"NSContentArrayForMultipleSelectionBinding"; 167 + NSString *const NSContentBinding = @"NSContentBinding"; 168 + NSString *const NSContentObjectBinding = @"NSContentObjectBinding"; 169 + NSString *const NSContentObjectsBinding = @"NSContentObjectsBinding"; 170 + NSString *const NSContentSetBinding = @"NSContentSetBinding"; 171 + NSString *const NSContentValuesBinding = @"NSContentValuesBinding"; 172 + NSString *const NSContinuouslyUpdatesValueBindingOption = @"NSContinuouslyUpdatesValueBindingOption"; 173 + NSString *const NSControlTextDidBeginEditingNotification = @"NSControlTextDidBeginEditingNotification"; 174 + NSString *const NSControlTextDidChangeNotification = @"NSControlTextDidChangeNotification"; 175 + NSString *const NSControlTextDidEndEditingNotification = @"NSControlTextDidEndEditingNotification"; 176 + NSString *const NSConvertedDocumentAttribute = @"NSConvertedDocumentAttribute"; 177 + NSString *const NSCopyrightDocumentAttribute = @"NSCopyrightDocumentAttribute"; 178 + NSString *const NSCursorAttributeName = @"NSCursorAttributeName"; 179 + NSString *const NSCustomColorSpace = @"NSCustomColorSpace"; 180 + NSString *const NSDataBinding = @"NSDataBinding"; 181 + NSString *const NSDeviceCMYKColorSpace = @"NSDeviceCMYKColorSpace"; 182 + NSString *const NSDeviceRGBColorSpace = @"NSDeviceRGBColorSpace"; 183 + NSString *const NSDeviceWhiteColorSpace = @"NSDeviceWhiteColorSpace"; 184 + NSString *const NSDisplayNameBindingOption = @"NSDisplayNameBindingOption"; 185 + NSString *const NSDisplayPatternBindingOption = @"NSDisplayPatternBindingOption"; 186 + NSString *const NSDocFormatTextDocumentType = @"NSDocFormatTextDocumentType"; 187 + NSString *const NSDocumentTypeDocumentAttribute = @"NSDocumentTypeDocumentAttribute"; 188 + NSString *const NSDocumentTypeDocumentOption = @"NSDocumentTypeDocumentOption"; 189 + NSString *const NSDoubleClickTargetBinding = @"NSDoubleClickTargetBinding"; 190 + NSString *const NSEditableBinding = @"NSEditableBinding"; 191 + NSString *const NSEnabledBinding = @"NSEnabledBinding"; 192 + NSString *const NSEventTrackingRunLoopMode = @"NSEventTrackingRunLoopMode"; 193 + NSString *const NSExcludedElementsDocumentAttribute = @"NSExcludedElementsDocumentAttribute"; 194 + NSString *const NSExpansionAttributeName = @"NSExpansionAttributeName"; 195 + NSString *const NSFilenamesPboardType = @"NSFilenamesPboardType"; 196 + NSString *const NSFontAttributeName = @"NSFontAttributeName"; 197 + NSString *const NSFontFaceAttribute = @"NSFontFaceAttribute"; 198 + NSString *const NSFontFamilyAttribute = @"NSFontFamilyAttribute"; 199 + NSString *const NSFontNameAttribute = @"NSFontNameAttribute"; 200 + NSString *const NSFontSizeAttribute = @"NSFontSizeAttribute"; 201 + NSString *const NSFontSlantTrait = @"NSFontSlantTrait"; 202 + NSString *const NSFontTraitsAttribute = @"NSFontTraitsAttribute"; 203 + const CGFloat NSFontWeightBlack = 0x3fe3d70a40000000; 204 + const CGFloat NSFontWeightBold = 0x3fd99999a0000000; 205 + const CGFloat NSFontWeightHeavy = 0x3fe1eb8520000000; 206 + const CGFloat NSFontWeightLight = 0xbfd99999a0000000; 207 + const CGFloat NSFontWeightMedium = 0x3fcd70a3e0000000; 208 + const CGFloat NSFontWeightRegular = 0x0000000000000000; 209 + const CGFloat NSFontWeightSemibold = 0x3fd3333340000000; 210 + const CGFloat NSFontWeightThin = 0xbfe3333340000000; 211 + NSString *const NSFontWeightTrait = @"NSFontWeightTrait"; 212 + const CGFloat NSFontWeightUltraLight = 0xbfe99999a0000000; 213 + NSString *const NSForegroundColorAttributeName = @"NSForegroundColorAttributeName"; 214 + NSString *const NSGlyphInfoAttributeName = @"NSGlyphInfoAttributeName"; 215 + NSString *const NSGridViewSizeForContent = @"NSGridViewSizeForContent"; 216 + NSString *const NSHTMLTextDocumentType = @"NSHTMLTextDocumentType"; 217 + NSString *const NSHeaderTitleBinding = @"NSHeaderTitleBinding"; 218 + NSString *const NSHiddenBinding = @"NSHiddenBinding"; 219 + NSString *const NSHyphenationFactorDocumentAttribute = @"NSHyphenationFactorDocumentAttribute"; 220 + NSString *const NSImageBinding = @"NSImageBinding"; 221 + NSString *const NSImageNameActionTemplate = @"NSImageNameActionTemplate"; 222 + NSString *const NSImageNameAddTemplate = @"NSImageNameAddTemplate"; 223 + NSString *const NSImageNameAdvanced = @"NSImageNameAdvanced"; 224 + NSString *const NSImageNameApplicationIcon = @"NSImageNameApplicationIcon"; 225 + NSString *const NSImageNameAudioOutputVolumeHighTemplate = @"NSImageNameAudioOutputVolumeHighTemplate"; 226 + NSString *const NSImageNameBluetoothTemplate = @"NSImageNameBluetoothTemplate"; 227 + NSString *const NSImageNameBonjour = @"NSImageNameBonjour"; 228 + NSString *const NSImageNameBookmarksTemplate = @"NSImageNameBookmarksTemplate"; 229 + NSString *const NSImageNameCaution = @"NSImageNameCaution"; 230 + NSString *const NSImageNameColorPanel = @"NSImageNameColorPanel"; 231 + NSString *const NSImageNameColumnViewTemplate = @"NSImageNameColumnViewTemplate"; 232 + NSString *const NSImageNameComputer = @"NSImageNameComputer"; 233 + NSString *const NSImageNameEnterFullScreenTemplate = @"NSImageNameEnterFullScreenTemplate"; 234 + NSString *const NSImageNameEveryone = @"NSImageNameEveryone"; 235 + NSString *const NSImageNameExitFullScreenTemplate = @"NSImageNameExitFullScreenTemplate"; 236 + NSString *const NSImageNameFlowViewTemplate = @"NSImageNameFlowViewTemplate"; 237 + NSString *const NSImageNameFolder = @"NSImageNameFolder"; 238 + NSString *const NSImageNameFolderBurnable = @"NSImageNameFolderBurnable"; 239 + NSString *const NSImageNameFolderSmart = @"NSImageNameFolderSmart"; 240 + NSString *const NSImageNameFollowLinkFreestandingTemplate = @"NSImageNameFollowLinkFreestandingTemplate"; 241 + NSString *const NSImageNameFontPanel = @"NSImageNameFontPanel"; 242 + NSString *const NSImageNameGoBackTemplate = @"NSImageNameGoBackTemplate"; 243 + NSString *const NSImageNameGoForwardTemplate = @"NSImageNameGoForwardTemplate"; 244 + NSString *const NSImageNameGoLeftTemplate = @"NSImageNameGoLeftTemplate"; 245 + NSString *const NSImageNameGoRightTemplate = @"NSImageNameGoRightTemplate"; 246 + NSString *const NSImageNameHomeTemplate = @"NSImageNameHomeTemplate"; 247 + NSString *const NSImageNameIChatTheaterTemplate = @"NSImageNameIChatTheaterTemplate"; 248 + NSString *const NSImageNameIconViewTemplate = @"NSImageNameIconViewTemplate"; 249 + NSString *const NSImageNameInfo = @"NSImageNameInfo"; 250 + NSString *const NSImageNameInvalidDataFreestandingTemplate = @"NSImageNameInvalidDataFreestandingTemplate"; 251 + NSString *const NSImageNameLeftFacingTriangleTemplate = @"NSImageNameLeftFacingTriangleTemplate"; 252 + NSString *const NSImageNameListViewTemplate = @"NSImageNameListViewTemplate"; 253 + NSString *const NSImageNameLockLockedTemplate = @"NSImageNameLockLockedTemplate"; 254 + NSString *const NSImageNameLockUnlockedTemplate = @"NSImageNameLockUnlockedTemplate"; 255 + NSString *const NSImageNameMenuMixedStateTemplate = @"NSImageNameMenuMixedStateTemplate"; 256 + NSString *const NSImageNameMenuOnStateTemplate = @"NSImageNameMenuOnStateTemplate"; 257 + NSString *const NSImageNameMobileMe = @"NSImageNameMobileMe"; 258 + NSString *const NSImageNameMultipleDocuments = @"NSImageNameMultipleDocuments"; 259 + NSString *const NSImageNameNetwork = @"NSImageNameNetwork"; 260 + NSString *const NSImageNamePathTemplate = @"NSImageNamePathTemplate"; 261 + NSString *const NSImageNamePreferencesGeneral = @"NSImageNamePreferencesGeneral"; 262 + NSString *const NSImageNameQuickLookTemplate = @"NSImageNameQuickLookTemplate"; 263 + NSString *const NSImageNameRefreshFreestandingTemplate = @"NSImageNameRefreshFreestandingTemplate"; 264 + NSString *const NSImageNameRefreshTemplate = @"NSImageNameRefreshTemplate"; 265 + NSString *const NSImageNameRemoveTemplate = @"NSImageNameRemoveTemplate"; 266 + NSString *const NSImageNameRevealFreestandingTemplate = @"NSImageNameRevealFreestandingTemplate"; 267 + NSString *const NSImageNameRightFacingTriangleTemplate = @"NSImageNameRightFacingTriangleTemplate"; 268 + NSString *const NSImageNameShareTemplate = @"NSImageNameShareTemplate"; 269 + NSString *const NSImageNameSlideshowTemplate = @"NSImageNameSlideshowTemplate"; 270 + NSString *const NSImageNameSmartBadgeTemplate = @"NSImageNameSmartBadgeTemplate"; 271 + NSString *const NSImageNameStatusAvailable = @"NSImageNameStatusAvailable"; 272 + NSString *const NSImageNameStatusNone = @"NSImageNameStatusNone"; 273 + NSString *const NSImageNameStatusPartiallyAvailable = @"NSImageNameStatusPartiallyAvailable"; 274 + NSString *const NSImageNameStatusUnavailable = @"NSImageNameStatusUnavailable"; 275 + NSString *const NSImageNameStopProgressFreestandingTemplate = @"NSImageNameStopProgressFreestandingTemplate"; 276 + NSString *const NSImageNameStopProgressTemplate = @"NSImageNameStopProgressTemplate"; 277 + NSString *const NSImageNameTouchBarAddDetailTemplate = @"NSImageNameTouchBarAddDetailTemplate"; 278 + NSString *const NSImageNameTouchBarAddTemplate = @"NSImageNameTouchBarAddTemplate"; 279 + NSString *const NSImageNameTouchBarAlarmTemplate = @"NSImageNameTouchBarAlarmTemplate"; 280 + NSString *const NSImageNameTouchBarAudioInputMuteTemplate = @"NSImageNameTouchBarAudioInputMuteTemplate"; 281 + NSString *const NSImageNameTouchBarAudioInputTemplate = @"NSImageNameTouchBarAudioInputTemplate"; 282 + NSString *const NSImageNameTouchBarAudioOutputMuteTemplate = @"NSImageNameTouchBarAudioOutputMuteTemplate"; 283 + NSString *const NSImageNameTouchBarAudioOutputVolumeHighTemplate = @"NSImageNameTouchBarAudioOutputVolumeHighTemplate"; 284 + NSString *const NSImageNameTouchBarAudioOutputVolumeLowTemplate = @"NSImageNameTouchBarAudioOutputVolumeLowTemplate"; 285 + NSString *const NSImageNameTouchBarAudioOutputVolumeMediumTemplate = @"NSImageNameTouchBarAudioOutputVolumeMediumTemplate"; 286 + NSString *const NSImageNameTouchBarAudioOutputVolumeOffTemplate = @"NSImageNameTouchBarAudioOutputVolumeOffTemplate"; 287 + NSString *const NSImageNameTouchBarBookmarksTemplate = @"NSImageNameTouchBarBookmarksTemplate"; 288 + NSString *const NSImageNameTouchBarColorPickerFill = @"NSImageNameTouchBarColorPickerFill"; 289 + NSString *const NSImageNameTouchBarColorPickerFont = @"NSImageNameTouchBarColorPickerFont"; 290 + NSString *const NSImageNameTouchBarColorPickerStroke = @"NSImageNameTouchBarColorPickerStroke"; 291 + NSString *const NSImageNameTouchBarCommunicationAudioTemplate = @"NSImageNameTouchBarCommunicationAudioTemplate"; 292 + NSString *const NSImageNameTouchBarCommunicationVideoTemplate = @"NSImageNameTouchBarCommunicationVideoTemplate"; 293 + NSString *const NSImageNameTouchBarComposeTemplate = @"NSImageNameTouchBarComposeTemplate"; 294 + NSString *const NSImageNameTouchBarDeleteTemplate = @"NSImageNameTouchBarDeleteTemplate"; 295 + NSString *const NSImageNameTouchBarDownloadTemplate = @"NSImageNameTouchBarDownloadTemplate"; 296 + NSString *const NSImageNameTouchBarEnterFullScreenTemplate = @"NSImageNameTouchBarEnterFullScreenTemplate"; 297 + NSString *const NSImageNameTouchBarExitFullScreenTemplate = @"NSImageNameTouchBarExitFullScreenTemplate"; 298 + NSString *const NSImageNameTouchBarFastForwardTemplate = @"NSImageNameTouchBarFastForwardTemplate"; 299 + NSString *const NSImageNameTouchBarFolderCopyToTemplate = @"NSImageNameTouchBarFolderCopyToTemplate"; 300 + NSString *const NSImageNameTouchBarFolderMoveToTemplate = @"NSImageNameTouchBarFolderMoveToTemplate"; 301 + NSString *const NSImageNameTouchBarFolderTemplate = @"NSImageNameTouchBarFolderTemplate"; 302 + NSString *const NSImageNameTouchBarGetInfoTemplate = @"NSImageNameTouchBarGetInfoTemplate"; 303 + NSString *const NSImageNameTouchBarGoBackTemplate = @"NSImageNameTouchBarGoBackTemplate"; 304 + NSString *const NSImageNameTouchBarGoDownTemplate = @"NSImageNameTouchBarGoDownTemplate"; 305 + NSString *const NSImageNameTouchBarGoForwardTemplate = @"NSImageNameTouchBarGoForwardTemplate"; 306 + NSString *const NSImageNameTouchBarGoUpTemplate = @"NSImageNameTouchBarGoUpTemplate"; 307 + NSString *const NSImageNameTouchBarHistoryTemplate = @"NSImageNameTouchBarHistoryTemplate"; 308 + NSString *const NSImageNameTouchBarIconViewTemplate = @"NSImageNameTouchBarIconViewTemplate"; 309 + NSString *const NSImageNameTouchBarListViewTemplate = @"NSImageNameTouchBarListViewTemplate"; 310 + NSString *const NSImageNameTouchBarMailTemplate = @"NSImageNameTouchBarMailTemplate"; 311 + NSString *const NSImageNameTouchBarNewFolderTemplate = @"NSImageNameTouchBarNewFolderTemplate"; 312 + NSString *const NSImageNameTouchBarNewMessageTemplate = @"NSImageNameTouchBarNewMessageTemplate"; 313 + NSString *const NSImageNameTouchBarOpenInBrowserTemplate = @"NSImageNameTouchBarOpenInBrowserTemplate"; 314 + NSString *const NSImageNameTouchBarPauseTemplate = @"NSImageNameTouchBarPauseTemplate"; 315 + NSString *const NSImageNameTouchBarPlayPauseTemplate = @"NSImageNameTouchBarPlayPauseTemplate"; 316 + NSString *const NSImageNameTouchBarPlayTemplate = @"NSImageNameTouchBarPlayTemplate"; 317 + NSString *const NSImageNameTouchBarPlayheadTemplate = @"NSImageNameTouchBarPlayheadTemplate"; 318 + NSString *const NSImageNameTouchBarQuickLookTemplate = @"NSImageNameTouchBarQuickLookTemplate"; 319 + NSString *const NSImageNameTouchBarRecordStartTemplate = @"NSImageNameTouchBarRecordStartTemplate"; 320 + NSString *const NSImageNameTouchBarRecordStopTemplate = @"NSImageNameTouchBarRecordStopTemplate"; 321 + NSString *const NSImageNameTouchBarRefreshTemplate = @"NSImageNameTouchBarRefreshTemplate"; 322 + NSString *const NSImageNameTouchBarRemoveTemplate = @"NSImageNameTouchBarRemoveTemplate"; 323 + NSString *const NSImageNameTouchBarRewindTemplate = @"NSImageNameTouchBarRewindTemplate"; 324 + NSString *const NSImageNameTouchBarRotateLeftTemplate = @"NSImageNameTouchBarRotateLeftTemplate"; 325 + NSString *const NSImageNameTouchBarRotateRightTemplate = @"NSImageNameTouchBarRotateRightTemplate"; 326 + NSString *const NSImageNameTouchBarSearchTemplate = @"NSImageNameTouchBarSearchTemplate"; 327 + NSString *const NSImageNameTouchBarShareTemplate = @"NSImageNameTouchBarShareTemplate"; 328 + NSString *const NSImageNameTouchBarSidebarTemplate = @"NSImageNameTouchBarSidebarTemplate"; 329 + NSString *const NSImageNameTouchBarSkipAhead15SecondsTemplate = @"NSImageNameTouchBarSkipAhead15SecondsTemplate"; 330 + NSString *const NSImageNameTouchBarSkipAhead30SecondsTemplate = @"NSImageNameTouchBarSkipAhead30SecondsTemplate"; 331 + NSString *const NSImageNameTouchBarSkipAheadTemplate = @"NSImageNameTouchBarSkipAheadTemplate"; 332 + NSString *const NSImageNameTouchBarSkipBack15SecondsTemplate = @"NSImageNameTouchBarSkipBack15SecondsTemplate"; 333 + NSString *const NSImageNameTouchBarSkipBack30SecondsTemplate = @"NSImageNameTouchBarSkipBack30SecondsTemplate"; 334 + NSString *const NSImageNameTouchBarSkipBackTemplate = @"NSImageNameTouchBarSkipBackTemplate"; 335 + NSString *const NSImageNameTouchBarSkipToEndTemplate = @"NSImageNameTouchBarSkipToEndTemplate"; 336 + NSString *const NSImageNameTouchBarSkipToStartTemplate = @"NSImageNameTouchBarSkipToStartTemplate"; 337 + NSString *const NSImageNameTouchBarSlideshowTemplate = @"NSImageNameTouchBarSlideshowTemplate"; 338 + NSString *const NSImageNameTouchBarTagIconTemplate = @"NSImageNameTouchBarTagIconTemplate"; 339 + NSString *const NSImageNameTouchBarTextBoldTemplate = @"NSImageNameTouchBarTextBoldTemplate"; 340 + NSString *const NSImageNameTouchBarTextBoxTemplate = @"NSImageNameTouchBarTextBoxTemplate"; 341 + NSString *const NSImageNameTouchBarTextCenterAlignTemplate = @"NSImageNameTouchBarTextCenterAlignTemplate"; 342 + NSString *const NSImageNameTouchBarTextItalicTemplate = @"NSImageNameTouchBarTextItalicTemplate"; 343 + NSString *const NSImageNameTouchBarTextJustifiedAlignTemplate = @"NSImageNameTouchBarTextJustifiedAlignTemplate"; 344 + NSString *const NSImageNameTouchBarTextLeftAlignTemplate = @"NSImageNameTouchBarTextLeftAlignTemplate"; 345 + NSString *const NSImageNameTouchBarTextListTemplate = @"NSImageNameTouchBarTextListTemplate"; 346 + NSString *const NSImageNameTouchBarTextRightAlignTemplate = @"NSImageNameTouchBarTextRightAlignTemplate"; 347 + NSString *const NSImageNameTouchBarTextStrikethroughTemplate = @"NSImageNameTouchBarTextStrikethroughTemplate"; 348 + NSString *const NSImageNameTouchBarTextUnderlineTemplate = @"NSImageNameTouchBarTextUnderlineTemplate"; 349 + NSString *const NSImageNameTouchBarUserAddTemplate = @"NSImageNameTouchBarUserAddTemplate"; 350 + NSString *const NSImageNameTouchBarUserGroupTemplate = @"NSImageNameTouchBarUserGroupTemplate"; 351 + NSString *const NSImageNameTouchBarUserTemplate = @"NSImageNameTouchBarUserTemplate"; 352 + NSString *const NSImageNameTouchBarVolumeDownTemplate = @"NSImageNameTouchBarVolumeDownTemplate"; 353 + NSString *const NSImageNameTouchBarVolumeUpTemplate = @"NSImageNameTouchBarVolumeUpTemplate"; 354 + NSString *const NSImageNameTrashEmpty = @"NSImageNameTrashEmpty"; 355 + NSString *const NSImageNameTrashFull = @"NSImageNameTrashFull"; 356 + NSString *const NSImageNameUser = @"NSImageNameUser"; 357 + NSString *const NSImageNameUserAccounts = @"NSImageNameUserAccounts"; 358 + NSString *const NSImageNameUserGroup = @"NSImageNameUserGroup"; 359 + NSString *const NSImageNameUserGuest = @"NSImageNameUserGuest"; 360 + NSString *const NSInsertsNullPlaceholderBindingOption = @"NSInsertsNullPlaceholderBindingOption"; 361 + NSString *const NSKernAttributeName = @"NSKernAttributeName"; 362 + NSString *const NSKeywordsDocumentAttribute = @"NSKeywordsDocumentAttribute"; 363 + NSString *const NSLeftMarginDocumentAttribute = @"NSLeftMarginDocumentAttribute"; 364 + NSString *const NSLigatureAttributeName = @"NSLigatureAttributeName"; 365 + NSString *const NSLinkAttributeName = @"NSLinkAttributeName"; 366 + NSString *const NSMacSimpleTextDocumentType = @"NSMacSimpleTextDocumentType"; 367 + NSString *const NSMarkedClauseSegmentAttributeName = @"NSMarkedClauseSegmentAttributeName"; 368 + NSString *const NSMaxValueBinding = @"NSMaxValueBinding"; 369 + NSString *const NSMinValueBinding = @"NSMinValueBinding"; 370 + NSString *const NSModalPanelRunLoopMode = @"NSModalPanelRunLoopMode"; 371 + NSString *const NSMultipleValuesMarker = @"NSMultipleValuesMarker"; 372 + NSString *const NSMultipleValuesPlaceholderBindingOption = @"NSMultipleValuesPlaceholderBindingOption"; 373 + NSString *const NSNamedColorSpace = @"NSNamedColorSpace"; 374 + NSString *const NSNoSelectionMarker = @"NSNoSelectionMarker"; 375 + NSString *const NSNoSelectionPlaceholderBindingOption = @"NSNoSelectionPlaceholderBindingOption"; 376 + NSString *const NSNotApplicableMarker = @"NSNotApplicableMarker"; 377 + NSString *const NSNotApplicablePlaceholderBindingOption = @"NSNotApplicablePlaceholderBindingOption"; 378 + NSString *const NSNullPlaceholderBindingOption = @"NSNullPlaceholderBindingOption"; 379 + NSString *const NSObliquenessAttributeName = @"NSObliquenessAttributeName"; 380 + NSString *const NSObservedKeyPathKey = @"NSObservedKeyPathKey"; 381 + NSString *const NSObservedObjectKey = @"NSObservedObjectKey"; 382 + NSString *const NSOfficeOpenXMLTextDocumentType = @"NSOfficeOpenXMLTextDocumentType"; 383 + NSString *const NSOpenDocumentTextDocumentType = @"NSOpenDocumentTextDocumentType"; 384 + NSString *const NSOptionsKey = @"NSOptionsKey"; 385 + NSString *const NSOutlineViewColumnDidResizeNotification = @"NSOutlineViewColumnDidResizeNotification"; 386 + NSString *const NSOutlineViewDisclosureButtonKey = @"NSOutlineViewDisclosureButtonKey"; 387 + NSString *const NSOutlineViewItemDidCollapseNotification = @"NSOutlineViewItemDidCollapseNotification"; 388 + NSString *const NSOutlineViewItemDidExpandNotification = @"NSOutlineViewItemDidExpandNotification"; 389 + NSString *const NSOutlineViewSelectionDidChangeNotification = @"NSOutlineViewSelectionDidChangeNotification"; 390 + NSString *const NSPaperSizeDocumentAttribute = @"NSPaperSizeDocumentAttribute"; 391 + NSString *const NSParagraphStyleAttributeName = @"NSParagraphStyleAttributeName"; 392 + NSString *const NSPasteboardNameDrag = @"NSPasteboardNameDrag"; 393 + NSString *const NSPasteboardNameFind = @"NSPasteboardNameFind"; 394 + NSString *const NSPasteboardNameGeneral = @"NSPasteboardNameGeneral"; 395 + NSString *const NSPasteboardTypeColor = @"NSPasteboardTypeColor"; 396 + NSString *const NSPasteboardTypeFileURL = @"NSPasteboardTypeFileURL"; 397 + NSString *const NSPasteboardTypeMultipleTextSelection = @"NSPasteboardTypeMultipleTextSelection"; 398 + NSString *const NSPasteboardTypePDF = @"NSPasteboardTypePDF"; 399 + NSString *const NSPasteboardTypePNG = @"NSPasteboardTypePNG"; 400 + NSString *const NSPasteboardTypeRTF = @"NSPasteboardTypeRTF"; 401 + NSString *const NSPasteboardTypeString = @"NSPasteboardTypeString"; 402 + NSString *const NSPasteboardTypeTIFF = @"NSPasteboardTypeTIFF"; 403 + NSString *const NSPasteboardTypeTabularText = @"NSPasteboardTypeTabularText"; 404 + NSString *const NSPasteboardTypeURL = @"NSPasteboardTypeURL"; 405 + NSString *const NSPasteboardURLReadingContentsConformToTypesKey = @"NSPasteboardURLReadingContentsConformToTypesKey"; 406 + NSString *const NSPasteboardURLReadingFileURLsOnlyKey = @"NSPasteboardURLReadingFileURLsOnlyKey"; 407 + NSString *const NSPatternColorSpace = @"NSPatternColorSpace"; 408 + NSString *const NSPlainTextDocumentType = @"NSPlainTextDocumentType"; 409 + NSString *const NSPopUpButtonWillPopUpNotification = @"NSPopUpButtonWillPopUpNotification"; 410 + NSString *const NSPopoverDidCloseNotification = @"NSPopoverDidCloseNotification"; 411 + NSString *const NSPopoverDidShowNotification = @"NSPopoverDidShowNotification"; 412 + NSString *const NSPopoverWillCloseNotification = @"NSPopoverWillCloseNotification"; 413 + NSString *const NSPreferredScrollerStyleDidChangeNotification = @"NSPreferredScrollerStyleDidChangeNotification"; 414 + NSString *const NSPrefixSpacesDocumentAttribute = @"NSPrefixSpacesDocumentAttribute"; 415 + NSString *const NSPrintHeaderAndFooter = @"NSPrintHeaderAndFooter"; 416 + NSString *const NSPrintPanelAccessorySummaryItemDescriptionKey = @"NSPrintPanelAccessorySummaryItemDescriptionKey"; 417 + NSString *const NSPrintPanelAccessorySummaryItemNameKey = @"NSPrintPanelAccessorySummaryItemNameKey"; 418 + NSString *const NSPrintScalingFactor = @"NSPrintScalingFactor"; 419 + NSString *const NSRTFDTextDocumentType = @"NSRTFDTextDocumentType"; 420 + NSString *const NSRTFPboardType = @"NSRTFPboardType"; 421 + NSString *const NSRTFTextDocumentType = @"NSRTFTextDocumentType"; 422 + NSString *const NSReadOnlyDocumentAttribute = @"NSReadOnlyDocumentAttribute"; 423 + NSString *const NSRightMarginDocumentAttribute = @"NSRightMarginDocumentAttribute"; 424 + NSString *const NSRuleEditorRowsDidChangeNotification = @"NSRuleEditorRowsDidChangeNotification"; 425 + NSString *const NSScrollViewDidEndLiveMagnifyNotification = @"NSScrollViewDidEndLiveMagnifyNotification"; 426 + NSString *const NSScrollViewDidEndLiveScrollNotification = @"NSScrollViewDidEndLiveScrollNotification"; 427 + NSString *const NSScrollViewDidLiveScrollNotification = @"NSScrollViewDidLiveScrollNotification"; 428 + NSString *const NSScrollViewWillStartLiveMagnifyNotification = @"NSScrollViewWillStartLiveMagnifyNotification"; 429 + NSString *const NSScrollViewWillStartLiveScrollNotification = @"NSScrollViewWillStartLiveScrollNotification"; 430 + NSString *const NSSelectedIndexBinding = @"NSSelectedIndexBinding"; 431 + NSString *const NSSelectedObjectBinding = @"NSSelectedObjectBinding"; 432 + NSString *const NSSelectedObjectsBinding = @"NSSelectedObjectsBinding"; 433 + NSString *const NSSelectedTagBinding = @"NSSelectedTagBinding"; 434 + NSString *const NSSelectionIndexPathsBinding = @"NSSelectionIndexPathsBinding"; 435 + NSString *const NSSelectionIndexesBinding = @"NSSelectionIndexesBinding"; 436 + NSString *const NSShadowAttributeName = @"NSShadowAttributeName"; 437 + NSString *const NSSharingServiceNameComposeEmail = @"NSSharingServiceNameComposeEmail"; 438 + NSString *const NSSliderAccessoryWidthWide = @"NSSliderAccessoryWidthWide"; 439 + NSString *const NSSortDescriptorsBinding = @"NSSortDescriptorsBinding"; 440 + NSString *const NSSplitViewDidResizeSubviewsNotification = @"NSSplitViewDidResizeSubviewsNotification"; 441 + NSString *const NSStrikethroughColorAttributeName = @"NSStrikethroughColorAttributeName"; 442 + NSString *const NSStrikethroughStyleAttributeName = @"NSStrikethroughStyleAttributeName"; 443 + NSString *const NSStringPboardType = @"NSStringPboardType"; 444 + NSString *const NSStrokeColorAttributeName = @"NSStrokeColorAttributeName"; 445 + NSString *const NSStrokeWidthAttributeName = @"NSStrokeWidthAttributeName"; 446 + NSString *const NSSubjectDocumentAttribute = @"NSSubjectDocumentAttribute"; 447 + NSString *const NSSystemColorsDidChangeNotification = @"NSSystemColorsDidChangeNotification"; 448 + NSString *const NSTableViewRowViewKey = @"NSTableViewRowViewKey"; 449 + NSString *const NSTableViewSelectionDidChangeNotification = @"NSTableViewSelectionDidChangeNotification"; 450 + NSString *const NSTextColorBinding = @"NSTextColorBinding"; 451 + NSString *const NSTextDidBeginEditingNotification = @"NSTextDidBeginEditingNotification"; 452 + NSString *const NSTextDidChangeNotification = @"NSTextDidChangeNotification"; 453 + NSString *const NSTextDidEndEditingNotification = @"NSTextDidEndEditingNotification"; 454 + NSString *const NSTextLayoutSectionsAttribute = @"NSTextLayoutSectionsAttribute"; 455 + NSString *const NSTextListMarkerDisc = @"NSTextListMarkerDisc"; 456 + NSString *const NSTextStorageDidProcessEditingNotification = @"NSTextStorageDidProcessEditingNotification"; 457 + NSString *const NSTextViewDidChangeSelectionNotification = @"NSTextViewDidChangeSelectionNotification"; 458 + NSString *const NSTitleBinding = @"NSTitleBinding"; 459 + NSString *const NSTitleDocumentAttribute = @"NSTitleDocumentAttribute"; 460 + NSString *const NSToolTipBinding = @"NSToolTipBinding"; 461 + NSString *const NSToolTipHelpKey = @"NSToolTipHelpKey"; 462 + NSString *const NSToolbarCustomizeToolbarItemIdentifier = @"NSToolbarCustomizeToolbarItemIdentifier"; 463 + NSString *const NSToolbarFlexibleSpaceItemIdentifier = @"NSToolbarFlexibleSpaceItemIdentifier"; 464 + NSString *const NSToolbarPrintItemIdentifier = @"NSToolbarPrintItemIdentifier"; 465 + NSString *const NSToolbarSeparatorItemIdentifier = @"NSToolbarSeparatorItemIdentifier"; 466 + NSString *const NSToolbarShowColorsItemIdentifier = @"NSToolbarShowColorsItemIdentifier"; 467 + NSString *const NSToolbarShowFontsItemIdentifier = @"NSToolbarShowFontsItemIdentifier"; 468 + NSString *const NSToolbarSpaceItemIdentifier = @"NSToolbarSpaceItemIdentifier"; 469 + NSString *const NSTopMarginDocumentAttribute = @"NSTopMarginDocumentAttribute"; 470 + NSString *const NSTouchBarItemIdentifierCharacterPicker = @"NSTouchBarItemIdentifierCharacterPicker"; 471 + NSString *const NSTouchBarItemIdentifierFixedSpaceLarge = @"NSTouchBarItemIdentifierFixedSpaceLarge"; 472 + NSString *const NSTouchBarItemIdentifierFixedSpaceSmall = @"NSTouchBarItemIdentifierFixedSpaceSmall"; 473 + NSString *const NSTouchBarItemIdentifierFlexibleSpace = @"NSTouchBarItemIdentifierFlexibleSpace"; 474 + NSString *const NSTouchBarItemIdentifierOtherItemsProxy = @"NSTouchBarItemIdentifierOtherItemsProxy"; 475 + NSString *const NSURLPboardType = @"NSURLPboardType"; 476 + NSUInteger NSUnderlineByWordMask = 0x8000; 477 + NSString *const NSUnderlineColorAttributeName = @"NSUnderlineColorAttributeName"; 478 + NSString *const NSUnderlineStyleAttributeName = @"NSUnderlineStyleAttributeName"; 479 + NSString *const NSValidatesImmediatelyBindingOption = @"NSValidatesImmediatelyBindingOption"; 480 + NSString *const NSValueBinding = @"NSValueBinding"; 481 + NSString *const NSValueTransformerBindingOption = @"NSValueTransformerBindingOption"; 482 + NSString *const NSValueTransformerNameBindingOption = @"NSValueTransformerNameBindingOption"; 483 + NSString *const NSViewAnimationEffectKey = @"NSViewAnimationEffectKey"; 484 + NSString *const NSViewAnimationEndFrameKey = @"NSViewAnimationEndFrameKey"; 485 + NSString *const NSViewAnimationFadeInEffect = @"NSViewAnimationFadeInEffect"; 486 + NSString *const NSViewAnimationFadeOutEffect = @"NSViewAnimationFadeOutEffect"; 487 + NSString *const NSViewAnimationTargetKey = @"NSViewAnimationTargetKey"; 488 + NSString *const NSViewBoundsDidChangeNotification = @"NSViewBoundsDidChangeNotification"; 489 + NSString *const NSViewFrameDidChangeNotification = @"NSViewFrameDidChangeNotification"; 490 + NSString *const NSViewModeDocumentAttribute = @"NSViewModeDocumentAttribute"; 491 + const CGFloat NSViewNoIntrinsicMetric = 0xbff0000000000000; 492 + NSString *const NSViewSizeDocumentAttribute = @"NSViewSizeDocumentAttribute"; 493 + NSString *const NSViewZoomDocumentAttribute = @"NSViewZoomDocumentAttribute"; 494 + NSString *const NSVisibleBinding = @"NSVisibleBinding"; 495 + NSString *const NSVoiceName = @"NSVoiceName"; 496 + NSString *const NSWebArchiveTextDocumentType = @"NSWebArchiveTextDocumentType"; 497 + NSString *const NSWindowDidBecomeKeyNotification = @"NSWindowDidBecomeKeyNotification"; 498 + NSString *const NSWindowDidBecomeMainNotification = @"NSWindowDidBecomeMainNotification"; 499 + NSString *const NSWindowDidChangeBackingPropertiesNotification = @"NSWindowDidChangeBackingPropertiesNotification"; 500 + NSString *const NSWindowDidChangeOcclusionStateNotification = @"NSWindowDidChangeOcclusionStateNotification"; 501 + NSString *const NSWindowDidChangeScreenNotification = @"NSWindowDidChangeScreenNotification"; 502 + NSString *const NSWindowDidDeminiaturizeNotification = @"NSWindowDidDeminiaturizeNotification"; 503 + NSString *const NSWindowDidEndSheetNotification = @"NSWindowDidEndSheetNotification"; 504 + NSString *const NSWindowDidEnterFullScreenNotification = @"NSWindowDidEnterFullScreenNotification"; 505 + NSString *const NSWindowDidExitFullScreenNotification = @"NSWindowDidExitFullScreenNotification"; 506 + NSString *const NSWindowDidMiniaturizeNotification = @"NSWindowDidMiniaturizeNotification"; 507 + NSString *const NSWindowDidMoveNotification = @"NSWindowDidMoveNotification"; 508 + NSString *const NSWindowDidOrderOffScreenNotification = @"NSWindowDidOrderOffScreenNotification"; 509 + NSString *const NSWindowDidOrderOnScreenNotification = @"NSWindowDidOrderOnScreenNotification"; 510 + NSString *const NSWindowDidResignKeyNotification = @"NSWindowDidResignKeyNotification"; 511 + NSString *const NSWindowDidResignMainNotification = @"NSWindowDidResignMainNotification"; 512 + NSString *const NSWindowDidResizeNotification = @"NSWindowDidResizeNotification"; 513 + NSString *const NSWindowDidUpdateNotification = @"NSWindowDidUpdateNotification"; 514 + NSString *const NSWindowWillBeginSheetNotification = @"NSWindowWillBeginSheetNotification"; 515 + NSString *const NSWindowWillCloseNotification = @"NSWindowWillCloseNotification"; 516 + NSString *const NSWindowWillEnterFullScreenNotification = @"NSWindowWillEnterFullScreenNotification"; 517 + NSString *const NSWindowWillExitFullScreenNotification = @"NSWindowWillExitFullScreenNotification"; 518 + NSString *const NSWindowWillStartLiveResizeNotification = @"NSWindowWillStartLiveResizeNotification"; 519 + NSString *const NSWordMLTextDocumentType = @"NSWordMLTextDocumentType"; 520 + NSString *const NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification = @"NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification"; 521 + NSString *const NSWorkspaceActiveSpaceDidChangeNotification = @"NSWorkspaceActiveSpaceDidChangeNotification"; 522 + NSString *const NSWorkspaceLaunchConfigurationArguments = @"NSWorkspaceLaunchConfigurationArguments"; 523 + NSString *const NSWorkspaceLaunchConfigurationEnvironment = @"NSWorkspaceLaunchConfigurationEnvironment"; 524 + NSString *const NSWorkspaceSessionDidBecomeActiveNotification = @"NSWorkspaceSessionDidBecomeActiveNotification"; 525 + NSString *const NSWorkspaceSessionDidResignActiveNotification = @"NSWorkspaceSessionDidResignActiveNotification"; 526 + NSString *const NSWritingDirectionAttributeName = @"NSWritingDirectionAttributeName"; 527 + NSString *const _NSColorCoreUICatalogMainBundleID = @"_NSColorCoreUICatalogMainBundleID"; 528 + NSString *const _NSColorCoreUICatalogNamePrefix = @"_NSColorCoreUICatalogNamePrefix"; 529 + NSString *const _NSFontMenuName = @"_NSFontMenuName"; 530 + NSString *const _NSHelpMenuName = @"_NSHelpMenuName"; 531 + NSString *const _NSMainMenuName = @"_NSMainMenuName"; 532 + NSString *const _NSRecentDocumentsMenuName = @"_NSRecentDocumentsMenuName"; 533 + NSString *const _NSServicesMenuName = @"_NSServicesMenuName"; 534 + NSString *const _NSTabViewFloatingCell = @"_NSTabViewFloatingCell"; 535 + NSString *const _NSToolbarItemDragType = @"_NSToolbarItemDragType"; 536 + NSString *const _NSToolbarItemIdentifierPboardType = @"_NSToolbarItemIdentifierPboardType"; 537 + NSString *const _NSWindowsMenuName = @"_NSWindowsMenuName"; 538 + 539 + void* NSAccessibilityActionDescription(void) { 540 + if (verbose) LOG_FUNC("STUB: NSAccessibilityActionDescription called\n"); 541 + return NULL; 542 + }; 543 + 544 + void* NSAccessibilityFrameInView(void) { 545 + if (verbose) LOG_FUNC("STUB: NSAccessibilityFrameInView called\n"); 546 + return NULL; 547 + }; 548 + 549 + void* NSAccessibilityPointInView(void) { 550 + if (verbose) LOG_FUNC("STUB: NSAccessibilityPointInView called\n"); 551 + return NULL; 552 + }; 553 + 554 + void* NSAccessibilityPostNotification(void) { 555 + if (verbose) LOG_FUNC("STUB: NSAccessibilityPostNotification called\n"); 556 + return NULL; 557 + }; 558 + 559 + void* NSAccessibilityPostNotificationWithUserInfo(void) { 560 + if (verbose) LOG_FUNC("STUB: NSAccessibilityPostNotificationWithUserInfo called\n"); 561 + return NULL; 562 + }; 563 + 564 + void* NSAccessibilityRoleDescription(void) { 565 + if (verbose) LOG_FUNC("STUB: NSAccessibilityRoleDescription called\n"); 566 + return NULL; 567 + }; 568 + 569 + void* NSAccessibilityRoleDescriptionForUIElement(void) { 570 + if (verbose) LOG_FUNC("STUB: NSAccessibilityRoleDescriptionForUIElement called\n"); 571 + return NULL; 572 + }; 573 + 574 + void* NSAccessibilityUnignoredAncestor(void) { 575 + if (verbose) LOG_FUNC("STUB: NSAccessibilityUnignoredAncestor called\n"); 576 + return NULL; 577 + }; 578 + 579 + void* NSAccessibilityUnignoredChildren(void) { 580 + if (verbose) LOG_FUNC("STUB: NSAccessibilityUnignoredChildren called\n"); 581 + return NULL; 582 + }; 583 + 584 + void* NSAccessibilityUnignoredDescendant(void) { 585 + if (verbose) LOG_FUNC("STUB: NSAccessibilityUnignoredDescendant called\n"); 586 + return NULL; 587 + }; 588 + 589 + void* NSAccessibilityUnregisterUniqueIdForUIElement(void) { 590 + if (verbose) LOG_FUNC("STUB: NSAccessibilityUnregisterUniqueIdForUIElement called\n"); 591 + return NULL; 592 + }; 593 + 594 + void* NSApplicationLoad(void) { 595 + if (verbose) LOG_FUNC("STUB: NSApplicationLoad called\n"); 596 + return NULL; 597 + }; 598 + 599 + void* NSApplicationMain(void) { 600 + if (verbose) LOG_FUNC("STUB: NSApplicationMain called\n"); 601 + return NULL; 602 + }; 603 + 604 + void* NSAvailableWindowDepths(void) { 605 + if (verbose) LOG_FUNC("STUB: NSAvailableWindowDepths called\n"); 606 + return NULL; 607 + }; 608 + 609 + void* NSBeep(void) { 610 + if (verbose) LOG_FUNC("STUB: NSBeep called\n"); 611 + return NULL; 612 + }; 613 + 614 + void* NSBestDepth(void) { 615 + if (verbose) LOG_FUNC("STUB: NSBestDepth called\n"); 616 + return NULL; 617 + }; 618 + 619 + void* NSDisableScreenUpdates(void) { 620 + if (verbose) LOG_FUNC("STUB: NSDisableScreenUpdates called\n"); 621 + return NULL; 622 + }; 623 + 624 + void* NSDrawColorTiledRects(void) { 625 + if (verbose) LOG_FUNC("STUB: NSDrawColorTiledRects called\n"); 626 + return NULL; 627 + }; 628 + 629 + void* NSDrawNinePartImage(void) { 630 + if (verbose) LOG_FUNC("STUB: NSDrawNinePartImage called\n"); 631 + return NULL; 632 + }; 633 + 634 + void* NSDrawScopeBar(void) { 635 + if (verbose) LOG_FUNC("STUB: NSDrawScopeBar called\n"); 636 + return NULL; 637 + }; 638 + 639 + void* NSDrawThreePartImage(void) { 640 + if (verbose) LOG_FUNC("STUB: NSDrawThreePartImage called\n"); 641 + return NULL; 642 + }; 643 + 644 + void* NSEnableScreenUpdates(void) { 645 + if (verbose) LOG_FUNC("STUB: NSEnableScreenUpdates called\n"); 646 + return NULL; 647 + }; 648 + 649 + void* NSEraseRect(void) { 650 + if (verbose) LOG_FUNC("STUB: NSEraseRect called\n"); 651 + return NULL; 652 + }; 653 + 654 + void* NSFrameRect(void) { 655 + if (verbose) LOG_FUNC("STUB: NSFrameRect called\n"); 656 + return NULL; 657 + }; 658 + 659 + void* NSFrameRectWithWidth(void) { 660 + if (verbose) LOG_FUNC("STUB: NSFrameRectWithWidth called\n"); 661 + return NULL; 662 + }; 663 + 664 + void* NSFrameRectWithWidthUsingOperation(void) { 665 + if (verbose) LOG_FUNC("STUB: NSFrameRectWithWidthUsingOperation called\n"); 666 + return NULL; 667 + }; 668 + 669 + void* NSIsControllerMarker(void) { 670 + if (verbose) LOG_FUNC("STUB: NSIsControllerMarker called\n"); 671 + return NULL; 672 + }; 673 + 674 + void* NSOpenGLGetOption(void) { 675 + if (verbose) LOG_FUNC("STUB: NSOpenGLGetOption called\n"); 676 + return NULL; 677 + }; 678 + 679 + void* NSOpenGLGetVersion(void) { 680 + if (verbose) LOG_FUNC("STUB: NSOpenGLGetVersion called\n"); 681 + return NULL; 682 + }; 683 + 684 + void* NSOpenGLSetOption(void) { 685 + if (verbose) LOG_FUNC("STUB: NSOpenGLSetOption called\n"); 686 + return NULL; 687 + }; 688 + 689 + void* NSRectClip(void) { 690 + if (verbose) LOG_FUNC("STUB: NSRectClip called\n"); 691 + return NULL; 692 + }; 693 + 694 + void* NSRectClipList(void) { 695 + if (verbose) LOG_FUNC("STUB: NSRectClipList called\n"); 696 + return NULL; 697 + }; 698 + 699 + void* NSRectFill(void) { 700 + if (verbose) LOG_FUNC("STUB: NSRectFill called\n"); 701 + return NULL; 702 + }; 703 + 704 + void* NSRectFillList(void) { 705 + if (verbose) LOG_FUNC("STUB: NSRectFillList called\n"); 706 + return NULL; 707 + }; 708 + 709 + void* NSRectFillListUsingOperation(void) { 710 + if (verbose) LOG_FUNC("STUB: NSRectFillListUsingOperation called\n"); 711 + return NULL; 712 + }; 713 + 714 + void* NSRectFillListWithColors(void) { 715 + if (verbose) LOG_FUNC("STUB: NSRectFillListWithColors called\n"); 716 + return NULL; 717 + }; 718 + 719 + void* NSRectFillListWithColorsUsingOperation(void) { 720 + if (verbose) LOG_FUNC("STUB: NSRectFillListWithColorsUsingOperation called\n"); 721 + return NULL; 722 + }; 723 + 724 + void* NSRectFillListWithGrays(void) { 725 + if (verbose) LOG_FUNC("STUB: NSRectFillListWithGrays called\n"); 726 + return NULL; 727 + }; 728 + 729 + void* NSRectFillUsingOperation(void) { 730 + if (verbose) LOG_FUNC("STUB: NSRectFillUsingOperation called\n"); 731 + return NULL; 732 + }; 733 + 734 + void* NSRunAlertPanel(void) { 735 + if (verbose) LOG_FUNC("STUB: NSRunAlertPanel called\n"); 736 + return NULL; 737 + }; 738 + 739 + void* NSSetFocusRingStyle(void) { 740 + if (verbose) LOG_FUNC("STUB: NSSetFocusRingStyle called\n"); 741 + return NULL; 742 + }; 743 + 744 + void* NSShowAnimationEffect(void) { 745 + if (verbose) LOG_FUNC("STUB: NSShowAnimationEffect called\n"); 746 + return NULL; 747 + }; 748 + 749 + void* NSUpdateDynamicServices(void) { 750 + if (verbose) LOG_FUNC("STUB: NSUpdateDynamicServices called\n"); 751 + return NULL; 752 + }; 753 + 754 + void* _NSColorSpaceNameFromNum(void) { 755 + if (verbose) LOG_FUNC("STUB: _NSColorSpaceNameFromNum called\n"); 756 + return NULL; 757 + }; 758 + 759 + void* _NSNameFromKeyEquivalentString(void) { 760 + if (verbose) LOG_FUNC("STUB: _NSNameFromKeyEquivalentString called\n"); 761 + return NULL; 762 + }; 763 + 764 +
+23
src/frameworks/dev-stubs/AudioToolbox/CMakeLists.txt
··· 1 + project(AudioToolbox_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(AudioToolbox 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME AudioToolbox${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(AudioToolbox${STUB_SUFFIX} BEFORE PRIVATE include)
+89
src/frameworks/dev-stubs/AudioToolbox/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + @interface AUAudioUnit : NSObject 23 + @end 24 + 25 + @implementation AUAudioUnit 26 + 27 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 28 + { 29 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 30 + } 31 + 32 + - (void)forwardInvocation:(NSInvocation *)anInvocation 33 + { 34 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 35 + } 36 + 37 + @end 38 + 39 + @interface AUAudioUnitBus : NSObject 40 + @end 41 + 42 + @implementation AUAudioUnitBus 43 + 44 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 45 + { 46 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 47 + } 48 + 49 + - (void)forwardInvocation:(NSInvocation *)anInvocation 50 + { 51 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 52 + } 53 + 54 + @end 55 + 56 + @interface AUAudioUnitBusArray : NSObject 57 + @end 58 + 59 + @implementation AUAudioUnitBusArray 60 + 61 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 62 + { 63 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 64 + } 65 + 66 + - (void)forwardInvocation:(NSInvocation *)anInvocation 67 + { 68 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 69 + } 70 + 71 + @end 72 + 73 + @interface AUAudioUnitV2Bridge : NSObject 74 + @end 75 + 76 + @implementation AUAudioUnitV2Bridge 77 + 78 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 79 + { 80 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 81 + } 82 + 83 + - (void)forwardInvocation:(NSInvocation *)anInvocation 84 + { 85 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 86 + } 87 + 88 + @end 89 +
+115
src/frameworks/dev-stubs/AudioToolbox/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + 40 + void* AudioFileClose(void) { 41 + if (verbose) LOG_FUNC("STUB: AudioFileClose called\n"); 42 + return NULL; 43 + }; 44 + 45 + void* AudioFileInitializeWithCallbacks(void) { 46 + if (verbose) LOG_FUNC("STUB: AudioFileInitializeWithCallbacks called\n"); 47 + return NULL; 48 + }; 49 + 50 + void* AudioFileOpenWithCallbacks(void) { 51 + if (verbose) LOG_FUNC("STUB: AudioFileOpenWithCallbacks called\n"); 52 + return NULL; 53 + }; 54 + 55 + void* AudioServicesPlaySystemSound(void) { 56 + if (verbose) LOG_FUNC("STUB: AudioServicesPlaySystemSound called\n"); 57 + return NULL; 58 + }; 59 + 60 + void* AudioUnitGetProperty(void) { 61 + if (verbose) LOG_FUNC("STUB: AudioUnitGetProperty called\n"); 62 + return NULL; 63 + }; 64 + 65 + void* AudioUnitSetParameter(void) { 66 + if (verbose) LOG_FUNC("STUB: AudioUnitSetParameter called\n"); 67 + return NULL; 68 + }; 69 + 70 + void* AudioUnitSetProperty(void) { 71 + if (verbose) LOG_FUNC("STUB: AudioUnitSetProperty called\n"); 72 + return NULL; 73 + }; 74 + 75 + void* ExtAudioFileCreateWithURL(void) { 76 + if (verbose) LOG_FUNC("STUB: ExtAudioFileCreateWithURL called\n"); 77 + return NULL; 78 + }; 79 + 80 + void* ExtAudioFileDispose(void) { 81 + if (verbose) LOG_FUNC("STUB: ExtAudioFileDispose called\n"); 82 + return NULL; 83 + }; 84 + 85 + void* ExtAudioFileGetProperty(void) { 86 + if (verbose) LOG_FUNC("STUB: ExtAudioFileGetProperty called\n"); 87 + return NULL; 88 + }; 89 + 90 + void* ExtAudioFileGetPropertyInfo(void) { 91 + if (verbose) LOG_FUNC("STUB: ExtAudioFileGetPropertyInfo called\n"); 92 + return NULL; 93 + }; 94 + 95 + void* ExtAudioFileRead(void) { 96 + if (verbose) LOG_FUNC("STUB: ExtAudioFileRead called\n"); 97 + return NULL; 98 + }; 99 + 100 + void* ExtAudioFileSetProperty(void) { 101 + if (verbose) LOG_FUNC("STUB: ExtAudioFileSetProperty called\n"); 102 + return NULL; 103 + }; 104 + 105 + void* ExtAudioFileWrapAudioFileID(void) { 106 + if (verbose) LOG_FUNC("STUB: ExtAudioFileWrapAudioFileID called\n"); 107 + return NULL; 108 + }; 109 + 110 + void* ExtAudioFileWrite(void) { 111 + if (verbose) LOG_FUNC("STUB: ExtAudioFileWrite called\n"); 112 + return NULL; 113 + }; 114 + 115 +
+23
src/frameworks/dev-stubs/Cocoa/CMakeLists.txt
··· 1 + project(Cocoa_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(Cocoa 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME Cocoa${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(Cocoa${STUB_SUFFIX} BEFORE PRIVATE include)
+21
src/frameworks/dev-stubs/Cocoa/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 +
+40
src/frameworks/dev-stubs/Cocoa/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + 40 +
+23
src/frameworks/dev-stubs/CoreData/CMakeLists.txt
··· 1 + project(CoreData_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(CoreData 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME CoreData${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(CoreData${STUB_SUFFIX} BEFORE PRIVATE include)
+259
src/frameworks/dev-stubs/CoreData/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + @interface NSAttributeDescription : NSObject 23 + @end 24 + 25 + @implementation NSAttributeDescription 26 + 27 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 28 + { 29 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 30 + } 31 + 32 + - (void)forwardInvocation:(NSInvocation *)anInvocation 33 + { 34 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 35 + } 36 + 37 + @end 38 + 39 + @interface NSEntityDescription : NSObject 40 + @end 41 + 42 + @implementation NSEntityDescription 43 + 44 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 45 + { 46 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 47 + } 48 + 49 + - (void)forwardInvocation:(NSInvocation *)anInvocation 50 + { 51 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 52 + } 53 + 54 + @end 55 + 56 + @interface NSEntityMapping : NSObject 57 + @end 58 + 59 + @implementation NSEntityMapping 60 + 61 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 62 + { 63 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 64 + } 65 + 66 + - (void)forwardInvocation:(NSInvocation *)anInvocation 67 + { 68 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 69 + } 70 + 71 + @end 72 + 73 + @interface NSFetchRequest : NSObject 74 + @end 75 + 76 + @implementation NSFetchRequest 77 + 78 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 79 + { 80 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 81 + } 82 + 83 + - (void)forwardInvocation:(NSInvocation *)anInvocation 84 + { 85 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 86 + } 87 + 88 + @end 89 + 90 + @interface NSFetchRequestExpression : NSObject 91 + @end 92 + 93 + @implementation NSFetchRequestExpression 94 + 95 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 96 + { 97 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 98 + } 99 + 100 + - (void)forwardInvocation:(NSInvocation *)anInvocation 101 + { 102 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 103 + } 104 + 105 + @end 106 + 107 + @interface NSFetchedPropertyDescription : NSObject 108 + @end 109 + 110 + @implementation NSFetchedPropertyDescription 111 + 112 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 113 + { 114 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 115 + } 116 + 117 + - (void)forwardInvocation:(NSInvocation *)anInvocation 118 + { 119 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 120 + } 121 + 122 + @end 123 + 124 + @interface NSManagedObject : NSObject 125 + @end 126 + 127 + @implementation NSManagedObject 128 + 129 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 130 + { 131 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 132 + } 133 + 134 + - (void)forwardInvocation:(NSInvocation *)anInvocation 135 + { 136 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 137 + } 138 + 139 + @end 140 + 141 + @interface NSManagedObjectContext : NSObject 142 + @end 143 + 144 + @implementation NSManagedObjectContext 145 + 146 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 147 + { 148 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 149 + } 150 + 151 + - (void)forwardInvocation:(NSInvocation *)anInvocation 152 + { 153 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 154 + } 155 + 156 + @end 157 + 158 + @interface NSManagedObjectID : NSObject 159 + @end 160 + 161 + @implementation NSManagedObjectID 162 + 163 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 164 + { 165 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 166 + } 167 + 168 + - (void)forwardInvocation:(NSInvocation *)anInvocation 169 + { 170 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 171 + } 172 + 173 + @end 174 + 175 + @interface NSManagedObjectModel : NSObject 176 + @end 177 + 178 + @implementation NSManagedObjectModel 179 + 180 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 181 + { 182 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 183 + } 184 + 185 + - (void)forwardInvocation:(NSInvocation *)anInvocation 186 + { 187 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 188 + } 189 + 190 + @end 191 + 192 + @interface NSMappingModel : NSObject 193 + @end 194 + 195 + @implementation NSMappingModel 196 + 197 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 198 + { 199 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 200 + } 201 + 202 + - (void)forwardInvocation:(NSInvocation *)anInvocation 203 + { 204 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 205 + } 206 + 207 + @end 208 + 209 + @interface NSPersistentStoreCoordinator : NSObject 210 + @end 211 + 212 + @implementation NSPersistentStoreCoordinator 213 + 214 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 215 + { 216 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 217 + } 218 + 219 + - (void)forwardInvocation:(NSInvocation *)anInvocation 220 + { 221 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 222 + } 223 + 224 + @end 225 + 226 + @interface NSPropertyMapping : NSObject 227 + @end 228 + 229 + @implementation NSPropertyMapping 230 + 231 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 232 + { 233 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 234 + } 235 + 236 + - (void)forwardInvocation:(NSInvocation *)anInvocation 237 + { 238 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 239 + } 240 + 241 + @end 242 + 243 + @interface _NSPersistenceUtilities : NSObject 244 + @end 245 + 246 + @implementation _NSPersistenceUtilities 247 + 248 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 249 + { 250 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 251 + } 252 + 253 + - (void)forwardInvocation:(NSInvocation *)anInvocation 254 + { 255 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 256 + } 257 + 258 + @end 259 +
+62
src/frameworks/dev-stubs/CoreData/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + NSString *const NSAffectedObjectsErrorKey = @"NSAffectedObjectsErrorKey"; 40 + NSString *const NSAffectedStoresErrorKey = @"NSAffectedStoresErrorKey"; 41 + NSString *const NSDeletedObjectsKey = @"NSDeletedObjectsKey"; 42 + NSString *const NSDetailedErrorsKey = @"NSDetailedErrorsKey"; 43 + NSString *const NSInferMappingModelAutomaticallyOption = @"NSInferMappingModelAutomaticallyOption"; 44 + NSString *const NSInsertedObjectsKey = @"NSInsertedObjectsKey"; 45 + NSString *const NSInvalidatedObjectsKey = @"NSInvalidatedObjectsKey"; 46 + NSString *const NSManagedObjectContextDidSaveNotification = @"NSManagedObjectContextDidSaveNotification"; 47 + NSString *const NSMergeByPropertyStoreTrumpMergePolicy = @"NSMergeByPropertyStoreTrumpMergePolicy"; 48 + NSString *const NSMigratePersistentStoresAutomaticallyOption = @"NSMigratePersistentStoresAutomaticallyOption"; 49 + NSString *const NSOverwriteMergePolicy = @"NSOverwriteMergePolicy"; 50 + NSString *const NSPersistentStoreSaveConflictsErrorKey = @"NSPersistentStoreSaveConflictsErrorKey"; 51 + NSString *const NSRefreshedObjectsKey = @"NSRefreshedObjectsKey"; 52 + NSString *const NSRollbackMergePolicy = @"NSRollbackMergePolicy"; 53 + NSString *const NSSQLiteStoreType = @"NSSQLiteStoreType"; 54 + NSString *const NSStoreModelVersionHashesKey = @"NSStoreModelVersionHashesKey"; 55 + NSString *const NSUpdatedObjectsKey = @"NSUpdatedObjectsKey"; 56 + NSString *const NSValidationKeyErrorKey = @"NSValidationKeyErrorKey"; 57 + NSString *const NSValidationObjectErrorKey = @"NSValidationObjectErrorKey"; 58 + NSString *const NSValidationPredicateErrorKey = @"NSValidationPredicateErrorKey"; 59 + NSString *const NSValidationValueErrorKey = @"NSValidationValueErrorKey"; 60 + NSString *const NSXMLStoreType = @"NSXMLStoreType"; 61 + 62 +
+23
src/frameworks/dev-stubs/CoreGraphics/CMakeLists.txt
··· 1 + project(CoreGraphics_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(CoreGraphics 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME CoreGraphics${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(CoreGraphics${STUB_SUFFIX} BEFORE PRIVATE include)
+21
src/frameworks/dev-stubs/CoreGraphics/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 +
+1670
src/frameworks/dev-stubs/CoreGraphics/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <math.h> 26 + 27 + #ifdef __LP64__ 28 + typedef double CGFloat; 29 + #else 30 + typedef float CGFloat; 31 + #endif 32 + 33 + struct CGPoint { 34 + CGFloat x; 35 + CGFloat y; 36 + }; 37 + typedef struct CGPoint CGPoint; 38 + 39 + struct CGSize { 40 + CGFloat width; 41 + CGFloat height; 42 + }; 43 + typedef struct CGSize CGSize; 44 + 45 + struct CGVector { 46 + CGFloat dx; 47 + CGFloat dy; 48 + }; 49 + typedef struct CGVector CGVector; 50 + 51 + struct CGRect { 52 + CGPoint origin; 53 + CGSize size; 54 + }; 55 + typedef struct CGRect CGRect; 56 + 57 + #include <stdlib.h> 58 + #include <stdio.h> 59 + 60 + static int verbose = 0; 61 + 62 + __attribute__((constructor)) 63 + static void initme(void) { 64 + verbose = getenv("STUB_VERBOSE") != NULL; 65 + } 66 + 67 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 68 + 69 + #define LOG_FUNC __simple_kprintf 70 + 71 + NSString *const CGAffineTransformIdentity = @"CGAffineTransformIdentity"; 72 + const CGPoint CGPointZero = {0, 0}; 73 + const CGRect CGRectInfinite = {{0, 0}, {INFINITY, INFINITY}}; 74 + const CGRect CGRectNull = {{INFINITY, INFINITY}, {0, 0}}; 75 + const CGRect CGRectZero = {{0, 0}, {0, 0}}; 76 + const CGSize CGSizeZero = {0, 0}; 77 + NSString *const kCGColorBlack = @"kCGColorBlack"; 78 + NSString *const kCGColorClear = @"kCGColorClear"; 79 + NSString *const kCGColorSpaceDisplayP3 = @"kCGColorSpaceDisplayP3"; 80 + NSString *const kCGColorSpaceExtendedGray = @"kCGColorSpaceExtendedGray"; 81 + NSString *const kCGColorSpaceExtendedLinearSRGB = @"kCGColorSpaceExtendedLinearSRGB"; 82 + NSString *const kCGColorSpaceExtendedSRGB = @"kCGColorSpaceExtendedSRGB"; 83 + NSString *const kCGColorSpaceGenericCMYK = @"kCGColorSpaceGenericCMYK"; 84 + NSString *const kCGColorSpaceGenericGray = @"kCGColorSpaceGenericGray"; 85 + NSString *const kCGColorSpaceGenericGrayGamma2_2 = @"kCGColorSpaceGenericGrayGamma2_2"; 86 + NSString *const kCGColorSpaceGenericRGB = @"kCGColorSpaceGenericRGB"; 87 + NSString *const kCGColorSpaceLinearSRGB = @"kCGColorSpaceLinearSRGB"; 88 + NSString *const kCGColorSpaceSRGB = @"kCGColorSpaceSRGB"; 89 + NSString *const kCGColorWhite = @"kCGColorWhite"; 90 + unsigned int kCGDisplayPixelHeight = 1; 91 + unsigned int kCGDisplayPixelWidth = 1; 92 + NSString *const kCGDisplayProductNameKey = @"kCGDisplayProductNameKey"; 93 + NSString *const kCGImageBlockSingletonRequest = @"kCGImageBlockSingletonRequest"; 94 + NSString *const kCGPDFContextCreator = @"kCGPDFContextCreator"; 95 + NSString *const kCGPDFContextMediaBox = @"kCGPDFContextMediaBox"; 96 + NSString *const kCGPDFContextTitle = @"kCGPDFContextTitle"; 97 + NSString *const kCGSSessionIDKey = @"kCGSSessionIDKey"; 98 + NSString *const kCGSSessionUserIDKey = @"kCGSSessionUserIDKey"; 99 + NSString *const kCGSSessionUserNameKey = @"kCGSSessionUserNameKey"; 100 + NSString *const kCGWindowAlpha = @"kCGWindowAlpha"; 101 + NSString *const kCGWindowBounds = @"kCGWindowBounds"; 102 + NSString *const kCGWindowLayer = @"kCGWindowLayer"; 103 + NSString *const kCGWindowOwnerPID = @"kCGWindowOwnerPID"; 104 + 105 + void* CGAffineTransformConcat(void) { 106 + if (verbose) LOG_FUNC("STUB: CGAffineTransformConcat called\n"); 107 + return NULL; 108 + }; 109 + 110 + void* CGAffineTransformEqualToTransform(void) { 111 + if (verbose) LOG_FUNC("STUB: CGAffineTransformEqualToTransform called\n"); 112 + return NULL; 113 + }; 114 + 115 + void* CGAffineTransformInvert(void) { 116 + if (verbose) LOG_FUNC("STUB: CGAffineTransformInvert called\n"); 117 + return NULL; 118 + }; 119 + 120 + void* CGAffineTransformMakeRotation(void) { 121 + if (verbose) LOG_FUNC("STUB: CGAffineTransformMakeRotation called\n"); 122 + return NULL; 123 + }; 124 + 125 + void* CGAffineTransformMakeScale(void) { 126 + if (verbose) LOG_FUNC("STUB: CGAffineTransformMakeScale called\n"); 127 + return NULL; 128 + }; 129 + 130 + void* CGAffineTransformMakeTranslation(void) { 131 + if (verbose) LOG_FUNC("STUB: CGAffineTransformMakeTranslation called\n"); 132 + return NULL; 133 + }; 134 + 135 + void* CGAffineTransformRotate(void) { 136 + if (verbose) LOG_FUNC("STUB: CGAffineTransformRotate called\n"); 137 + return NULL; 138 + }; 139 + 140 + void* CGAffineTransformScale(void) { 141 + if (verbose) LOG_FUNC("STUB: CGAffineTransformScale called\n"); 142 + return NULL; 143 + }; 144 + 145 + void* CGAffineTransformTranslate(void) { 146 + if (verbose) LOG_FUNC("STUB: CGAffineTransformTranslate called\n"); 147 + return NULL; 148 + }; 149 + 150 + void* CGAssociateMouseAndMouseCursorPosition(void) { 151 + if (verbose) LOG_FUNC("STUB: CGAssociateMouseAndMouseCursorPosition called\n"); 152 + return NULL; 153 + }; 154 + 155 + void* CGBitmapContextCreate(void) { 156 + if (verbose) LOG_FUNC("STUB: CGBitmapContextCreate called\n"); 157 + return NULL; 158 + }; 159 + 160 + void* CGBitmapContextCreateImage(void) { 161 + if (verbose) LOG_FUNC("STUB: CGBitmapContextCreateImage called\n"); 162 + return NULL; 163 + }; 164 + 165 + void* CGBitmapContextGetBitsPerPixel(void) { 166 + if (verbose) LOG_FUNC("STUB: CGBitmapContextGetBitsPerPixel called\n"); 167 + return NULL; 168 + }; 169 + 170 + void* CGBitmapContextGetBytesPerRow(void) { 171 + if (verbose) LOG_FUNC("STUB: CGBitmapContextGetBytesPerRow called\n"); 172 + return NULL; 173 + }; 174 + 175 + void* CGBitmapContextGetData(void) { 176 + if (verbose) LOG_FUNC("STUB: CGBitmapContextGetData called\n"); 177 + return NULL; 178 + }; 179 + 180 + void* CGBitmapContextGetHeight(void) { 181 + if (verbose) LOG_FUNC("STUB: CGBitmapContextGetHeight called\n"); 182 + return NULL; 183 + }; 184 + 185 + void* CGBitmapContextGetWidth(void) { 186 + if (verbose) LOG_FUNC("STUB: CGBitmapContextGetWidth called\n"); 187 + return NULL; 188 + }; 189 + 190 + void* CGColorCreate(void) { 191 + if (verbose) LOG_FUNC("STUB: CGColorCreate called\n"); 192 + return NULL; 193 + }; 194 + 195 + void* CGColorCreateCopyByMatchingToColorSpace(void) { 196 + if (verbose) LOG_FUNC("STUB: CGColorCreateCopyByMatchingToColorSpace called\n"); 197 + return NULL; 198 + }; 199 + 200 + void* CGColorCreateCopyWithAlpha(void) { 201 + if (verbose) LOG_FUNC("STUB: CGColorCreateCopyWithAlpha called\n"); 202 + return NULL; 203 + }; 204 + 205 + void* CGColorCreateGenericGray(void) { 206 + if (verbose) LOG_FUNC("STUB: CGColorCreateGenericGray called\n"); 207 + return NULL; 208 + }; 209 + 210 + void* CGColorCreateGenericRGB(void) { 211 + if (verbose) LOG_FUNC("STUB: CGColorCreateGenericRGB called\n"); 212 + return NULL; 213 + }; 214 + 215 + void* CGColorGetAlpha(void) { 216 + if (verbose) LOG_FUNC("STUB: CGColorGetAlpha called\n"); 217 + return NULL; 218 + }; 219 + 220 + void* CGColorGetColorSpace(void) { 221 + if (verbose) LOG_FUNC("STUB: CGColorGetColorSpace called\n"); 222 + return NULL; 223 + }; 224 + 225 + void* CGColorGetComponents(void) { 226 + if (verbose) LOG_FUNC("STUB: CGColorGetComponents called\n"); 227 + return NULL; 228 + }; 229 + 230 + void* CGColorGetConstantColor(void) { 231 + if (verbose) LOG_FUNC("STUB: CGColorGetConstantColor called\n"); 232 + return NULL; 233 + }; 234 + 235 + void* CGColorGetNumberOfComponents(void) { 236 + if (verbose) LOG_FUNC("STUB: CGColorGetNumberOfComponents called\n"); 237 + return NULL; 238 + }; 239 + 240 + void* CGColorGetTypeID(void) { 241 + if (verbose) LOG_FUNC("STUB: CGColorGetTypeID called\n"); 242 + return NULL; 243 + }; 244 + 245 + void* CGColorRelease(void) { 246 + if (verbose) LOG_FUNC("STUB: CGColorRelease called\n"); 247 + return NULL; 248 + }; 249 + 250 + void* CGColorRetain(void) { 251 + if (verbose) LOG_FUNC("STUB: CGColorRetain called\n"); 252 + return NULL; 253 + }; 254 + 255 + void* CGColorSpaceCopyName(void) { 256 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCopyName called\n"); 257 + return NULL; 258 + }; 259 + 260 + void* CGColorSpaceCreateDeviceGray(void) { 261 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCreateDeviceGray called\n"); 262 + return NULL; 263 + }; 264 + 265 + void* CGColorSpaceCreateDeviceRGB(void) { 266 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCreateDeviceRGB called\n"); 267 + return NULL; 268 + }; 269 + 270 + void* CGColorSpaceCreatePattern(void) { 271 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCreatePattern called\n"); 272 + return NULL; 273 + }; 274 + 275 + void* CGColorSpaceCreateWithICCData(void) { 276 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCreateWithICCData called\n"); 277 + return NULL; 278 + }; 279 + 280 + void* CGColorSpaceCreateWithName(void) { 281 + if (verbose) LOG_FUNC("STUB: CGColorSpaceCreateWithName called\n"); 282 + return NULL; 283 + }; 284 + 285 + void* CGColorSpaceGetBaseColorSpace(void) { 286 + if (verbose) LOG_FUNC("STUB: CGColorSpaceGetBaseColorSpace called\n"); 287 + return NULL; 288 + }; 289 + 290 + void* CGColorSpaceGetColorTable(void) { 291 + if (verbose) LOG_FUNC("STUB: CGColorSpaceGetColorTable called\n"); 292 + return NULL; 293 + }; 294 + 295 + void* CGColorSpaceGetColorTableCount(void) { 296 + if (verbose) LOG_FUNC("STUB: CGColorSpaceGetColorTableCount called\n"); 297 + return NULL; 298 + }; 299 + 300 + void* CGColorSpaceGetModel(void) { 301 + if (verbose) LOG_FUNC("STUB: CGColorSpaceGetModel called\n"); 302 + return NULL; 303 + }; 304 + 305 + void* CGColorSpaceGetNumberOfComponents(void) { 306 + if (verbose) LOG_FUNC("STUB: CGColorSpaceGetNumberOfComponents called\n"); 307 + return NULL; 308 + }; 309 + 310 + void* CGColorSpaceRelease(void) { 311 + if (verbose) LOG_FUNC("STUB: CGColorSpaceRelease called\n"); 312 + return NULL; 313 + }; 314 + 315 + void* CGColorSpaceRetain(void) { 316 + if (verbose) LOG_FUNC("STUB: CGColorSpaceRetain called\n"); 317 + return NULL; 318 + }; 319 + 320 + void* CGContextAddArc(void) { 321 + if (verbose) LOG_FUNC("STUB: CGContextAddArc called\n"); 322 + return NULL; 323 + }; 324 + 325 + void* CGContextAddArcToPoint(void) { 326 + if (verbose) LOG_FUNC("STUB: CGContextAddArcToPoint called\n"); 327 + return NULL; 328 + }; 329 + 330 + void* CGContextAddCurveToPoint(void) { 331 + if (verbose) LOG_FUNC("STUB: CGContextAddCurveToPoint called\n"); 332 + return NULL; 333 + }; 334 + 335 + void* CGContextAddEllipseInRect(void) { 336 + if (verbose) LOG_FUNC("STUB: CGContextAddEllipseInRect called\n"); 337 + return NULL; 338 + }; 339 + 340 + void* CGContextAddLineToPoint(void) { 341 + if (verbose) LOG_FUNC("STUB: CGContextAddLineToPoint called\n"); 342 + return NULL; 343 + }; 344 + 345 + void* CGContextAddLines(void) { 346 + if (verbose) LOG_FUNC("STUB: CGContextAddLines called\n"); 347 + return NULL; 348 + }; 349 + 350 + void* CGContextAddPath(void) { 351 + if (verbose) LOG_FUNC("STUB: CGContextAddPath called\n"); 352 + return NULL; 353 + }; 354 + 355 + void* CGContextAddQuadCurveToPoint(void) { 356 + if (verbose) LOG_FUNC("STUB: CGContextAddQuadCurveToPoint called\n"); 357 + return NULL; 358 + }; 359 + 360 + void* CGContextAddRect(void) { 361 + if (verbose) LOG_FUNC("STUB: CGContextAddRect called\n"); 362 + return NULL; 363 + }; 364 + 365 + void* CGContextAddRects(void) { 366 + if (verbose) LOG_FUNC("STUB: CGContextAddRects called\n"); 367 + return NULL; 368 + }; 369 + 370 + void* CGContextBeginPath(void) { 371 + if (verbose) LOG_FUNC("STUB: CGContextBeginPath called\n"); 372 + return NULL; 373 + }; 374 + 375 + void* CGContextBeginTransparencyLayer(void) { 376 + if (verbose) LOG_FUNC("STUB: CGContextBeginTransparencyLayer called\n"); 377 + return NULL; 378 + }; 379 + 380 + void* CGContextBeginTransparencyLayerWithRect(void) { 381 + if (verbose) LOG_FUNC("STUB: CGContextBeginTransparencyLayerWithRect called\n"); 382 + return NULL; 383 + }; 384 + 385 + void* CGContextClearRect(void) { 386 + if (verbose) LOG_FUNC("STUB: CGContextClearRect called\n"); 387 + return NULL; 388 + }; 389 + 390 + void* CGContextClip(void) { 391 + if (verbose) LOG_FUNC("STUB: CGContextClip called\n"); 392 + return NULL; 393 + }; 394 + 395 + void* CGContextClipToMask(void) { 396 + if (verbose) LOG_FUNC("STUB: CGContextClipToMask called\n"); 397 + return NULL; 398 + }; 399 + 400 + void* CGContextClipToRect(void) { 401 + if (verbose) LOG_FUNC("STUB: CGContextClipToRect called\n"); 402 + return NULL; 403 + }; 404 + 405 + void* CGContextClipToRects(void) { 406 + if (verbose) LOG_FUNC("STUB: CGContextClipToRects called\n"); 407 + return NULL; 408 + }; 409 + 410 + void* CGContextClosePath(void) { 411 + if (verbose) LOG_FUNC("STUB: CGContextClosePath called\n"); 412 + return NULL; 413 + }; 414 + 415 + void* CGContextConcatCTM(void) { 416 + if (verbose) LOG_FUNC("STUB: CGContextConcatCTM called\n"); 417 + return NULL; 418 + }; 419 + 420 + void* CGContextConvertRectToDeviceSpace(void) { 421 + if (verbose) LOG_FUNC("STUB: CGContextConvertRectToDeviceSpace called\n"); 422 + return NULL; 423 + }; 424 + 425 + void* CGContextCopyPath(void) { 426 + if (verbose) LOG_FUNC("STUB: CGContextCopyPath called\n"); 427 + return NULL; 428 + }; 429 + 430 + void* CGContextDrawImage(void) { 431 + if (verbose) LOG_FUNC("STUB: CGContextDrawImage called\n"); 432 + return NULL; 433 + }; 434 + 435 + void* CGContextDrawLayerAtPoint(void) { 436 + if (verbose) LOG_FUNC("STUB: CGContextDrawLayerAtPoint called\n"); 437 + return NULL; 438 + }; 439 + 440 + void* CGContextDrawLayerInRect(void) { 441 + if (verbose) LOG_FUNC("STUB: CGContextDrawLayerInRect called\n"); 442 + return NULL; 443 + }; 444 + 445 + void* CGContextDrawPDFPage(void) { 446 + if (verbose) LOG_FUNC("STUB: CGContextDrawPDFPage called\n"); 447 + return NULL; 448 + }; 449 + 450 + void* CGContextDrawPath(void) { 451 + if (verbose) LOG_FUNC("STUB: CGContextDrawPath called\n"); 452 + return NULL; 453 + }; 454 + 455 + void* CGContextDrawShading(void) { 456 + if (verbose) LOG_FUNC("STUB: CGContextDrawShading called\n"); 457 + return NULL; 458 + }; 459 + 460 + void* CGContextDrawTiledImage(void) { 461 + if (verbose) LOG_FUNC("STUB: CGContextDrawTiledImage called\n"); 462 + return NULL; 463 + }; 464 + 465 + void* CGContextEOClip(void) { 466 + if (verbose) LOG_FUNC("STUB: CGContextEOClip called\n"); 467 + return NULL; 468 + }; 469 + 470 + void* CGContextEOFillPath(void) { 471 + if (verbose) LOG_FUNC("STUB: CGContextEOFillPath called\n"); 472 + return NULL; 473 + }; 474 + 475 + void* CGContextEndTransparencyLayer(void) { 476 + if (verbose) LOG_FUNC("STUB: CGContextEndTransparencyLayer called\n"); 477 + return NULL; 478 + }; 479 + 480 + void* CGContextFillEllipseInRect(void) { 481 + if (verbose) LOG_FUNC("STUB: CGContextFillEllipseInRect called\n"); 482 + return NULL; 483 + }; 484 + 485 + void* CGContextFillPath(void) { 486 + if (verbose) LOG_FUNC("STUB: CGContextFillPath called\n"); 487 + return NULL; 488 + }; 489 + 490 + void* CGContextFillRect(void) { 491 + if (verbose) LOG_FUNC("STUB: CGContextFillRect called\n"); 492 + return NULL; 493 + }; 494 + 495 + void* CGContextFillRects(void) { 496 + if (verbose) LOG_FUNC("STUB: CGContextFillRects called\n"); 497 + return NULL; 498 + }; 499 + 500 + void* CGContextGetCTM(void) { 501 + if (verbose) LOG_FUNC("STUB: CGContextGetCTM called\n"); 502 + return NULL; 503 + }; 504 + 505 + void* CGContextGetClipBoundingBox(void) { 506 + if (verbose) LOG_FUNC("STUB: CGContextGetClipBoundingBox called\n"); 507 + return NULL; 508 + }; 509 + 510 + void* CGContextGetFontRenderingStyle(void) { 511 + if (verbose) LOG_FUNC("STUB: CGContextGetFontRenderingStyle called\n"); 512 + return NULL; 513 + }; 514 + 515 + void* CGContextGetFontSmoothingBackgroundColor(void) { 516 + if (verbose) LOG_FUNC("STUB: CGContextGetFontSmoothingBackgroundColor called\n"); 517 + return NULL; 518 + }; 519 + 520 + void* CGContextGetFontSmoothingStyle(void) { 521 + if (verbose) LOG_FUNC("STUB: CGContextGetFontSmoothingStyle called\n"); 522 + return NULL; 523 + }; 524 + 525 + void* CGContextGetTextMatrix(void) { 526 + if (verbose) LOG_FUNC("STUB: CGContextGetTextMatrix called\n"); 527 + return NULL; 528 + }; 529 + 530 + void* CGContextGetTextPosition(void) { 531 + if (verbose) LOG_FUNC("STUB: CGContextGetTextPosition called\n"); 532 + return NULL; 533 + }; 534 + 535 + void* CGContextMoveToPoint(void) { 536 + if (verbose) LOG_FUNC("STUB: CGContextMoveToPoint called\n"); 537 + return NULL; 538 + }; 539 + 540 + void* CGContextPathContainsPoint(void) { 541 + if (verbose) LOG_FUNC("STUB: CGContextPathContainsPoint called\n"); 542 + return NULL; 543 + }; 544 + 545 + void* CGContextRelease(void) { 546 + if (verbose) LOG_FUNC("STUB: CGContextRelease called\n"); 547 + return NULL; 548 + }; 549 + 550 + void* CGContextReplacePathWithStrokedPath(void) { 551 + if (verbose) LOG_FUNC("STUB: CGContextReplacePathWithStrokedPath called\n"); 552 + return NULL; 553 + }; 554 + 555 + void* CGContextRestoreGState(void) { 556 + if (verbose) LOG_FUNC("STUB: CGContextRestoreGState called\n"); 557 + return NULL; 558 + }; 559 + 560 + void* CGContextRotateCTM(void) { 561 + if (verbose) LOG_FUNC("STUB: CGContextRotateCTM called\n"); 562 + return NULL; 563 + }; 564 + 565 + void* CGContextSaveGState(void) { 566 + if (verbose) LOG_FUNC("STUB: CGContextSaveGState called\n"); 567 + return NULL; 568 + }; 569 + 570 + void* CGContextScaleCTM(void) { 571 + if (verbose) LOG_FUNC("STUB: CGContextScaleCTM called\n"); 572 + return NULL; 573 + }; 574 + 575 + void* CGContextSetAllowsAntialiasing(void) { 576 + if (verbose) LOG_FUNC("STUB: CGContextSetAllowsAntialiasing called\n"); 577 + return NULL; 578 + }; 579 + 580 + void* CGContextSetAllowsFontSmoothing(void) { 581 + if (verbose) LOG_FUNC("STUB: CGContextSetAllowsFontSmoothing called\n"); 582 + return NULL; 583 + }; 584 + 585 + void* CGContextSetAllowsFontSubpixelPositioning(void) { 586 + if (verbose) LOG_FUNC("STUB: CGContextSetAllowsFontSubpixelPositioning called\n"); 587 + return NULL; 588 + }; 589 + 590 + void* CGContextSetAllowsFontSubpixelQuantization(void) { 591 + if (verbose) LOG_FUNC("STUB: CGContextSetAllowsFontSubpixelQuantization called\n"); 592 + return NULL; 593 + }; 594 + 595 + void* CGContextSetAlpha(void) { 596 + if (verbose) LOG_FUNC("STUB: CGContextSetAlpha called\n"); 597 + return NULL; 598 + }; 599 + 600 + void* CGContextSetBaseCTM(void) { 601 + if (verbose) LOG_FUNC("STUB: CGContextSetBaseCTM called\n"); 602 + return NULL; 603 + }; 604 + 605 + void* CGContextSetBlendMode(void) { 606 + if (verbose) LOG_FUNC("STUB: CGContextSetBlendMode called\n"); 607 + return NULL; 608 + }; 609 + 610 + void* CGContextSetFillColorSpace(void) { 611 + if (verbose) LOG_FUNC("STUB: CGContextSetFillColorSpace called\n"); 612 + return NULL; 613 + }; 614 + 615 + void* CGContextSetFillColorWithColor(void) { 616 + if (verbose) LOG_FUNC("STUB: CGContextSetFillColorWithColor called\n"); 617 + return NULL; 618 + }; 619 + 620 + void* CGContextSetFillPattern(void) { 621 + if (verbose) LOG_FUNC("STUB: CGContextSetFillPattern called\n"); 622 + return NULL; 623 + }; 624 + 625 + void* CGContextSetFlatness(void) { 626 + if (verbose) LOG_FUNC("STUB: CGContextSetFlatness called\n"); 627 + return NULL; 628 + }; 629 + 630 + void* CGContextSetFontRenderingStyle(void) { 631 + if (verbose) LOG_FUNC("STUB: CGContextSetFontRenderingStyle called\n"); 632 + return NULL; 633 + }; 634 + 635 + void* CGContextSetFontSmoothingBackgroundColor(void) { 636 + if (verbose) LOG_FUNC("STUB: CGContextSetFontSmoothingBackgroundColor called\n"); 637 + return NULL; 638 + }; 639 + 640 + void* CGContextSetFontSmoothingStyle(void) { 641 + if (verbose) LOG_FUNC("STUB: CGContextSetFontSmoothingStyle called\n"); 642 + return NULL; 643 + }; 644 + 645 + void* CGContextSetGrayFillColor(void) { 646 + if (verbose) LOG_FUNC("STUB: CGContextSetGrayFillColor called\n"); 647 + return NULL; 648 + }; 649 + 650 + void* CGContextSetInterpolationQuality(void) { 651 + if (verbose) LOG_FUNC("STUB: CGContextSetInterpolationQuality called\n"); 652 + return NULL; 653 + }; 654 + 655 + void* CGContextSetLineCap(void) { 656 + if (verbose) LOG_FUNC("STUB: CGContextSetLineCap called\n"); 657 + return NULL; 658 + }; 659 + 660 + void* CGContextSetLineDash(void) { 661 + if (verbose) LOG_FUNC("STUB: CGContextSetLineDash called\n"); 662 + return NULL; 663 + }; 664 + 665 + void* CGContextSetLineJoin(void) { 666 + if (verbose) LOG_FUNC("STUB: CGContextSetLineJoin called\n"); 667 + return NULL; 668 + }; 669 + 670 + void* CGContextSetLineWidth(void) { 671 + if (verbose) LOG_FUNC("STUB: CGContextSetLineWidth called\n"); 672 + return NULL; 673 + }; 674 + 675 + void* CGContextSetMiterLimit(void) { 676 + if (verbose) LOG_FUNC("STUB: CGContextSetMiterLimit called\n"); 677 + return NULL; 678 + }; 679 + 680 + void* CGContextSetRGBFillColor(void) { 681 + if (verbose) LOG_FUNC("STUB: CGContextSetRGBFillColor called\n"); 682 + return NULL; 683 + }; 684 + 685 + void* CGContextSetRGBStrokeColor(void) { 686 + if (verbose) LOG_FUNC("STUB: CGContextSetRGBStrokeColor called\n"); 687 + return NULL; 688 + }; 689 + 690 + void* CGContextSetShouldAntialias(void) { 691 + if (verbose) LOG_FUNC("STUB: CGContextSetShouldAntialias called\n"); 692 + return NULL; 693 + }; 694 + 695 + void* CGContextSetShouldSmoothFonts(void) { 696 + if (verbose) LOG_FUNC("STUB: CGContextSetShouldSmoothFonts called\n"); 697 + return NULL; 698 + }; 699 + 700 + void* CGContextSetShouldSubpixelPositionFonts(void) { 701 + if (verbose) LOG_FUNC("STUB: CGContextSetShouldSubpixelPositionFonts called\n"); 702 + return NULL; 703 + }; 704 + 705 + void* CGContextSetShouldSubpixelQuantizeFonts(void) { 706 + if (verbose) LOG_FUNC("STUB: CGContextSetShouldSubpixelQuantizeFonts called\n"); 707 + return NULL; 708 + }; 709 + 710 + void* CGContextSetStrokeColorWithColor(void) { 711 + if (verbose) LOG_FUNC("STUB: CGContextSetStrokeColorWithColor called\n"); 712 + return NULL; 713 + }; 714 + 715 + void* CGContextSetTextDrawingMode(void) { 716 + if (verbose) LOG_FUNC("STUB: CGContextSetTextDrawingMode called\n"); 717 + return NULL; 718 + }; 719 + 720 + void* CGContextSetTextMatrix(void) { 721 + if (verbose) LOG_FUNC("STUB: CGContextSetTextMatrix called\n"); 722 + return NULL; 723 + }; 724 + 725 + void* CGContextSetTextPosition(void) { 726 + if (verbose) LOG_FUNC("STUB: CGContextSetTextPosition called\n"); 727 + return NULL; 728 + }; 729 + 730 + void* CGContextShowGlyphsAtPositions(void) { 731 + if (verbose) LOG_FUNC("STUB: CGContextShowGlyphsAtPositions called\n"); 732 + return NULL; 733 + }; 734 + 735 + void* CGContextShowGlyphsWithAdvances(void) { 736 + if (verbose) LOG_FUNC("STUB: CGContextShowGlyphsWithAdvances called\n"); 737 + return NULL; 738 + }; 739 + 740 + void* CGContextStrokeEllipseInRect(void) { 741 + if (verbose) LOG_FUNC("STUB: CGContextStrokeEllipseInRect called\n"); 742 + return NULL; 743 + }; 744 + 745 + void* CGContextStrokeLineSegments(void) { 746 + if (verbose) LOG_FUNC("STUB: CGContextStrokeLineSegments called\n"); 747 + return NULL; 748 + }; 749 + 750 + void* CGContextStrokePath(void) { 751 + if (verbose) LOG_FUNC("STUB: CGContextStrokePath called\n"); 752 + return NULL; 753 + }; 754 + 755 + void* CGContextStrokeRect(void) { 756 + if (verbose) LOG_FUNC("STUB: CGContextStrokeRect called\n"); 757 + return NULL; 758 + }; 759 + 760 + void* CGContextStrokeRectWithWidth(void) { 761 + if (verbose) LOG_FUNC("STUB: CGContextStrokeRectWithWidth called\n"); 762 + return NULL; 763 + }; 764 + 765 + void* CGContextTranslateCTM(void) { 766 + if (verbose) LOG_FUNC("STUB: CGContextTranslateCTM called\n"); 767 + return NULL; 768 + }; 769 + 770 + void* CGCursorIsVisible(void) { 771 + if (verbose) LOG_FUNC("STUB: CGCursorIsVisible called\n"); 772 + return NULL; 773 + }; 774 + 775 + void* CGDataConsumerCreateWithCFData(void) { 776 + if (verbose) LOG_FUNC("STUB: CGDataConsumerCreateWithCFData called\n"); 777 + return NULL; 778 + }; 779 + 780 + void* CGDataConsumerRelease(void) { 781 + if (verbose) LOG_FUNC("STUB: CGDataConsumerRelease called\n"); 782 + return NULL; 783 + }; 784 + 785 + void* CGDataProviderCopyData(void) { 786 + if (verbose) LOG_FUNC("STUB: CGDataProviderCopyData called\n"); 787 + return NULL; 788 + }; 789 + 790 + void* CGDataProviderCreateWithCFData(void) { 791 + if (verbose) LOG_FUNC("STUB: CGDataProviderCreateWithCFData called\n"); 792 + return NULL; 793 + }; 794 + 795 + void* CGDataProviderCreateWithData(void) { 796 + if (verbose) LOG_FUNC("STUB: CGDataProviderCreateWithData called\n"); 797 + return NULL; 798 + }; 799 + 800 + void* CGDataProviderCreateWithURL(void) { 801 + if (verbose) LOG_FUNC("STUB: CGDataProviderCreateWithURL called\n"); 802 + return NULL; 803 + }; 804 + 805 + void* CGDataProviderRelease(void) { 806 + if (verbose) LOG_FUNC("STUB: CGDataProviderRelease called\n"); 807 + return NULL; 808 + }; 809 + 810 + void* CGDisplayCopyDisplayMode(void) { 811 + if (verbose) LOG_FUNC("STUB: CGDisplayCopyDisplayMode called\n"); 812 + return NULL; 813 + }; 814 + 815 + void* CGDisplayCreateImage(void) { 816 + if (verbose) LOG_FUNC("STUB: CGDisplayCreateImage called\n"); 817 + return NULL; 818 + }; 819 + 820 + void* CGDisplayCreateImageForRect(void) { 821 + if (verbose) LOG_FUNC("STUB: CGDisplayCreateImageForRect called\n"); 822 + return NULL; 823 + }; 824 + 825 + void* CGDisplayModeGetRefreshRate(void) { 826 + if (verbose) LOG_FUNC("STUB: CGDisplayModeGetRefreshRate called\n"); 827 + return NULL; 828 + }; 829 + 830 + void* CGDisplayModeRelease(void) { 831 + if (verbose) LOG_FUNC("STUB: CGDisplayModeRelease called\n"); 832 + return NULL; 833 + }; 834 + 835 + void* CGDisplayStreamStart(void) { 836 + if (verbose) LOG_FUNC("STUB: CGDisplayStreamStart called\n"); 837 + return NULL; 838 + }; 839 + 840 + void* CGDisplayStreamStop(void) { 841 + if (verbose) LOG_FUNC("STUB: CGDisplayStreamStop called\n"); 842 + return NULL; 843 + }; 844 + 845 + void* CGEventCopyIOHIDEvent(void) { 846 + if (verbose) LOG_FUNC("STUB: CGEventCopyIOHIDEvent called\n"); 847 + return NULL; 848 + }; 849 + 850 + void* CGEventCreate(void) { 851 + if (verbose) LOG_FUNC("STUB: CGEventCreate called\n"); 852 + return NULL; 853 + }; 854 + 855 + void* CGEventCreateKeyboardEvent(void) { 856 + if (verbose) LOG_FUNC("STUB: CGEventCreateKeyboardEvent called\n"); 857 + return NULL; 858 + }; 859 + 860 + void* CGEventCreateMouseEvent(void) { 861 + if (verbose) LOG_FUNC("STUB: CGEventCreateMouseEvent called\n"); 862 + return NULL; 863 + }; 864 + 865 + void* CGEventCreateScrollWheelEvent(void) { 866 + if (verbose) LOG_FUNC("STUB: CGEventCreateScrollWheelEvent called\n"); 867 + return NULL; 868 + }; 869 + 870 + void* CGEventGetFlags(void) { 871 + if (verbose) LOG_FUNC("STUB: CGEventGetFlags called\n"); 872 + return NULL; 873 + }; 874 + 875 + void* CGEventGetIntegerValueField(void) { 876 + if (verbose) LOG_FUNC("STUB: CGEventGetIntegerValueField called\n"); 877 + return NULL; 878 + }; 879 + 880 + void* CGEventGetLocation(void) { 881 + if (verbose) LOG_FUNC("STUB: CGEventGetLocation called\n"); 882 + return NULL; 883 + }; 884 + 885 + void* CGEventGetTimestamp(void) { 886 + if (verbose) LOG_FUNC("STUB: CGEventGetTimestamp called\n"); 887 + return NULL; 888 + }; 889 + 890 + void* CGEventKeyboardGetUnicodeString(void) { 891 + if (verbose) LOG_FUNC("STUB: CGEventKeyboardGetUnicodeString called\n"); 892 + return NULL; 893 + }; 894 + 895 + void* CGEventPost(void) { 896 + if (verbose) LOG_FUNC("STUB: CGEventPost called\n"); 897 + return NULL; 898 + }; 899 + 900 + void* CGEventSetFlags(void) { 901 + if (verbose) LOG_FUNC("STUB: CGEventSetFlags called\n"); 902 + return NULL; 903 + }; 904 + 905 + void* CGEventSetIntegerValueField(void) { 906 + if (verbose) LOG_FUNC("STUB: CGEventSetIntegerValueField called\n"); 907 + return NULL; 908 + }; 909 + 910 + void* CGEventSetSource(void) { 911 + if (verbose) LOG_FUNC("STUB: CGEventSetSource called\n"); 912 + return NULL; 913 + }; 914 + 915 + void* CGEventSetType(void) { 916 + if (verbose) LOG_FUNC("STUB: CGEventSetType called\n"); 917 + return NULL; 918 + }; 919 + 920 + void* CGEventSourceButtonState(void) { 921 + if (verbose) LOG_FUNC("STUB: CGEventSourceButtonState called\n"); 922 + return NULL; 923 + }; 924 + 925 + void* CGEventSourceCreate(void) { 926 + if (verbose) LOG_FUNC("STUB: CGEventSourceCreate called\n"); 927 + return NULL; 928 + }; 929 + 930 + void* CGEventSourceFlagsState(void) { 931 + if (verbose) LOG_FUNC("STUB: CGEventSourceFlagsState called\n"); 932 + return NULL; 933 + }; 934 + 935 + void* CGEventSourceGetKeyboardType(void) { 936 + if (verbose) LOG_FUNC("STUB: CGEventSourceGetKeyboardType called\n"); 937 + return NULL; 938 + }; 939 + 940 + void* CGEventSourceGetSourceStateID(void) { 941 + if (verbose) LOG_FUNC("STUB: CGEventSourceGetSourceStateID called\n"); 942 + return NULL; 943 + }; 944 + 945 + void* CGEventTapCreate(void) { 946 + if (verbose) LOG_FUNC("STUB: CGEventTapCreate called\n"); 947 + return NULL; 948 + }; 949 + 950 + void* CGEventTapEnable(void) { 951 + if (verbose) LOG_FUNC("STUB: CGEventTapEnable called\n"); 952 + return NULL; 953 + }; 954 + 955 + void* CGFloatIsValid(void) { 956 + if (verbose) LOG_FUNC("STUB: CGFloatIsValid called\n"); 957 + return NULL; 958 + }; 959 + 960 + void* CGFunctionCreate(void) { 961 + if (verbose) LOG_FUNC("STUB: CGFunctionCreate called\n"); 962 + return NULL; 963 + }; 964 + 965 + void* CGFunctionRelease(void) { 966 + if (verbose) LOG_FUNC("STUB: CGFunctionRelease called\n"); 967 + return NULL; 968 + }; 969 + 970 + void* CGGetActiveDisplayList(void) { 971 + if (verbose) LOG_FUNC("STUB: CGGetActiveDisplayList called\n"); 972 + return NULL; 973 + }; 974 + 975 + void* CGGetLastMouseDelta(void) { 976 + if (verbose) LOG_FUNC("STUB: CGGetLastMouseDelta called\n"); 977 + return NULL; 978 + }; 979 + 980 + void* CGGradientCreateWithColors(void) { 981 + if (verbose) LOG_FUNC("STUB: CGGradientCreateWithColors called\n"); 982 + return NULL; 983 + }; 984 + 985 + void* CGImageBlockGetBytesPerRow(void) { 986 + if (verbose) LOG_FUNC("STUB: CGImageBlockGetBytesPerRow called\n"); 987 + return NULL; 988 + }; 989 + 990 + void* CGImageBlockGetData(void) { 991 + if (verbose) LOG_FUNC("STUB: CGImageBlockGetData called\n"); 992 + return NULL; 993 + }; 994 + 995 + void* CGImageBlockGetRect(void) { 996 + if (verbose) LOG_FUNC("STUB: CGImageBlockGetRect called\n"); 997 + return NULL; 998 + }; 999 + 1000 + void* CGImageBlockSetGetColorSpace(void) { 1001 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetGetColorSpace called\n"); 1002 + return NULL; 1003 + }; 1004 + 1005 + void* CGImageBlockSetGetComponentType(void) { 1006 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetGetComponentType called\n"); 1007 + return NULL; 1008 + }; 1009 + 1010 + void* CGImageBlockSetGetImageBlock(void) { 1011 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetGetImageBlock called\n"); 1012 + return NULL; 1013 + }; 1014 + 1015 + void* CGImageBlockSetGetPixelSize(void) { 1016 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetGetPixelSize called\n"); 1017 + return NULL; 1018 + }; 1019 + 1020 + void* CGImageBlockSetGetSize(void) { 1021 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetGetSize called\n"); 1022 + return NULL; 1023 + }; 1024 + 1025 + void* CGImageBlockSetRelease(void) { 1026 + if (verbose) LOG_FUNC("STUB: CGImageBlockSetRelease called\n"); 1027 + return NULL; 1028 + }; 1029 + 1030 + void* CGImageCreate(void) { 1031 + if (verbose) LOG_FUNC("STUB: CGImageCreate called\n"); 1032 + return NULL; 1033 + }; 1034 + 1035 + void* CGImageCreateWithImageInRect(void) { 1036 + if (verbose) LOG_FUNC("STUB: CGImageCreateWithImageInRect called\n"); 1037 + return NULL; 1038 + }; 1039 + 1040 + void* CGImageCreateWithMaskingColors(void) { 1041 + if (verbose) LOG_FUNC("STUB: CGImageCreateWithMaskingColors called\n"); 1042 + return NULL; 1043 + }; 1044 + 1045 + void* CGImageCreateWithPNGDataProvider(void) { 1046 + if (verbose) LOG_FUNC("STUB: CGImageCreateWithPNGDataProvider called\n"); 1047 + return NULL; 1048 + }; 1049 + 1050 + void* CGImageGetAlphaInfo(void) { 1051 + if (verbose) LOG_FUNC("STUB: CGImageGetAlphaInfo called\n"); 1052 + return NULL; 1053 + }; 1054 + 1055 + void* CGImageGetBitmapInfo(void) { 1056 + if (verbose) LOG_FUNC("STUB: CGImageGetBitmapInfo called\n"); 1057 + return NULL; 1058 + }; 1059 + 1060 + void* CGImageGetBitsPerComponent(void) { 1061 + if (verbose) LOG_FUNC("STUB: CGImageGetBitsPerComponent called\n"); 1062 + return NULL; 1063 + }; 1064 + 1065 + void* CGImageGetBitsPerPixel(void) { 1066 + if (verbose) LOG_FUNC("STUB: CGImageGetBitsPerPixel called\n"); 1067 + return NULL; 1068 + }; 1069 + 1070 + void* CGImageGetBytesPerRow(void) { 1071 + if (verbose) LOG_FUNC("STUB: CGImageGetBytesPerRow called\n"); 1072 + return NULL; 1073 + }; 1074 + 1075 + void* CGImageGetColorSpace(void) { 1076 + if (verbose) LOG_FUNC("STUB: CGImageGetColorSpace called\n"); 1077 + return NULL; 1078 + }; 1079 + 1080 + void* CGImageGetDataProvider(void) { 1081 + if (verbose) LOG_FUNC("STUB: CGImageGetDataProvider called\n"); 1082 + return NULL; 1083 + }; 1084 + 1085 + void* CGImageGetHeight(void) { 1086 + if (verbose) LOG_FUNC("STUB: CGImageGetHeight called\n"); 1087 + return NULL; 1088 + }; 1089 + 1090 + void* CGImageGetImageProvider(void) { 1091 + if (verbose) LOG_FUNC("STUB: CGImageGetImageProvider called\n"); 1092 + return NULL; 1093 + }; 1094 + 1095 + void* CGImageGetTypeID(void) { 1096 + if (verbose) LOG_FUNC("STUB: CGImageGetTypeID called\n"); 1097 + return NULL; 1098 + }; 1099 + 1100 + void* CGImageGetWidth(void) { 1101 + if (verbose) LOG_FUNC("STUB: CGImageGetWidth called\n"); 1102 + return NULL; 1103 + }; 1104 + 1105 + void* CGImageMaskCreate(void) { 1106 + if (verbose) LOG_FUNC("STUB: CGImageMaskCreate called\n"); 1107 + return NULL; 1108 + }; 1109 + 1110 + void* CGImageProviderCopyImageBlockSetWithOptions(void) { 1111 + if (verbose) LOG_FUNC("STUB: CGImageProviderCopyImageBlockSetWithOptions called\n"); 1112 + return NULL; 1113 + }; 1114 + 1115 + void* CGImageProviderGetAlphaInfo(void) { 1116 + if (verbose) LOG_FUNC("STUB: CGImageProviderGetAlphaInfo called\n"); 1117 + return NULL; 1118 + }; 1119 + 1120 + void* CGImageRelease(void) { 1121 + if (verbose) LOG_FUNC("STUB: CGImageRelease called\n"); 1122 + return NULL; 1123 + }; 1124 + 1125 + void* CGImageRetain(void) { 1126 + if (verbose) LOG_FUNC("STUB: CGImageRetain called\n"); 1127 + return NULL; 1128 + }; 1129 + 1130 + void* CGLayerCreateWithContext(void) { 1131 + if (verbose) LOG_FUNC("STUB: CGLayerCreateWithContext called\n"); 1132 + return NULL; 1133 + }; 1134 + 1135 + void* CGLayerGetContext(void) { 1136 + if (verbose) LOG_FUNC("STUB: CGLayerGetContext called\n"); 1137 + return NULL; 1138 + }; 1139 + 1140 + void* CGLayerGetSize(void) { 1141 + if (verbose) LOG_FUNC("STUB: CGLayerGetSize called\n"); 1142 + return NULL; 1143 + }; 1144 + 1145 + void* CGMainDisplayID(void) { 1146 + if (verbose) LOG_FUNC("STUB: CGMainDisplayID called\n"); 1147 + return NULL; 1148 + }; 1149 + 1150 + void* CGPDFContextAddDestinationAtPoint(void) { 1151 + if (verbose) LOG_FUNC("STUB: CGPDFContextAddDestinationAtPoint called\n"); 1152 + return NULL; 1153 + }; 1154 + 1155 + void* CGPDFContextBeginPage(void) { 1156 + if (verbose) LOG_FUNC("STUB: CGPDFContextBeginPage called\n"); 1157 + return NULL; 1158 + }; 1159 + 1160 + void* CGPDFContextClose(void) { 1161 + if (verbose) LOG_FUNC("STUB: CGPDFContextClose called\n"); 1162 + return NULL; 1163 + }; 1164 + 1165 + void* CGPDFContextCreate(void) { 1166 + if (verbose) LOG_FUNC("STUB: CGPDFContextCreate called\n"); 1167 + return NULL; 1168 + }; 1169 + 1170 + void* CGPDFContextCreateWithURL(void) { 1171 + if (verbose) LOG_FUNC("STUB: CGPDFContextCreateWithURL called\n"); 1172 + return NULL; 1173 + }; 1174 + 1175 + void* CGPDFContextEndPage(void) { 1176 + if (verbose) LOG_FUNC("STUB: CGPDFContextEndPage called\n"); 1177 + return NULL; 1178 + }; 1179 + 1180 + void* CGPDFContextSetDestinationForRect(void) { 1181 + if (verbose) LOG_FUNC("STUB: CGPDFContextSetDestinationForRect called\n"); 1182 + return NULL; 1183 + }; 1184 + 1185 + void* CGPDFContextSetURLForRect(void) { 1186 + if (verbose) LOG_FUNC("STUB: CGPDFContextSetURLForRect called\n"); 1187 + return NULL; 1188 + }; 1189 + 1190 + void* CGPDFDocumentCreateWithProvider(void) { 1191 + if (verbose) LOG_FUNC("STUB: CGPDFDocumentCreateWithProvider called\n"); 1192 + return NULL; 1193 + }; 1194 + 1195 + void* CGPDFDocumentGetNumberOfPages(void) { 1196 + if (verbose) LOG_FUNC("STUB: CGPDFDocumentGetNumberOfPages called\n"); 1197 + return NULL; 1198 + }; 1199 + 1200 + void* CGPDFDocumentGetPage(void) { 1201 + if (verbose) LOG_FUNC("STUB: CGPDFDocumentGetPage called\n"); 1202 + return NULL; 1203 + }; 1204 + 1205 + void* CGPDFDocumentRelease(void) { 1206 + if (verbose) LOG_FUNC("STUB: CGPDFDocumentRelease called\n"); 1207 + return NULL; 1208 + }; 1209 + 1210 + void* CGPDFPageContainsWideGamutContent(void) { 1211 + if (verbose) LOG_FUNC("STUB: CGPDFPageContainsWideGamutContent called\n"); 1212 + return NULL; 1213 + }; 1214 + 1215 + void* CGPDFPageGetBoxRect(void) { 1216 + if (verbose) LOG_FUNC("STUB: CGPDFPageGetBoxRect called\n"); 1217 + return NULL; 1218 + }; 1219 + 1220 + void* CGPDFPageGetColorSpace(void) { 1221 + if (verbose) LOG_FUNC("STUB: CGPDFPageGetColorSpace called\n"); 1222 + return NULL; 1223 + }; 1224 + 1225 + void* CGPDFPageGetDrawingTransform(void) { 1226 + if (verbose) LOG_FUNC("STUB: CGPDFPageGetDrawingTransform called\n"); 1227 + return NULL; 1228 + }; 1229 + 1230 + void* CGPathAddArc(void) { 1231 + if (verbose) LOG_FUNC("STUB: CGPathAddArc called\n"); 1232 + return NULL; 1233 + }; 1234 + 1235 + void* CGPathAddArcToPoint(void) { 1236 + if (verbose) LOG_FUNC("STUB: CGPathAddArcToPoint called\n"); 1237 + return NULL; 1238 + }; 1239 + 1240 + void* CGPathAddCurveToPoint(void) { 1241 + if (verbose) LOG_FUNC("STUB: CGPathAddCurveToPoint called\n"); 1242 + return NULL; 1243 + }; 1244 + 1245 + void* CGPathAddEllipseInRect(void) { 1246 + if (verbose) LOG_FUNC("STUB: CGPathAddEllipseInRect called\n"); 1247 + return NULL; 1248 + }; 1249 + 1250 + void* CGPathAddLineToPoint(void) { 1251 + if (verbose) LOG_FUNC("STUB: CGPathAddLineToPoint called\n"); 1252 + return NULL; 1253 + }; 1254 + 1255 + void* CGPathAddLines(void) { 1256 + if (verbose) LOG_FUNC("STUB: CGPathAddLines called\n"); 1257 + return NULL; 1258 + }; 1259 + 1260 + void* CGPathAddPath(void) { 1261 + if (verbose) LOG_FUNC("STUB: CGPathAddPath called\n"); 1262 + return NULL; 1263 + }; 1264 + 1265 + void* CGPathAddQuadCurveToPoint(void) { 1266 + if (verbose) LOG_FUNC("STUB: CGPathAddQuadCurveToPoint called\n"); 1267 + return NULL; 1268 + }; 1269 + 1270 + void* CGPathAddRect(void) { 1271 + if (verbose) LOG_FUNC("STUB: CGPathAddRect called\n"); 1272 + return NULL; 1273 + }; 1274 + 1275 + void* CGPathAddRects(void) { 1276 + if (verbose) LOG_FUNC("STUB: CGPathAddRects called\n"); 1277 + return NULL; 1278 + }; 1279 + 1280 + void* CGPathAddRelativeArc(void) { 1281 + if (verbose) LOG_FUNC("STUB: CGPathAddRelativeArc called\n"); 1282 + return NULL; 1283 + }; 1284 + 1285 + void* CGPathAddRoundedRect(void) { 1286 + if (verbose) LOG_FUNC("STUB: CGPathAddRoundedRect called\n"); 1287 + return NULL; 1288 + }; 1289 + 1290 + void* CGPathApply(void) { 1291 + if (verbose) LOG_FUNC("STUB: CGPathApply called\n"); 1292 + return NULL; 1293 + }; 1294 + 1295 + void* CGPathCloseSubpath(void) { 1296 + if (verbose) LOG_FUNC("STUB: CGPathCloseSubpath called\n"); 1297 + return NULL; 1298 + }; 1299 + 1300 + void* CGPathContainsPoint(void) { 1301 + if (verbose) LOG_FUNC("STUB: CGPathContainsPoint called\n"); 1302 + return NULL; 1303 + }; 1304 + 1305 + void* CGPathCreateCopy(void) { 1306 + if (verbose) LOG_FUNC("STUB: CGPathCreateCopy called\n"); 1307 + return NULL; 1308 + }; 1309 + 1310 + void* CGPathCreateCopyByDashingPath(void) { 1311 + if (verbose) LOG_FUNC("STUB: CGPathCreateCopyByDashingPath called\n"); 1312 + return NULL; 1313 + }; 1314 + 1315 + void* CGPathCreateCopyByStrokingPath(void) { 1316 + if (verbose) LOG_FUNC("STUB: CGPathCreateCopyByStrokingPath called\n"); 1317 + return NULL; 1318 + }; 1319 + 1320 + void* CGPathCreateCopyByTransformingPath(void) { 1321 + if (verbose) LOG_FUNC("STUB: CGPathCreateCopyByTransformingPath called\n"); 1322 + return NULL; 1323 + }; 1324 + 1325 + void* CGPathCreateMutable(void) { 1326 + if (verbose) LOG_FUNC("STUB: CGPathCreateMutable called\n"); 1327 + return NULL; 1328 + }; 1329 + 1330 + void* CGPathCreateMutableCopy(void) { 1331 + if (verbose) LOG_FUNC("STUB: CGPathCreateMutableCopy called\n"); 1332 + return NULL; 1333 + }; 1334 + 1335 + void* CGPathCreateWithEllipseInRect(void) { 1336 + if (verbose) LOG_FUNC("STUB: CGPathCreateWithEllipseInRect called\n"); 1337 + return NULL; 1338 + }; 1339 + 1340 + void* CGPathCreateWithRect(void) { 1341 + if (verbose) LOG_FUNC("STUB: CGPathCreateWithRect called\n"); 1342 + return NULL; 1343 + }; 1344 + 1345 + void* CGPathCreateWithRoundedRect(void) { 1346 + if (verbose) LOG_FUNC("STUB: CGPathCreateWithRoundedRect called\n"); 1347 + return NULL; 1348 + }; 1349 + 1350 + void* CGPathGetBoundingBox(void) { 1351 + if (verbose) LOG_FUNC("STUB: CGPathGetBoundingBox called\n"); 1352 + return NULL; 1353 + }; 1354 + 1355 + void* CGPathGetPathBoundingBox(void) { 1356 + if (verbose) LOG_FUNC("STUB: CGPathGetPathBoundingBox called\n"); 1357 + return NULL; 1358 + }; 1359 + 1360 + void* CGPathIsEmpty(void) { 1361 + if (verbose) LOG_FUNC("STUB: CGPathIsEmpty called\n"); 1362 + return NULL; 1363 + }; 1364 + 1365 + void* CGPathMoveToPoint(void) { 1366 + if (verbose) LOG_FUNC("STUB: CGPathMoveToPoint called\n"); 1367 + return NULL; 1368 + }; 1369 + 1370 + void* CGPathRelease(void) { 1371 + if (verbose) LOG_FUNC("STUB: CGPathRelease called\n"); 1372 + return NULL; 1373 + }; 1374 + 1375 + void* CGPatternCreate(void) { 1376 + if (verbose) LOG_FUNC("STUB: CGPatternCreate called\n"); 1377 + return NULL; 1378 + }; 1379 + 1380 + void* CGPatternRelease(void) { 1381 + if (verbose) LOG_FUNC("STUB: CGPatternRelease called\n"); 1382 + return NULL; 1383 + }; 1384 + 1385 + void* CGPointApplyAffineTransform(void) { 1386 + if (verbose) LOG_FUNC("STUB: CGPointApplyAffineTransform called\n"); 1387 + return NULL; 1388 + }; 1389 + 1390 + void* CGPointCreateDictionaryRepresentation(void) { 1391 + if (verbose) LOG_FUNC("STUB: CGPointCreateDictionaryRepresentation called\n"); 1392 + return NULL; 1393 + }; 1394 + 1395 + void* CGPointMakeWithDictionaryRepresentation(void) { 1396 + if (verbose) LOG_FUNC("STUB: CGPointMakeWithDictionaryRepresentation called\n"); 1397 + return NULL; 1398 + }; 1399 + 1400 + void* CGRectApplyAffineTransform(void) { 1401 + if (verbose) LOG_FUNC("STUB: CGRectApplyAffineTransform called\n"); 1402 + return NULL; 1403 + }; 1404 + 1405 + void* CGRectContainsPoint(void) { 1406 + if (verbose) LOG_FUNC("STUB: CGRectContainsPoint called\n"); 1407 + return NULL; 1408 + }; 1409 + 1410 + void* CGRectContainsRect(void) { 1411 + if (verbose) LOG_FUNC("STUB: CGRectContainsRect called\n"); 1412 + return NULL; 1413 + }; 1414 + 1415 + void* CGRectCreateDictionaryRepresentation(void) { 1416 + if (verbose) LOG_FUNC("STUB: CGRectCreateDictionaryRepresentation called\n"); 1417 + return NULL; 1418 + }; 1419 + 1420 + void* CGRectDivide(void) { 1421 + if (verbose) LOG_FUNC("STUB: CGRectDivide called\n"); 1422 + return NULL; 1423 + }; 1424 + 1425 + void* CGRectEqualToRect(void) { 1426 + if (verbose) LOG_FUNC("STUB: CGRectEqualToRect called\n"); 1427 + return NULL; 1428 + }; 1429 + 1430 + void* CGRectGetHeight(void) { 1431 + if (verbose) LOG_FUNC("STUB: CGRectGetHeight called\n"); 1432 + return NULL; 1433 + }; 1434 + 1435 + void* CGRectGetMaxX(void) { 1436 + if (verbose) LOG_FUNC("STUB: CGRectGetMaxX called\n"); 1437 + return NULL; 1438 + }; 1439 + 1440 + void* CGRectGetMaxY(void) { 1441 + if (verbose) LOG_FUNC("STUB: CGRectGetMaxY called\n"); 1442 + return NULL; 1443 + }; 1444 + 1445 + void* CGRectGetMidX(void) { 1446 + if (verbose) LOG_FUNC("STUB: CGRectGetMidX called\n"); 1447 + return NULL; 1448 + }; 1449 + 1450 + void* CGRectGetMidY(void) { 1451 + if (verbose) LOG_FUNC("STUB: CGRectGetMidY called\n"); 1452 + return NULL; 1453 + }; 1454 + 1455 + void* CGRectGetMinX(void) { 1456 + if (verbose) LOG_FUNC("STUB: CGRectGetMinX called\n"); 1457 + return NULL; 1458 + }; 1459 + 1460 + void* CGRectGetMinY(void) { 1461 + if (verbose) LOG_FUNC("STUB: CGRectGetMinY called\n"); 1462 + return NULL; 1463 + }; 1464 + 1465 + void* CGRectGetWidth(void) { 1466 + if (verbose) LOG_FUNC("STUB: CGRectGetWidth called\n"); 1467 + return NULL; 1468 + }; 1469 + 1470 + void* CGRectInset(void) { 1471 + if (verbose) LOG_FUNC("STUB: CGRectInset called\n"); 1472 + return NULL; 1473 + }; 1474 + 1475 + void* CGRectIntegral(void) { 1476 + if (verbose) LOG_FUNC("STUB: CGRectIntegral called\n"); 1477 + return NULL; 1478 + }; 1479 + 1480 + void* CGRectIntersection(void) { 1481 + if (verbose) LOG_FUNC("STUB: CGRectIntersection called\n"); 1482 + return NULL; 1483 + }; 1484 + 1485 + void* CGRectIntersectsRect(void) { 1486 + if (verbose) LOG_FUNC("STUB: CGRectIntersectsRect called\n"); 1487 + return NULL; 1488 + }; 1489 + 1490 + void* CGRectIsEmpty(void) { 1491 + if (verbose) LOG_FUNC("STUB: CGRectIsEmpty called\n"); 1492 + return NULL; 1493 + }; 1494 + 1495 + void* CGRectIsInfinite(void) { 1496 + if (verbose) LOG_FUNC("STUB: CGRectIsInfinite called\n"); 1497 + return NULL; 1498 + }; 1499 + 1500 + void* CGRectIsNull(void) { 1501 + if (verbose) LOG_FUNC("STUB: CGRectIsNull called\n"); 1502 + return NULL; 1503 + }; 1504 + 1505 + void* CGRectMakeWithDictionaryRepresentation(void) { 1506 + if (verbose) LOG_FUNC("STUB: CGRectMakeWithDictionaryRepresentation called\n"); 1507 + return NULL; 1508 + }; 1509 + 1510 + void* CGRectOffset(void) { 1511 + if (verbose) LOG_FUNC("STUB: CGRectOffset called\n"); 1512 + return NULL; 1513 + }; 1514 + 1515 + void* CGRectStandardize(void) { 1516 + if (verbose) LOG_FUNC("STUB: CGRectStandardize called\n"); 1517 + return NULL; 1518 + }; 1519 + 1520 + void* CGRectUnion(void) { 1521 + if (verbose) LOG_FUNC("STUB: CGRectUnion called\n"); 1522 + return NULL; 1523 + }; 1524 + 1525 + void* CGSAcceleratorForDisplayNumber(void) { 1526 + if (verbose) LOG_FUNC("STUB: CGSAcceleratorForDisplayNumber called\n"); 1527 + return NULL; 1528 + }; 1529 + 1530 + void* CGSCopyDisplayInfoDictionary(void) { 1531 + if (verbose) LOG_FUNC("STUB: CGSCopyDisplayInfoDictionary called\n"); 1532 + return NULL; 1533 + }; 1534 + 1535 + void* CGSCurrentInputPointerPosition(void) { 1536 + if (verbose) LOG_FUNC("STUB: CGSCurrentInputPointerPosition called\n"); 1537 + return NULL; 1538 + }; 1539 + 1540 + void* CGSDisplayStatusQuery(void) { 1541 + if (verbose) LOG_FUNC("STUB: CGSDisplayStatusQuery called\n"); 1542 + return NULL; 1543 + }; 1544 + 1545 + void* CGSFindWindowAndOwner(void) { 1546 + if (verbose) LOG_FUNC("STUB: CGSFindWindowAndOwner called\n"); 1547 + return NULL; 1548 + }; 1549 + 1550 + void* CGSGetCurrentCursorLocation(void) { 1551 + if (verbose) LOG_FUNC("STUB: CGSGetCurrentCursorLocation called\n"); 1552 + return NULL; 1553 + }; 1554 + 1555 + void* CGSGetCurrentDisplayMode(void) { 1556 + if (verbose) LOG_FUNC("STUB: CGSGetCurrentDisplayMode called\n"); 1557 + return NULL; 1558 + }; 1559 + 1560 + void* CGSGetDisplayList(void) { 1561 + if (verbose) LOG_FUNC("STUB: CGSGetDisplayList called\n"); 1562 + return NULL; 1563 + }; 1564 + 1565 + void* CGSGetDisplayModeDescriptionOfLength(void) { 1566 + if (verbose) LOG_FUNC("STUB: CGSGetDisplayModeDescriptionOfLength called\n"); 1567 + return NULL; 1568 + }; 1569 + 1570 + void* CGSGetGlobalHotKeyOperatingMode(void) { 1571 + if (verbose) LOG_FUNC("STUB: CGSGetGlobalHotKeyOperatingMode called\n"); 1572 + return NULL; 1573 + }; 1574 + 1575 + void* CGSGetSymbolicHotKeyValuesAndStates(void) { 1576 + if (verbose) LOG_FUNC("STUB: CGSGetSymbolicHotKeyValuesAndStates called\n"); 1577 + return NULL; 1578 + }; 1579 + 1580 + void* CGSGetWindowTransformAtPlacement(void) { 1581 + if (verbose) LOG_FUNC("STUB: CGSGetWindowTransformAtPlacement called\n"); 1582 + return NULL; 1583 + }; 1584 + 1585 + void* CGSInputButtonState(void) { 1586 + if (verbose) LOG_FUNC("STUB: CGSInputButtonState called\n"); 1587 + return NULL; 1588 + }; 1589 + 1590 + void* CGSMainConnectionID(void) { 1591 + if (verbose) LOG_FUNC("STUB: CGSMainConnectionID called\n"); 1592 + return NULL; 1593 + }; 1594 + 1595 + void* CGSRegisterNotifyProc(void) { 1596 + if (verbose) LOG_FUNC("STUB: CGSRegisterNotifyProc called\n"); 1597 + return NULL; 1598 + }; 1599 + 1600 + void* CGSRemoveNotifyProc(void) { 1601 + if (verbose) LOG_FUNC("STUB: CGSRemoveNotifyProc called\n"); 1602 + return NULL; 1603 + }; 1604 + 1605 + void* CGSServerOperationState(void) { 1606 + if (verbose) LOG_FUNC("STUB: CGSServerOperationState called\n"); 1607 + return NULL; 1608 + }; 1609 + 1610 + void* CGSSessionCopyAllSessionProperties(void) { 1611 + if (verbose) LOG_FUNC("STUB: CGSSessionCopyAllSessionProperties called\n"); 1612 + return NULL; 1613 + }; 1614 + 1615 + void* CGSSessionReleaseSessionID(void) { 1616 + if (verbose) LOG_FUNC("STUB: CGSSessionReleaseSessionID called\n"); 1617 + return NULL; 1618 + }; 1619 + 1620 + void* CGSSetGlobalHotKeyOperatingMode(void) { 1621 + if (verbose) LOG_FUNC("STUB: CGSSetGlobalHotKeyOperatingMode called\n"); 1622 + return NULL; 1623 + }; 1624 + 1625 + void* CGSSetWindowBackgroundBlurRadius(void) { 1626 + if (verbose) LOG_FUNC("STUB: CGSSetWindowBackgroundBlurRadius called\n"); 1627 + return NULL; 1628 + }; 1629 + 1630 + void* CGSSetWindowTransformAtPlacement(void) { 1631 + if (verbose) LOG_FUNC("STUB: CGSSetWindowTransformAtPlacement called\n"); 1632 + return NULL; 1633 + }; 1634 + 1635 + void* CGShadingCreateAxial(void) { 1636 + if (verbose) LOG_FUNC("STUB: CGShadingCreateAxial called\n"); 1637 + return NULL; 1638 + }; 1639 + 1640 + void* CGShadingRelease(void) { 1641 + if (verbose) LOG_FUNC("STUB: CGShadingRelease called\n"); 1642 + return NULL; 1643 + }; 1644 + 1645 + void* CGSizeEqualToSize(void) { 1646 + if (verbose) LOG_FUNC("STUB: CGSizeEqualToSize called\n"); 1647 + return NULL; 1648 + }; 1649 + 1650 + void* CGSizeMakeWithDictionaryRepresentation(void) { 1651 + if (verbose) LOG_FUNC("STUB: CGSizeMakeWithDictionaryRepresentation called\n"); 1652 + return NULL; 1653 + }; 1654 + 1655 + void* CGWindowLevelForKey(void) { 1656 + if (verbose) LOG_FUNC("STUB: CGWindowLevelForKey called\n"); 1657 + return NULL; 1658 + }; 1659 + 1660 + void* CGWindowListCopyWindowInfo(void) { 1661 + if (verbose) LOG_FUNC("STUB: CGWindowListCopyWindowInfo called\n"); 1662 + return NULL; 1663 + }; 1664 + 1665 + 1666 + void* CGSSetDenyWindowServerConnections(void) { 1667 + if (verbose) LOG_FUNC("STUB: CGSSetDenyWindowServerConnections called\n"); 1668 + return NULL; 1669 + }; 1670 +
+23
src/frameworks/dev-stubs/CoreText/CMakeLists.txt
··· 1 + project(CoreText_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(CoreText 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME CoreText${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(CoreText${STUB_SUFFIX} BEFORE PRIVATE include)
+21
src/frameworks/dev-stubs/CoreText/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 +
+251
src/frameworks/dev-stubs/CoreText/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + NSString *const kCTFontAttributeName = @"kCTFontAttributeName"; 40 + NSString *const kCTFontFamilyNameAttribute = @"kCTFontFamilyNameAttribute"; 41 + NSString *const kCTFontNameAttribute = @"kCTFontNameAttribute"; 42 + NSString *const kCTFontStyleNameAttribute = @"kCTFontStyleNameAttribute"; 43 + NSString *const kCTForegroundColorAttributeName = @"kCTForegroundColorAttributeName"; 44 + NSString *const kCTFrameIntegerLineMetricsAttributeName = @"kCTFrameIntegerLineMetricsAttributeName"; 45 + NSString *const kCTKernAttributeName = @"kCTKernAttributeName"; 46 + NSString *const kCTParagraphStyleAttributeName = @"kCTParagraphStyleAttributeName"; 47 + NSString *const kCTRunDelegateAttributeName = @"kCTRunDelegateAttributeName"; 48 + NSString *const kCTUnderlineColorAttributeName = @"kCTUnderlineColorAttributeName"; 49 + NSString *const kCTUnderlineStyleAttributeName = @"kCTUnderlineStyleAttributeName"; 50 + 51 + void* CTFontCopyFamilyName(void) { 52 + if (verbose) LOG_FUNC("STUB: CTFontCopyFamilyName called\n"); 53 + return NULL; 54 + }; 55 + 56 + void* CTFontCopyFullName(void) { 57 + if (verbose) LOG_FUNC("STUB: CTFontCopyFullName called\n"); 58 + return NULL; 59 + }; 60 + 61 + void* CTFontCreatePathForGlyph(void) { 62 + if (verbose) LOG_FUNC("STUB: CTFontCreatePathForGlyph called\n"); 63 + return NULL; 64 + }; 65 + 66 + void* CTFontCreateWithName(void) { 67 + if (verbose) LOG_FUNC("STUB: CTFontCreateWithName called\n"); 68 + return NULL; 69 + }; 70 + 71 + void* CTFontDescriptorCopyAttribute(void) { 72 + if (verbose) LOG_FUNC("STUB: CTFontDescriptorCopyAttribute called\n"); 73 + return NULL; 74 + }; 75 + 76 + void* CTFontDescriptorCopyLocalizedAttribute(void) { 77 + if (verbose) LOG_FUNC("STUB: CTFontDescriptorCopyLocalizedAttribute called\n"); 78 + return NULL; 79 + }; 80 + 81 + void* CTFontDescriptorCreateMatchingFontDescriptors(void) { 82 + if (verbose) LOG_FUNC("STUB: CTFontDescriptorCreateMatchingFontDescriptors called\n"); 83 + return NULL; 84 + }; 85 + 86 + void* CTFontDescriptorCreateWithAttributes(void) { 87 + if (verbose) LOG_FUNC("STUB: CTFontDescriptorCreateWithAttributes called\n"); 88 + return NULL; 89 + }; 90 + 91 + void* CTFontDrawGlyphs(void) { 92 + if (verbose) LOG_FUNC("STUB: CTFontDrawGlyphs called\n"); 93 + return NULL; 94 + }; 95 + 96 + void* CTFontGetAdvancesForGlyphs(void) { 97 + if (verbose) LOG_FUNC("STUB: CTFontGetAdvancesForGlyphs called\n"); 98 + return NULL; 99 + }; 100 + 101 + void* CTFontGetGlyphsForCharacters(void) { 102 + if (verbose) LOG_FUNC("STUB: CTFontGetGlyphsForCharacters called\n"); 103 + return NULL; 104 + }; 105 + 106 + void* CTFontGetSymbolicTraits(void) { 107 + if (verbose) LOG_FUNC("STUB: CTFontGetSymbolicTraits called\n"); 108 + return NULL; 109 + }; 110 + 111 + void* CTFontManagerRegisterFontsForURL(void) { 112 + if (verbose) LOG_FUNC("STUB: CTFontManagerRegisterFontsForURL called\n"); 113 + return NULL; 114 + }; 115 + 116 + void* CTFrameDraw(void) { 117 + if (verbose) LOG_FUNC("STUB: CTFrameDraw called\n"); 118 + return NULL; 119 + }; 120 + 121 + void* CTFrameGetLineOrigins(void) { 122 + if (verbose) LOG_FUNC("STUB: CTFrameGetLineOrigins called\n"); 123 + return NULL; 124 + }; 125 + 126 + void* CTFrameGetLines(void) { 127 + if (verbose) LOG_FUNC("STUB: CTFrameGetLines called\n"); 128 + return NULL; 129 + }; 130 + 131 + void* CTFramesetterCreateFrame(void) { 132 + if (verbose) LOG_FUNC("STUB: CTFramesetterCreateFrame called\n"); 133 + return NULL; 134 + }; 135 + 136 + void* CTFramesetterCreateWithAttributedString(void) { 137 + if (verbose) LOG_FUNC("STUB: CTFramesetterCreateWithAttributedString called\n"); 138 + return NULL; 139 + }; 140 + 141 + void* CTFramesetterSuggestFrameSizeWithConstraints(void) { 142 + if (verbose) LOG_FUNC("STUB: CTFramesetterSuggestFrameSizeWithConstraints called\n"); 143 + return NULL; 144 + }; 145 + 146 + void* CTLineCreateTruncatedLine(void) { 147 + if (verbose) LOG_FUNC("STUB: CTLineCreateTruncatedLine called\n"); 148 + return NULL; 149 + }; 150 + 151 + void* CTLineCreateWithAttributedString(void) { 152 + if (verbose) LOG_FUNC("STUB: CTLineCreateWithAttributedString called\n"); 153 + return NULL; 154 + }; 155 + 156 + void* CTLineDraw(void) { 157 + if (verbose) LOG_FUNC("STUB: CTLineDraw called\n"); 158 + return NULL; 159 + }; 160 + 161 + void* CTLineGetBoundsWithOptions(void) { 162 + if (verbose) LOG_FUNC("STUB: CTLineGetBoundsWithOptions called\n"); 163 + return NULL; 164 + }; 165 + 166 + void* CTLineGetGlyphRuns(void) { 167 + if (verbose) LOG_FUNC("STUB: CTLineGetGlyphRuns called\n"); 168 + return NULL; 169 + }; 170 + 171 + void* CTLineGetImageBounds(void) { 172 + if (verbose) LOG_FUNC("STUB: CTLineGetImageBounds called\n"); 173 + return NULL; 174 + }; 175 + 176 + void* CTLineGetOffsetForStringIndex(void) { 177 + if (verbose) LOG_FUNC("STUB: CTLineGetOffsetForStringIndex called\n"); 178 + return NULL; 179 + }; 180 + 181 + void* CTLineGetStringIndexForPosition(void) { 182 + if (verbose) LOG_FUNC("STUB: CTLineGetStringIndexForPosition called\n"); 183 + return NULL; 184 + }; 185 + 186 + void* CTLineGetStringRange(void) { 187 + if (verbose) LOG_FUNC("STUB: CTLineGetStringRange called\n"); 188 + return NULL; 189 + }; 190 + 191 + void* CTLineGetTrailingWhitespaceWidth(void) { 192 + if (verbose) LOG_FUNC("STUB: CTLineGetTrailingWhitespaceWidth called\n"); 193 + return NULL; 194 + }; 195 + 196 + void* CTLineGetTypographicBounds(void) { 197 + if (verbose) LOG_FUNC("STUB: CTLineGetTypographicBounds called\n"); 198 + return NULL; 199 + }; 200 + 201 + void* CTParagraphStyleCreate(void) { 202 + if (verbose) LOG_FUNC("STUB: CTParagraphStyleCreate called\n"); 203 + return NULL; 204 + }; 205 + 206 + void* CTRunDelegateCreate(void) { 207 + if (verbose) LOG_FUNC("STUB: CTRunDelegateCreate called\n"); 208 + return NULL; 209 + }; 210 + 211 + void* CTRunDraw(void) { 212 + if (verbose) LOG_FUNC("STUB: CTRunDraw called\n"); 213 + return NULL; 214 + }; 215 + 216 + void* CTRunGetAttributes(void) { 217 + if (verbose) LOG_FUNC("STUB: CTRunGetAttributes called\n"); 218 + return NULL; 219 + }; 220 + 221 + void* CTRunGetGlyphCount(void) { 222 + if (verbose) LOG_FUNC("STUB: CTRunGetGlyphCount called\n"); 223 + return NULL; 224 + }; 225 + 226 + void* CTRunGetGlyphs(void) { 227 + if (verbose) LOG_FUNC("STUB: CTRunGetGlyphs called\n"); 228 + return NULL; 229 + }; 230 + 231 + void* CTRunGetPositions(void) { 232 + if (verbose) LOG_FUNC("STUB: CTRunGetPositions called\n"); 233 + return NULL; 234 + }; 235 + 236 + void* CTTypesetterCreateLineWithOffset(void) { 237 + if (verbose) LOG_FUNC("STUB: CTTypesetterCreateLineWithOffset called\n"); 238 + return NULL; 239 + }; 240 + 241 + void* CTTypesetterCreateWithAttributedString(void) { 242 + if (verbose) LOG_FUNC("STUB: CTTypesetterCreateWithAttributedString called\n"); 243 + return NULL; 244 + }; 245 + 246 + void* CTTypesetterSuggestClusterBreakWithOffset(void) { 247 + if (verbose) LOG_FUNC("STUB: CTTypesetterSuggestClusterBreakWithOffset called\n"); 248 + return NULL; 249 + }; 250 + 251 +
+23
src/frameworks/dev-stubs/ImageIO/CMakeLists.txt
··· 1 + project(ImageIO_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(ImageIO 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME ImageIO${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(ImageIO${STUB_SUFFIX} BEFORE PRIVATE include)
+21
src/frameworks/dev-stubs/ImageIO/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 +
+153
src/frameworks/dev-stubs/ImageIO/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + NSString *const kCGImageDestinationLossyCompressionQuality = @"kCGImageDestinationLossyCompressionQuality"; 40 + NSString *const kCGImagePropertyAPNGDelayTime = @"kCGImagePropertyAPNGDelayTime"; 41 + NSString *const kCGImagePropertyAPNGLoopCount = @"kCGImagePropertyAPNGLoopCount"; 42 + NSString *const kCGImagePropertyDPIHeight = @"kCGImagePropertyDPIHeight"; 43 + NSString *const kCGImagePropertyDPIWidth = @"kCGImagePropertyDPIWidth"; 44 + NSString *const kCGImagePropertyHasAlpha = @"kCGImagePropertyHasAlpha"; 45 + NSString *const kCGImagePropertyJFIFDensityUnit = @"kCGImagePropertyJFIFDensityUnit"; 46 + NSString *const kCGImagePropertyJFIFDictionary = @"kCGImagePropertyJFIFDictionary"; 47 + NSString *const kCGImagePropertyJFIFXDensity = @"kCGImagePropertyJFIFXDensity"; 48 + NSString *const kCGImagePropertyJFIFYDensity = @"kCGImagePropertyJFIFYDensity"; 49 + NSString *const kCGImagePropertyOrientation = @"kCGImagePropertyOrientation"; 50 + NSString *const kCGImagePropertyPNGDictionary = @"kCGImagePropertyPNGDictionary"; 51 + NSString *const kCGImagePropertyPNGXPixelsPerMeter = @"kCGImagePropertyPNGXPixelsPerMeter"; 52 + NSString *const kCGImagePropertyPNGYPixelsPerMeter = @"kCGImagePropertyPNGYPixelsPerMeter"; 53 + NSString *const kCGImagePropertyPixelHeight = @"kCGImagePropertyPixelHeight"; 54 + NSString *const kCGImagePropertyPixelWidth = @"kCGImagePropertyPixelWidth"; 55 + NSString *const kCGImagePropertyProfileName = @"kCGImagePropertyProfileName"; 56 + NSString *const kCGImagePropertyTIFFDictionary = @"kCGImagePropertyTIFFDictionary"; 57 + NSString *const kCGImagePropertyTIFFResolutionUnit = @"kCGImagePropertyTIFFResolutionUnit"; 58 + NSString *const kCGImagePropertyTIFFXResolution = @"kCGImagePropertyTIFFXResolution"; 59 + NSString *const kCGImagePropertyTIFFYResolution = @"kCGImagePropertyTIFFYResolution"; 60 + NSString *const kCGImageSourceCreateThumbnailFromImageAlways = @"kCGImageSourceCreateThumbnailFromImageAlways"; 61 + NSString *const kCGImageSourceCreateThumbnailFromImageIfAbsent = @"kCGImageSourceCreateThumbnailFromImageIfAbsent"; 62 + NSString *const kCGImageSourceCreateThumbnailWithTransform = @"kCGImageSourceCreateThumbnailWithTransform"; 63 + NSString *const kCGImageSourceShouldAllowFloat = @"kCGImageSourceShouldAllowFloat"; 64 + NSString *const kCGImageSourceShouldCache = @"kCGImageSourceShouldCache"; 65 + NSString *const kCGImageSourceSubsampleFactor = @"kCGImageSourceSubsampleFactor"; 66 + NSString *const kCGImageSourceThumbnailMaxPixelSize = @"kCGImageSourceThumbnailMaxPixelSize"; 67 + 68 + void* CGImageCreateByScaling(void) { 69 + if (verbose) LOG_FUNC("STUB: CGImageCreateByScaling called\n"); 70 + return NULL; 71 + }; 72 + 73 + void* CGImageDestinationAddImage(void) { 74 + if (verbose) LOG_FUNC("STUB: CGImageDestinationAddImage called\n"); 75 + return NULL; 76 + }; 77 + 78 + void* CGImageDestinationAddImageFromSource(void) { 79 + if (verbose) LOG_FUNC("STUB: CGImageDestinationAddImageFromSource called\n"); 80 + return NULL; 81 + }; 82 + 83 + void* CGImageDestinationCreateWithData(void) { 84 + if (verbose) LOG_FUNC("STUB: CGImageDestinationCreateWithData called\n"); 85 + return NULL; 86 + }; 87 + 88 + void* CGImageDestinationCreateWithDataConsumer(void) { 89 + if (verbose) LOG_FUNC("STUB: CGImageDestinationCreateWithDataConsumer called\n"); 90 + return NULL; 91 + }; 92 + 93 + void* CGImageDestinationCreateWithURL(void) { 94 + if (verbose) LOG_FUNC("STUB: CGImageDestinationCreateWithURL called\n"); 95 + return NULL; 96 + }; 97 + 98 + void* CGImageDestinationFinalize(void) { 99 + if (verbose) LOG_FUNC("STUB: CGImageDestinationFinalize called\n"); 100 + return NULL; 101 + }; 102 + 103 + void* CGImageDestinationSetProperties(void) { 104 + if (verbose) LOG_FUNC("STUB: CGImageDestinationSetProperties called\n"); 105 + return NULL; 106 + }; 107 + 108 + void* CGImageSourceCopyProperties(void) { 109 + if (verbose) LOG_FUNC("STUB: CGImageSourceCopyProperties called\n"); 110 + return NULL; 111 + }; 112 + 113 + void* CGImageSourceCopyPropertiesAtIndex(void) { 114 + if (verbose) LOG_FUNC("STUB: CGImageSourceCopyPropertiesAtIndex called\n"); 115 + return NULL; 116 + }; 117 + 118 + void* CGImageSourceCopyTypeIdentifiers(void) { 119 + if (verbose) LOG_FUNC("STUB: CGImageSourceCopyTypeIdentifiers called\n"); 120 + return NULL; 121 + }; 122 + 123 + void* CGImageSourceCreateImageAtIndex(void) { 124 + if (verbose) LOG_FUNC("STUB: CGImageSourceCreateImageAtIndex called\n"); 125 + return NULL; 126 + }; 127 + 128 + void* CGImageSourceCreateThumbnailAtIndex(void) { 129 + if (verbose) LOG_FUNC("STUB: CGImageSourceCreateThumbnailAtIndex called\n"); 130 + return NULL; 131 + }; 132 + 133 + void* CGImageSourceCreateWithData(void) { 134 + if (verbose) LOG_FUNC("STUB: CGImageSourceCreateWithData called\n"); 135 + return NULL; 136 + }; 137 + 138 + void* CGImageSourceCreateWithURL(void) { 139 + if (verbose) LOG_FUNC("STUB: CGImageSourceCreateWithURL called\n"); 140 + return NULL; 141 + }; 142 + 143 + void* CGImageSourceGetCount(void) { 144 + if (verbose) LOG_FUNC("STUB: CGImageSourceGetCount called\n"); 145 + return NULL; 146 + }; 147 + 148 + void* CGImageSourceGetType(void) { 149 + if (verbose) LOG_FUNC("STUB: CGImageSourceGetType called\n"); 150 + return NULL; 151 + }; 152 + 153 +
+23
src/frameworks/dev-stubs/OpenGL/CMakeLists.txt
··· 1 + project(OpenGL_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(OpenGL 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME OpenGL${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(OpenGL${STUB_SUFFIX} BEFORE PRIVATE include)
+21
src/frameworks/dev-stubs/OpenGL/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 +
+360
src/frameworks/dev-stubs/OpenGL/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #include <stdlib.h> 26 + #include <stdio.h> 27 + 28 + static int verbose = 0; 29 + 30 + __attribute__((constructor)) 31 + static void initme(void) { 32 + verbose = getenv("STUB_VERBOSE") != NULL; 33 + } 34 + 35 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 36 + 37 + #define LOG_FUNC __simple_kprintf 38 + 39 + 40 + void* CGLBackDispatch(void) { 41 + if (verbose) LOG_FUNC("STUB: CGLBackDispatch called\n"); 42 + return NULL; 43 + }; 44 + 45 + void* CGLChoosePixelFormat(void) { 46 + if (verbose) LOG_FUNC("STUB: CGLChoosePixelFormat called\n"); 47 + return NULL; 48 + }; 49 + 50 + void* CGLCreateContext(void) { 51 + if (verbose) LOG_FUNC("STUB: CGLCreateContext called\n"); 52 + return NULL; 53 + }; 54 + 55 + void* CGLDestroyContext(void) { 56 + if (verbose) LOG_FUNC("STUB: CGLDestroyContext called\n"); 57 + return NULL; 58 + }; 59 + 60 + void* CGLDestroyPixelFormat(void) { 61 + if (verbose) LOG_FUNC("STUB: CGLDestroyPixelFormat called\n"); 62 + return NULL; 63 + }; 64 + 65 + void* CGLFrontDispatch(void) { 66 + if (verbose) LOG_FUNC("STUB: CGLFrontDispatch called\n"); 67 + return NULL; 68 + }; 69 + 70 + void* CGLGetCurrentContext(void) { 71 + if (verbose) LOG_FUNC("STUB: CGLGetCurrentContext called\n"); 72 + return NULL; 73 + }; 74 + 75 + void* CGLGetParameter(void) { 76 + if (verbose) LOG_FUNC("STUB: CGLGetParameter called\n"); 77 + return NULL; 78 + }; 79 + 80 + void* CGLGetShareGroup(void) { 81 + if (verbose) LOG_FUNC("STUB: CGLGetShareGroup called\n"); 82 + return NULL; 83 + }; 84 + 85 + void* CGLGetVirtualScreen(void) { 86 + if (verbose) LOG_FUNC("STUB: CGLGetVirtualScreen called\n"); 87 + return NULL; 88 + }; 89 + 90 + void* CGLLockContext(void) { 91 + if (verbose) LOG_FUNC("STUB: CGLLockContext called\n"); 92 + return NULL; 93 + }; 94 + 95 + void* CGLReleaseContext(void) { 96 + if (verbose) LOG_FUNC("STUB: CGLReleaseContext called\n"); 97 + return NULL; 98 + }; 99 + 100 + void* CGLReleasePixelFormat(void) { 101 + if (verbose) LOG_FUNC("STUB: CGLReleasePixelFormat called\n"); 102 + return NULL; 103 + }; 104 + 105 + void* CGLRetainContext(void) { 106 + if (verbose) LOG_FUNC("STUB: CGLRetainContext called\n"); 107 + return NULL; 108 + }; 109 + 110 + void* CGLSetCurrentContext(void) { 111 + if (verbose) LOG_FUNC("STUB: CGLSetCurrentContext called\n"); 112 + return NULL; 113 + }; 114 + 115 + void* CGLSetParameter(void) { 116 + if (verbose) LOG_FUNC("STUB: CGLSetParameter called\n"); 117 + return NULL; 118 + }; 119 + 120 + void* CGLTexImageIOSurface2D(void) { 121 + if (verbose) LOG_FUNC("STUB: CGLTexImageIOSurface2D called\n"); 122 + return NULL; 123 + }; 124 + 125 + void* CGLUnlockContext(void) { 126 + if (verbose) LOG_FUNC("STUB: CGLUnlockContext called\n"); 127 + return NULL; 128 + }; 129 + 130 + void* CGLUpdateContext(void) { 131 + if (verbose) LOG_FUNC("STUB: CGLUpdateContext called\n"); 132 + return NULL; 133 + }; 134 + 135 + void* glBegin(void) { 136 + if (verbose) LOG_FUNC("STUB: glBegin called\n"); 137 + return NULL; 138 + }; 139 + 140 + void* glBindFramebufferEXT(void) { 141 + if (verbose) LOG_FUNC("STUB: glBindFramebufferEXT called\n"); 142 + return NULL; 143 + }; 144 + 145 + void* glBindTexture(void) { 146 + if (verbose) LOG_FUNC("STUB: glBindTexture called\n"); 147 + return NULL; 148 + }; 149 + 150 + void* glBlendFunc(void) { 151 + if (verbose) LOG_FUNC("STUB: glBlendFunc called\n"); 152 + return NULL; 153 + }; 154 + 155 + void* glCheckFramebufferStatusEXT(void) { 156 + if (verbose) LOG_FUNC("STUB: glCheckFramebufferStatusEXT called\n"); 157 + return NULL; 158 + }; 159 + 160 + void* glClear(void) { 161 + if (verbose) LOG_FUNC("STUB: glClear called\n"); 162 + return NULL; 163 + }; 164 + 165 + void* glClearColor(void) { 166 + if (verbose) LOG_FUNC("STUB: glClearColor called\n"); 167 + return NULL; 168 + }; 169 + 170 + void* glColor4f(void) { 171 + if (verbose) LOG_FUNC("STUB: glColor4f called\n"); 172 + return NULL; 173 + }; 174 + 175 + void* glDisable(void) { 176 + if (verbose) LOG_FUNC("STUB: glDisable called\n"); 177 + return NULL; 178 + }; 179 + 180 + void* glDrawBuffer(void) { 181 + if (verbose) LOG_FUNC("STUB: glDrawBuffer called\n"); 182 + return NULL; 183 + }; 184 + 185 + void* glEnable(void) { 186 + if (verbose) LOG_FUNC("STUB: glEnable called\n"); 187 + return NULL; 188 + }; 189 + 190 + void* glEnd(void) { 191 + if (verbose) LOG_FUNC("STUB: glEnd called\n"); 192 + return NULL; 193 + }; 194 + 195 + void* glFinish(void) { 196 + if (verbose) LOG_FUNC("STUB: glFinish called\n"); 197 + return NULL; 198 + }; 199 + 200 + void* glFramebufferTexture2DEXT(void) { 201 + if (verbose) LOG_FUNC("STUB: glFramebufferTexture2DEXT called\n"); 202 + return NULL; 203 + }; 204 + 205 + void* glGenFramebuffersEXT(void) { 206 + if (verbose) LOG_FUNC("STUB: glGenFramebuffersEXT called\n"); 207 + return NULL; 208 + }; 209 + 210 + void* glGenTextures(void) { 211 + if (verbose) LOG_FUNC("STUB: glGenTextures called\n"); 212 + return NULL; 213 + }; 214 + 215 + void* glGetBooleanv(void) { 216 + if (verbose) LOG_FUNC("STUB: glGetBooleanv called\n"); 217 + return NULL; 218 + }; 219 + 220 + void* glGetError(void) { 221 + if (verbose) LOG_FUNC("STUB: glGetError called\n"); 222 + return NULL; 223 + }; 224 + 225 + void* glGetIntegerv(void) { 226 + if (verbose) LOG_FUNC("STUB: glGetIntegerv called\n"); 227 + return NULL; 228 + }; 229 + 230 + void* glLineWidth(void) { 231 + if (verbose) LOG_FUNC("STUB: glLineWidth called\n"); 232 + return NULL; 233 + }; 234 + 235 + void* glLoadIdentity(void) { 236 + if (verbose) LOG_FUNC("STUB: glLoadIdentity called\n"); 237 + return NULL; 238 + }; 239 + 240 + void* glMatrixMode(void) { 241 + if (verbose) LOG_FUNC("STUB: glMatrixMode called\n"); 242 + return NULL; 243 + }; 244 + 245 + void* glOrtho(void) { 246 + if (verbose) LOG_FUNC("STUB: glOrtho called\n"); 247 + return NULL; 248 + }; 249 + 250 + void* glPixelStorei(void) { 251 + if (verbose) LOG_FUNC("STUB: glPixelStorei called\n"); 252 + return NULL; 253 + }; 254 + 255 + void* glPointSize(void) { 256 + if (verbose) LOG_FUNC("STUB: glPointSize called\n"); 257 + return NULL; 258 + }; 259 + 260 + void* glPopMatrix(void) { 261 + if (verbose) LOG_FUNC("STUB: glPopMatrix called\n"); 262 + return NULL; 263 + }; 264 + 265 + void* glPushMatrix(void) { 266 + if (verbose) LOG_FUNC("STUB: glPushMatrix called\n"); 267 + return NULL; 268 + }; 269 + 270 + void* glReadPixels(void) { 271 + if (verbose) LOG_FUNC("STUB: glReadPixels called\n"); 272 + return NULL; 273 + }; 274 + 275 + void* glRotatef(void) { 276 + if (verbose) LOG_FUNC("STUB: glRotatef called\n"); 277 + return NULL; 278 + }; 279 + 280 + void* glSwapAPPLE(void) { 281 + if (verbose) LOG_FUNC("STUB: glSwapAPPLE called\n"); 282 + return NULL; 283 + }; 284 + 285 + void* glTexCoord2f(void) { 286 + if (verbose) LOG_FUNC("STUB: glTexCoord2f called\n"); 287 + return NULL; 288 + }; 289 + 290 + void* glTexImage2D(void) { 291 + if (verbose) LOG_FUNC("STUB: glTexImage2D called\n"); 292 + return NULL; 293 + }; 294 + 295 + void* glTexParameterfv(void) { 296 + if (verbose) LOG_FUNC("STUB: glTexParameterfv called\n"); 297 + return NULL; 298 + }; 299 + 300 + void* glTexParameteri(void) { 301 + if (verbose) LOG_FUNC("STUB: glTexParameteri called\n"); 302 + return NULL; 303 + }; 304 + 305 + void* glTranslatef(void) { 306 + if (verbose) LOG_FUNC("STUB: glTranslatef called\n"); 307 + return NULL; 308 + }; 309 + 310 + void* glUniform1f(void) { 311 + if (verbose) LOG_FUNC("STUB: glUniform1f called\n"); 312 + return NULL; 313 + }; 314 + 315 + void* glUniform1i(void) { 316 + if (verbose) LOG_FUNC("STUB: glUniform1i called\n"); 317 + return NULL; 318 + }; 319 + 320 + void* glUniform2f(void) { 321 + if (verbose) LOG_FUNC("STUB: glUniform2f called\n"); 322 + return NULL; 323 + }; 324 + 325 + void* glUniform3f(void) { 326 + if (verbose) LOG_FUNC("STUB: glUniform3f called\n"); 327 + return NULL; 328 + }; 329 + 330 + void* glUniform4f(void) { 331 + if (verbose) LOG_FUNC("STUB: glUniform4f called\n"); 332 + return NULL; 333 + }; 334 + 335 + void* glUniformMatrix2x3fv(void) { 336 + if (verbose) LOG_FUNC("STUB: glUniformMatrix2x3fv called\n"); 337 + return NULL; 338 + }; 339 + 340 + void* glUniformMatrix4x3fv(void) { 341 + if (verbose) LOG_FUNC("STUB: glUniformMatrix4x3fv called\n"); 342 + return NULL; 343 + }; 344 + 345 + void* glVertex2f(void) { 346 + if (verbose) LOG_FUNC("STUB: glVertex2f called\n"); 347 + return NULL; 348 + }; 349 + 350 + void* glVertex3f(void) { 351 + if (verbose) LOG_FUNC("STUB: glVertex3f called\n"); 352 + return NULL; 353 + }; 354 + 355 + void* glViewport(void) { 356 + if (verbose) LOG_FUNC("STUB: glViewport called\n"); 357 + return NULL; 358 + }; 359 + 360 +
+23
src/frameworks/dev-stubs/QuartzCore/CMakeLists.txt
··· 1 + project(QuartzCore_stub) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + add_framework(QuartzCore 8 + FAT 9 + CURRENT_VERSION 10 + VERSION ${FRAMEWORK_VERSION} 11 + TARGET_NAME QuartzCore${STUB_SUFFIX} 12 + ${NO_INSTALL_ARG} 13 + 14 + SOURCES 15 + src/classes.m 16 + src/main.m 17 + 18 + DEPENDENCIES 19 + system 20 + Foundation 21 + ) 22 + 23 + #target_include_directories(QuartzCore${STUB_SUFFIX} BEFORE PRIVATE include)
+344
src/frameworks/dev-stubs/QuartzCore/src/classes.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + @interface CAAnimation : NSObject 23 + @end 24 + 25 + @implementation CAAnimation 26 + 27 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 28 + { 29 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 30 + } 31 + 32 + - (void)forwardInvocation:(NSInvocation *)anInvocation 33 + { 34 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 35 + } 36 + 37 + @end 38 + 39 + @interface CAAnimationGroup : NSObject 40 + @end 41 + 42 + @implementation CAAnimationGroup 43 + 44 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 45 + { 46 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 47 + } 48 + 49 + - (void)forwardInvocation:(NSInvocation *)anInvocation 50 + { 51 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 52 + } 53 + 54 + @end 55 + 56 + @interface CABasicAnimation : NSObject 57 + @end 58 + 59 + @implementation CABasicAnimation 60 + 61 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 62 + { 63 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 64 + } 65 + 66 + - (void)forwardInvocation:(NSInvocation *)anInvocation 67 + { 68 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 69 + } 70 + 71 + @end 72 + 73 + @interface CAConstraint : NSObject 74 + @end 75 + 76 + @implementation CAConstraint 77 + 78 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 79 + { 80 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 81 + } 82 + 83 + - (void)forwardInvocation:(NSInvocation *)anInvocation 84 + { 85 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 86 + } 87 + 88 + @end 89 + 90 + @interface CAConstraintLayoutManager : NSObject 91 + @end 92 + 93 + @implementation CAConstraintLayoutManager 94 + 95 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 96 + { 97 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 98 + } 99 + 100 + - (void)forwardInvocation:(NSInvocation *)anInvocation 101 + { 102 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 103 + } 104 + 105 + @end 106 + 107 + @interface CAFilter : NSObject 108 + @end 109 + 110 + @implementation CAFilter 111 + 112 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 113 + { 114 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 115 + } 116 + 117 + - (void)forwardInvocation:(NSInvocation *)anInvocation 118 + { 119 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 120 + } 121 + 122 + @end 123 + 124 + @interface CAGradientLayer : NSObject 125 + @end 126 + 127 + @implementation CAGradientLayer 128 + 129 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 130 + { 131 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 132 + } 133 + 134 + - (void)forwardInvocation:(NSInvocation *)anInvocation 135 + { 136 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 137 + } 138 + 139 + @end 140 + 141 + @interface CAKeyframeAnimation : NSObject 142 + @end 143 + 144 + @implementation CAKeyframeAnimation 145 + 146 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 147 + { 148 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 149 + } 150 + 151 + - (void)forwardInvocation:(NSInvocation *)anInvocation 152 + { 153 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 154 + } 155 + 156 + @end 157 + 158 + @interface CALayer : NSObject 159 + @end 160 + 161 + @implementation CALayer 162 + 163 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 164 + { 165 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 166 + } 167 + 168 + - (void)forwardInvocation:(NSInvocation *)anInvocation 169 + { 170 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 171 + } 172 + 173 + @end 174 + 175 + @interface CALayerHost : NSObject 176 + @end 177 + 178 + @implementation CALayerHost 179 + 180 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 181 + { 182 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 183 + } 184 + 185 + - (void)forwardInvocation:(NSInvocation *)anInvocation 186 + { 187 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 188 + } 189 + 190 + @end 191 + 192 + @interface CAMediaTimingFunction : NSObject 193 + @end 194 + 195 + @implementation CAMediaTimingFunction 196 + 197 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 198 + { 199 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 200 + } 201 + 202 + - (void)forwardInvocation:(NSInvocation *)anInvocation 203 + { 204 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 205 + } 206 + 207 + @end 208 + 209 + @interface CAMetalLayer : NSObject 210 + @end 211 + 212 + @implementation CAMetalLayer 213 + 214 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 215 + { 216 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 217 + } 218 + 219 + - (void)forwardInvocation:(NSInvocation *)anInvocation 220 + { 221 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 222 + } 223 + 224 + @end 225 + 226 + @interface CARenderer : NSObject 227 + @end 228 + 229 + @implementation CARenderer 230 + 231 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 232 + { 233 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 234 + } 235 + 236 + - (void)forwardInvocation:(NSInvocation *)anInvocation 237 + { 238 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 239 + } 240 + 241 + @end 242 + 243 + @interface CAShapeLayer : NSObject 244 + @end 245 + 246 + @implementation CAShapeLayer 247 + 248 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 249 + { 250 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 251 + } 252 + 253 + - (void)forwardInvocation:(NSInvocation *)anInvocation 254 + { 255 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 256 + } 257 + 258 + @end 259 + 260 + @interface CASpringAnimation : NSObject 261 + @end 262 + 263 + @implementation CASpringAnimation 264 + 265 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 266 + { 267 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 268 + } 269 + 270 + - (void)forwardInvocation:(NSInvocation *)anInvocation 271 + { 272 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 273 + } 274 + 275 + @end 276 + 277 + @interface CATextLayer : NSObject 278 + @end 279 + 280 + @implementation CATextLayer 281 + 282 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 283 + { 284 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 285 + } 286 + 287 + - (void)forwardInvocation:(NSInvocation *)anInvocation 288 + { 289 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 290 + } 291 + 292 + @end 293 + 294 + @interface CATransaction : NSObject 295 + @end 296 + 297 + @implementation CATransaction 298 + 299 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 300 + { 301 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 302 + } 303 + 304 + - (void)forwardInvocation:(NSInvocation *)anInvocation 305 + { 306 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 307 + } 308 + 309 + @end 310 + 311 + @interface CATransformLayer : NSObject 312 + @end 313 + 314 + @implementation CATransformLayer 315 + 316 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 317 + { 318 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 319 + } 320 + 321 + - (void)forwardInvocation:(NSInvocation *)anInvocation 322 + { 323 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 324 + } 325 + 326 + @end 327 + 328 + @interface CATransition : NSObject 329 + @end 330 + 331 + @implementation CATransition 332 + 333 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 334 + { 335 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 336 + } 337 + 338 + - (void)forwardInvocation:(NSInvocation *)anInvocation 339 + { 340 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 341 + } 342 + 343 + @end 344 +
+135
src/frameworks/dev-stubs/QuartzCore/src/main.m
··· 1 + /* 2 + * This file is part of Darling. 3 + * 4 + * Copyright (C) 2023 Darling Developers 5 + * 6 + * Darling is free software: you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License as published by 8 + * the Free Software Foundation, either version 3 of the License, or 9 + * (at your option) any later version. 10 + * 11 + * Darling is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <objc/NSObject.h> 21 + 22 + @interface NSString : NSObject 23 + @end 24 + 25 + #ifdef __LP64__ 26 + typedef double CGFloat; 27 + #else 28 + typedef float CGFloat; 29 + #endif 30 + 31 + typedef struct { 32 + CGFloat m11, m12, m13, m14; 33 + CGFloat m21, m22, m23, m24; 34 + CGFloat m31, m32, m33, m34; 35 + CGFloat m41, m42, m43, m44; 36 + } CATransform3D; 37 + 38 + #include <stdlib.h> 39 + #include <stdio.h> 40 + 41 + static int verbose = 0; 42 + 43 + __attribute__((constructor)) 44 + static void initme(void) { 45 + verbose = getenv("STUB_VERBOSE") != NULL; 46 + } 47 + 48 + void __simple_kprintf(const char* format, ...) __attribute__((format(printf, 1, 2))); 49 + 50 + #define LOG_FUNC __simple_kprintf 51 + 52 + const CATransform3D CATransform3DIdentity = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}; 53 + NSString *const kCAAlignmentCenter = @"kCAAlignmentCenter"; 54 + NSString *const kCAAlignmentLeft = @"kCAAlignmentLeft"; 55 + NSString *const kCAAlignmentRight = @"kCAAlignmentRight"; 56 + NSString *const kCAAnimationCubic = @"kCAAnimationCubic"; 57 + NSString *const kCAAnimationCubicPaced = @"kCAAnimationCubicPaced"; 58 + NSString *const kCAAnimationLinear = @"kCAAnimationLinear"; 59 + NSString *const kCAFillModeBoth = @"kCAFillModeBoth"; 60 + NSString *const kCAFillModeForwards = @"kCAFillModeForwards"; 61 + NSString *const kCAFillRuleEvenOdd = @"kCAFillRuleEvenOdd"; 62 + NSString *const kCAFilterColorMatrix = @"kCAFilterColorMatrix"; 63 + NSString *const kCAFilterLinear = @"kCAFilterLinear"; 64 + NSString *const kCAFilterNearest = @"kCAFilterNearest"; 65 + NSString *const kCAFilterTrilinear = @"kCAFilterTrilinear"; 66 + NSString *const kCAGravityCenter = @"kCAGravityCenter"; 67 + NSString *const kCAGravityLeft = @"kCAGravityLeft"; 68 + NSString *const kCAGravityResize = @"kCAGravityResize"; 69 + NSString *const kCAGravityResizeAspect = @"kCAGravityResizeAspect"; 70 + NSString *const kCAGravityResizeAspectFill = @"kCAGravityResizeAspectFill"; 71 + NSString *const kCAGravityTopLeft = @"kCAGravityTopLeft"; 72 + NSString *const kCALineCapSquare = @"kCALineCapSquare"; 73 + NSString *const kCAMediaTimingFunctionEaseIn = @"kCAMediaTimingFunctionEaseIn"; 74 + NSString *const kCAMediaTimingFunctionEaseInEaseOut = @"kCAMediaTimingFunctionEaseInEaseOut"; 75 + NSString *const kCAMediaTimingFunctionEaseOut = @"kCAMediaTimingFunctionEaseOut"; 76 + NSString *const kCAMediaTimingFunctionLinear = @"kCAMediaTimingFunctionLinear"; 77 + NSString *const kCARendererColorSpace = @"kCARendererColorSpace"; 78 + NSString *const kCATransactionDisableActions = @"kCATransactionDisableActions"; 79 + NSString *const kCATransitionFade = @"kCATransitionFade"; 80 + NSString *const kCATransitionFromBottom = @"kCATransitionFromBottom"; 81 + NSString *const kCATransitionFromLeft = @"kCATransitionFromLeft"; 82 + NSString *const kCATransitionFromRight = @"kCATransitionFromRight"; 83 + NSString *const kCATransitionFromTop = @"kCATransitionFromTop"; 84 + NSString *const kCATransitionMoveIn = @"kCATransitionMoveIn"; 85 + NSString *const kCATransitionPush = @"kCATransitionPush"; 86 + NSString *const kCATransitionReveal = @"kCATransitionReveal"; 87 + NSString *const kCATruncationEnd = @"kCATruncationEnd"; 88 + NSString *const kCATruncationMiddle = @"kCATruncationMiddle"; 89 + 90 + void* CACurrentMediaTime(void) { 91 + if (verbose) LOG_FUNC("STUB: CACurrentMediaTime called\n"); 92 + return NULL; 93 + }; 94 + 95 + void* CATransform3DConcat(void) { 96 + if (verbose) LOG_FUNC("STUB: CATransform3DConcat called\n"); 97 + return NULL; 98 + }; 99 + 100 + void* CATransform3DInvert(void) { 101 + if (verbose) LOG_FUNC("STUB: CATransform3DInvert called\n"); 102 + return NULL; 103 + }; 104 + 105 + void* CATransform3DMakeRotation(void) { 106 + if (verbose) LOG_FUNC("STUB: CATransform3DMakeRotation called\n"); 107 + return NULL; 108 + }; 109 + 110 + void* CATransform3DMakeScale(void) { 111 + if (verbose) LOG_FUNC("STUB: CATransform3DMakeScale called\n"); 112 + return NULL; 113 + }; 114 + 115 + void* CATransform3DMakeTranslation(void) { 116 + if (verbose) LOG_FUNC("STUB: CATransform3DMakeTranslation called\n"); 117 + return NULL; 118 + }; 119 + 120 + void* CATransform3DRotate(void) { 121 + if (verbose) LOG_FUNC("STUB: CATransform3DRotate called\n"); 122 + return NULL; 123 + }; 124 + 125 + void* CATransform3DScale(void) { 126 + if (verbose) LOG_FUNC("STUB: CATransform3DScale called\n"); 127 + return NULL; 128 + }; 129 + 130 + void* CATransform3DTranslate(void) { 131 + if (verbose) LOG_FUNC("STUB: CATransform3DTranslate called\n"); 132 + return NULL; 133 + }; 134 + 135 +
+18 -16
src/native/CMakeLists.txt
··· 2 2 3 3 include(wrap_elf) 4 4 5 - wrap_elf(FreeType libfreetype.so) 6 - wrap_elf(jpeg libjpeg.so) 7 - wrap_elf(png libpng.so) 8 - wrap_elf(tiff libtiff.so) 9 - wrap_elf(gif libgif.so) 10 - wrap_elf(X11 libX11.so) 11 - wrap_elf(Xext libXext.so) 12 - wrap_elf(XRandR libXrandr.so) 13 - wrap_elf(Xcursor libXcursor.so) 14 - wrap_elf(xkbfile libxkbfile.so) 15 - wrap_elf(cairo libcairo.so) 16 - wrap_elf(EGL libEGL.so) 17 - wrap_elf(fontconfig libfontconfig.so) 18 - wrap_elf(dbus libdbus-1.so) 19 - wrap_elf(GL libGL.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 20 - wrap_elf(GLU libGLU.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 5 + if (COMPONENT_gui) 6 + wrap_elf(FreeType libfreetype.so) 7 + wrap_elf(jpeg libjpeg.so) 8 + wrap_elf(png libpng.so) 9 + wrap_elf(tiff libtiff.so) 10 + wrap_elf(gif libgif.so) 11 + wrap_elf(EGL libEGL.so) 12 + wrap_elf(fontconfig libfontconfig.so) 13 + wrap_elf(X11 libX11.so) 14 + wrap_elf(Xext libXext.so) 15 + wrap_elf(XRandR libXrandr.so) 16 + wrap_elf(Xcursor libXcursor.so) 17 + wrap_elf(xkbfile libxkbfile.so) 18 + wrap_elf(cairo libcairo.so) 19 + wrap_elf(dbus libdbus-1.so) 20 + wrap_elf(GL libGL.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 21 + wrap_elf(GLU libGLU.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 22 + endif()
+66 -47
src/private-frameworks/CMakeLists.txt
··· 1 1 project(private-frameworks) 2 2 3 - add_subdirectory(AppleFSCompression) 4 - add_subdirectory(AppleSauce) 5 - add_subdirectory(AppleSystemInfo) 6 - add_subdirectory(AssertionServices) 7 - add_subdirectory(AssetCacheServices) 8 - add_subdirectory(AssistantServices) 9 - add_subdirectory(AuthKit) 10 - add_subdirectory(AuthKitUI) 11 - add_subdirectory(Bom) 12 - add_subdirectory(ConfigurationProfiles) 13 - add_subdirectory(CoreAnalytics) 14 - add_subdirectory(CoreSymbolication) 15 - add_subdirectory(CoreUI) 16 - add_subdirectory(CoreUtils) 17 - add_subdirectory(CrashReporterSupport) 18 - add_subdirectory(DataDetectors) 19 - add_subdirectory(DataDetectorsCore) 20 - add_subdirectory(DataDetectorsNaturalLanguage) 21 - add_subdirectory(DebugSymbols) 22 - add_subdirectory(DeviceLink) 23 - add_subdirectory(DiskImages) 24 - add_subdirectory(DiskManagement) 25 - add_subdirectory(Espresso) 26 - add_subdirectory(InternationalSupport) 27 - add_subdirectory(IOPlatformPluginFamily) 28 - add_subdirectory(kperf) 29 - add_subdirectory(LoggingSupport) 30 - add_subdirectory(login) 31 - add_subdirectory(MobileAsset) 32 - add_subdirectory(MobileDevice) 33 - add_subdirectory(NetworkStatistics) 34 - add_subdirectory(PackageKit) 35 - add_subdirectory(PerformanceAnalysis) 36 - add_subdirectory(PlugInKit) 37 - add_subdirectory(PowerLog) 38 - add_subdirectory(ProtocolBuffer) 39 - add_subdirectory(ServerInformation) 40 - add_subdirectory(SkyLight) 41 - add_subdirectory(Spotlight) 42 - add_subdirectory(SpotlightDaemon) 43 - add_subdirectory(SpotlightIndex) 44 - add_subdirectory(SpotlightReceiver) 45 - add_subdirectory(SpotlightServerKit) 46 - add_subdirectory(SpotlightServices) 47 - add_subdirectory(StreamingZip) 48 - add_subdirectory(TrustedPeers) 49 - add_subdirectory(ViewBridge) 3 + # this is mainly for frameworks that are required for Security, 4 + # since Security is built for both CLI and GUI 5 + if (COMPONENT_cli OR COMPONENT_dev_gui_common) 6 + # these are also stubs, but they're needed for Security 7 + add_subdirectory(AppleFSCompression) 8 + add_subdirectory(AppleSystemInfo) 9 + add_subdirectory(AuthKit) 10 + add_subdirectory(ConfigurationProfiles) 11 + add_subdirectory(CrashReporterSupport) 12 + add_subdirectory(login) 13 + add_subdirectory(MobileAsset) 14 + add_subdirectory(ProtocolBuffer) 15 + add_subdirectory(TrustedPeers) 16 + 17 + # required for dtrace and IOKitTools 18 + add_subdirectory(CoreSymbolication) 19 + endif() 20 + 21 + # this is mainly for anything that Xcode requires to run on the CLI 22 + if (COMPONENT_dev_gui_common) 23 + add_subdirectory(DebugSymbols) 24 + endif() 25 + 26 + # same here, except this is for stubs that Xcode needs 27 + if (COMPONENT_dev_gui_stubs_common) 28 + add_subdirectory(AppleSauce) 29 + add_subdirectory(AssetCacheServices) 30 + add_subdirectory(AssistantServices) 31 + add_subdirectory(AuthKitUI) 32 + add_subdirectory(CoreAnalytics) 33 + add_subdirectory(CoreUI) 34 + add_subdirectory(DataDetectors) 35 + add_subdirectory(DataDetectorsCore) 36 + add_subdirectory(DataDetectorsNaturalLanguage) 37 + add_subdirectory(DeviceLink) 38 + add_subdirectory(DiskImages) 39 + add_subdirectory(DiskManagement) 40 + add_subdirectory(Espresso) 41 + add_subdirectory(IOPlatformPluginFamily) 42 + add_subdirectory(kperf) 43 + add_subdirectory(LoggingSupport) 44 + add_subdirectory(MobileDevice) 45 + add_subdirectory(NetworkStatistics) 46 + add_subdirectory(PackageKit) 47 + add_subdirectory(PlugInKit) 48 + add_subdirectory(PowerLog) 49 + add_subdirectory(SkyLight) 50 + add_subdirectory(SpotlightIndex) 51 + add_subdirectory(StreamingZip) 52 + add_subdirectory(ViewBridge) 53 + endif() 54 + 55 + # this is for all the other stubbed frameworks 56 + if (COMPONENT_gui_stubs) 57 + add_subdirectory(AssertionServices) 58 + add_subdirectory(Bom) 59 + add_subdirectory(CoreUtils) 60 + add_subdirectory(InternationalSupport) 61 + add_subdirectory(PerformanceAnalysis) 62 + add_subdirectory(ServerInformation) 63 + add_subdirectory(Spotlight) 64 + add_subdirectory(SpotlightDaemon) 65 + add_subdirectory(SpotlightReceiver) 66 + add_subdirectory(SpotlightServerKit) 67 + add_subdirectory(SpotlightServices) 68 + endif()
+17 -11
src/tools/CMakeLists.txt
··· 1 1 project(tools) 2 2 3 - add_darling_executable(sw_vers sw_vers.c) 4 - add_darling_executable(sudo sudo.c) 5 - add_darling_executable(codesign codesign.c) 6 - add_darling_executable(open open.m) 7 - add_darling_executable(dsmemberutil dsmemberutil.c) 8 - add_darling_executable(softwareupdate softwareupdate.c) 9 - add_darling_executable(spctl spctl.c) 3 + if (COMPONENT_cli) 4 + add_darling_executable(sw_vers sw_vers.c) 5 + add_darling_executable(sudo sudo.c) 6 + add_darling_executable(codesign codesign.c) 7 + add_darling_executable(dsmemberutil dsmemberutil.c) 8 + add_darling_executable(softwareupdate softwareupdate.c) 9 + add_darling_executable(spctl spctl.c) 10 10 11 - install(TARGETS sw_vers sudo codesign dsmemberutil open DESTINATION libexec/darling/usr/bin) 12 - install(TARGETS softwareupdate spctl DESTINATION libexec/darling/usr/sbin) 11 + install(TARGETS sw_vers sudo codesign dsmemberutil DESTINATION libexec/darling/usr/bin) 12 + install(TARGETS softwareupdate spctl DESTINATION libexec/darling/usr/sbin) 13 13 14 - target_link_libraries(sw_vers CoreFoundation) 15 - target_link_libraries(open CoreServices Foundation AppKit) 14 + target_link_libraries(sw_vers CoreFoundation) 15 + endif() 16 + 17 + if (COMPONENT_gui) 18 + add_darling_executable(open open.m) 19 + target_link_libraries(open CoreServices Foundation AppKit) 20 + install(TARGETS open DESTINATION libexec/darling/usr/bin) 21 + endif()