mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Drivers, main, servers: Ensure classes match their header filename
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* core_midi.cpp */
|
||||
/* midi_driver_coremidi.cpp */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifdef COREMIDI_ENABLED
|
||||
|
||||
#include "core_midi.h"
|
||||
#include "midi_driver_coremidi.h"
|
||||
|
||||
#include "core/print_string.h"
|
||||
|
||||
@@ -120,4 +120,4 @@ MIDIDriverCoreMidi::~MIDIDriverCoreMidi() {
|
||||
close();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // COREMIDI_ENABLED
|
||||
@@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* core_midi.h */
|
||||
/* midi_driver_coremidi.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
@@ -30,8 +30,8 @@
|
||||
|
||||
#ifdef COREMIDI_ENABLED
|
||||
|
||||
#ifndef CORE_MIDI_H
|
||||
#define CORE_MIDI_H
|
||||
#ifndef MIDI_DRIVER_COREMIDI_H
|
||||
#define MIDI_DRIVER_COREMIDI_H
|
||||
|
||||
#include "core/os/midi_driver.h"
|
||||
#include "core/vector.h"
|
||||
@@ -58,5 +58,5 @@ public:
|
||||
virtual ~MIDIDriverCoreMidi();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
#endif // MIDI_DRIVER_COREMIDI_H
|
||||
#endif // COREMIDI_ENABLED
|
||||
Reference in New Issue
Block a user