Style: Harmonize header includes in modules
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 ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.
Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:
- Local includes
* Conditional local includes
- Core includes
* Conditional core includes
- Thirdparty includes
* Conditional thirdparty includes
This commit is contained in:
@ -31,10 +31,10 @@
|
||||
#ifndef REMOTE_DEBUGGER_PEER_WEBSOCKET_H
|
||||
#define REMOTE_DEBUGGER_PEER_WEBSOCKET_H
|
||||
|
||||
#include "core/debugger/remote_debugger_peer.h"
|
||||
|
||||
#include "websocket_peer.h"
|
||||
|
||||
#include "core/debugger/remote_debugger_peer.h"
|
||||
|
||||
class RemoteDebuggerPeerWebSocket : public RemoteDebuggerPeer {
|
||||
Ref<WebSocketPeer> ws_peer;
|
||||
List<Array> in_queue;
|
||||
|
||||
Reference in New Issue
Block a user