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:
Rémi Verschelde
2019-02-12 14:23:35 +01:00
parent b7cc2bb1e2
commit 75dae1b9a9
21 changed files with 51 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* alsa_midi.cpp */
/* midi_driver_alsamidi.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -30,7 +30,7 @@
#ifdef ALSAMIDI_ENABLED
#include "alsa_midi.h"
#include "midi_driver_alsamidi.h"
#include "core/os/os.h"
#include "core/print_string.h"
@@ -199,4 +199,4 @@ MIDIDriverALSAMidi::~MIDIDriverALSAMidi() {
close();
}
#endif
#endif // ALSAMIDI_ENABLED

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* alsa_midi.h */
/* midi_driver_alsamidi.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -30,8 +30,8 @@
#ifdef ALSAMIDI_ENABLED
#ifndef ALSA_MIDI_H
#define ALSA_MIDI_H
#ifndef MIDI_DRIVER_ALSAMIDI_H
#define MIDI_DRIVER_ALSAMIDI_H
#include "core/os/midi_driver.h"
#include "core/os/mutex.h"
@@ -65,5 +65,5 @@ public:
virtual ~MIDIDriverALSAMidi();
};
#endif
#endif
#endif // MIDI_DRIVER_ALSAMIDI_H
#endif // ALSAMIDI_ENABLED