godot/platform
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
..
android Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
ios Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
linuxbsd Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
macos Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
uwp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
web Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
windows Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
register_platform_apis.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00