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:
Rémi Verschelde 2019-02-12 22:28:47 +01:00
parent c5dcbeb160
commit fe7e11e008
12 changed files with 21 additions and 20 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -33,7 +33,7 @@
#include "core/error_macros.h"
#include "upnp.h"
#include "upnpdevice.h"
#include "upnp_device.h"
void register_upnp_types() {

View File

@ -33,7 +33,7 @@
#include "core/reference.h"
#include "upnpdevice.h"
#include "upnp_device.h"
#include <miniupnpc/miniupnpc.h>

View File

@ -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"

View File

@ -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

View File

@ -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 {

View File

@ -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() {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* websocket_multiplayer.h */
/* websocket_multiplayer_peer.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */

View File

@ -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 {