mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Modules: Ensure classes match their header filename
Renamed: - `modules/mono/mono_gd/gd_mono_class_member.h` -> `i_mono_class_member.h` - `modules/upnp/upnpdevice.h` -> `upnp_device.h` - `modules/websocket/websocket_multiplayer.h` -> `websocket_multiplayer_peer.h`
This commit is contained in:
parent
c5dcbeb160
commit
fe7e11e008
@ -32,8 +32,8 @@
|
||||
#define GDMONOFIELD_H
|
||||
|
||||
#include "gd_mono.h"
|
||||
#include "gd_mono_class_member.h"
|
||||
#include "gd_mono_header.h"
|
||||
#include "i_mono_class_member.h"
|
||||
|
||||
class GDMonoField : public IMonoClassMember {
|
||||
|
||||
|
@ -32,8 +32,8 @@
|
||||
#define GD_MONO_METHOD_H
|
||||
|
||||
#include "gd_mono.h"
|
||||
#include "gd_mono_class_member.h"
|
||||
#include "gd_mono_header.h"
|
||||
#include "i_mono_class_member.h"
|
||||
|
||||
class GDMonoMethod : public IMonoClassMember {
|
||||
|
||||
|
@ -32,8 +32,8 @@
|
||||
#define GD_MONO_PROPERTY_H
|
||||
|
||||
#include "gd_mono.h"
|
||||
#include "gd_mono_class_member.h"
|
||||
#include "gd_mono_header.h"
|
||||
#include "i_mono_class_member.h"
|
||||
|
||||
class GDMonoProperty : public IMonoClassMember {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* gd_mono_class_member.h */
|
||||
/* i_mono_class_member.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@ -28,8 +28,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GD_MONO_CLASS_MEMBER_H
|
||||
#define GD_MONO_CLASS_MEMBER_H
|
||||
#ifndef I_MONO_CLASS_MEMBER_H
|
||||
#define I_MONO_CLASS_MEMBER_H
|
||||
|
||||
#include "gd_mono_header.h"
|
||||
|
||||
@ -65,4 +65,4 @@ public:
|
||||
virtual MonoObject *get_attribute(GDMonoClass *p_attr_class) = 0;
|
||||
};
|
||||
|
||||
#endif // GD_MONO_CLASS_MEMBER_H
|
||||
#endif // I_MONO_CLASS_MEMBER_H
|
@ -33,7 +33,7 @@
|
||||
#include "core/error_macros.h"
|
||||
|
||||
#include "upnp.h"
|
||||
#include "upnpdevice.h"
|
||||
#include "upnp_device.h"
|
||||
|
||||
void register_upnp_types() {
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "core/reference.h"
|
||||
|
||||
#include "upnpdevice.h"
|
||||
#include "upnp_device.h"
|
||||
|
||||
#include <miniupnpc/miniupnpc.h>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* upnpdevice.cpp */
|
||||
/* upnp_device.cpp */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@ -28,7 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "upnpdevice.h"
|
||||
#include "upnp_device.h"
|
||||
|
||||
#include "upnp.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* upnpdevice.h */
|
||||
/* upnp_device.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@ -28,8 +28,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_UPNPDEVICE_H
|
||||
#define GODOT_UPNPDEVICE_H
|
||||
#ifndef GODOT_UPNP_DEVICE_H
|
||||
#define GODOT_UPNP_DEVICE_H
|
||||
|
||||
#include "core/reference.h"
|
||||
|
||||
@ -92,4 +92,4 @@ private:
|
||||
|
||||
VARIANT_ENUM_CAST(UPNPDevice::IGDStatus)
|
||||
|
||||
#endif // GODOT_UPNPDEVICE_H
|
||||
#endif // GODOT_UPNP_DEVICE_H
|
@ -32,7 +32,7 @@
|
||||
#define WEBSOCKET_CLIENT_H
|
||||
|
||||
#include "core/error_list.h"
|
||||
#include "websocket_multiplayer.h"
|
||||
#include "websocket_multiplayer_peer.h"
|
||||
#include "websocket_peer.h"
|
||||
|
||||
class WebSocketClient : public WebSocketMultiplayerPeer {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* websocket_multiplayer.cpp */
|
||||
/* websocket_multiplayer_peer.cpp */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@ -28,7 +28,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "websocket_multiplayer.h"
|
||||
#include "websocket_multiplayer_peer.h"
|
||||
|
||||
#include "core/os/os.h"
|
||||
|
||||
WebSocketMultiplayerPeer::WebSocketMultiplayerPeer() {
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* websocket_multiplayer.h */
|
||||
/* websocket_multiplayer_peer.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
@ -32,7 +32,7 @@
|
||||
#define WEBSOCKET_H
|
||||
|
||||
#include "core/reference.h"
|
||||
#include "websocket_multiplayer.h"
|
||||
#include "websocket_multiplayer_peer.h"
|
||||
#include "websocket_peer.h"
|
||||
|
||||
class WebSocketServer : public WebSocketMultiplayerPeer {
|
||||
|
Loading…
Reference in New Issue
Block a user