godot/platform/macos
Rémi Verschelde 9e4315bb50
Style: Harmonize header includes in platform ports
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:

Includes from the platform port or module should be included with relative
paths (relative to the root folder of the modular component, e.g.
`platform/linuxbsd/`), in their own section before Godot's "core" includes.

The `api` and `export` subfolders also need to be handled as self-contained
(and thus use relative paths for their "local" includes) as they are all
compiled for each editor platform, without necessarily having the api/export
matching platform folder in the include path.
E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp`
and those need to use relative includes for it to work.
2023-06-08 15:19:19 +02:00
..
doc_classes Enhance icon fallback and their docs for exporters 2023-06-03 19:28:50 -03:00
export Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
crash_handler_macos.h
crash_handler_macos.mm
detect.py
dir_access_macos.h
dir_access_macos.mm
display_server_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
display_server_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
gl_manager_macos_legacy.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
gl_manager_macos_legacy.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
godot_application_delegate.h
godot_application_delegate.mm
godot_application.h
godot_application.mm
godot_button_view.h
godot_button_view.mm
godot_content_view.h
godot_content_view.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
godot_main_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
godot_menu_delegate.h
godot_menu_delegate.mm
godot_menu_item.h
godot_menu_item.mm
godot_window_delegate.h
godot_window_delegate.mm
godot_window.h
godot_window.mm
joypad_macos.cpp
joypad_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
key_mapping_macos.h
key_mapping_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
logo.svg
macos_terminal_logger.h
macos_terminal_logger.mm
os_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
os_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
platform_config.h
platform_macos_builders.py
README.md
run_icon.svg
SCsub
tts_macos.h
tts_macos.mm
vulkan_context_macos.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
vulkan_context_macos.mm Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00

macOS platform port

This folder contains the C++, Objective-C and Objective-C++ code for the macOS platform port.

See also misc/dist/macos folder for additional files used by this platform. misc/dist/macos_tools.app is an .app bundle template used for packaging the macOS editor, while misc/dist/macos_template.app is used for packaging macOS export templates.

Documentation