prefer #pragma once to #define header guards
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef __gtk2_ardour_pianoroll_automation_line_h__
|
||||
#define __gtk2_ardour_pianoroll_automation_line_h__
|
||||
#pragma once
|
||||
|
||||
#include "automation_line.h"
|
||||
|
||||
@@ -34,5 +33,3 @@ class PianorollAutomationLine : public AutomationLine
|
||||
bool base_event_handler (GdkEvent*);
|
||||
bool event_handler (GdkEvent*);
|
||||
};
|
||||
|
||||
#endif /* __gtk2_ardour_midi_cue_automation_line_base_h__ */
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef __gtk2_ardour_pianoroll_background_h__
|
||||
#define __gtk2_ardour_pianoroll_background_h__
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -57,6 +56,3 @@ class CueMidiBackground : public MidiViewBackground
|
||||
|
||||
void apply_note_range_to_children();
|
||||
};
|
||||
|
||||
|
||||
#endif /* __gtk2_ardour_pianoroll_background_h__ */
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef __gtk2_ardour_pianoroll_velocity_h__
|
||||
#define __gtk2_ardour_pianoroll_velocity_h__
|
||||
#pragma once
|
||||
|
||||
#include "ghost_event.h"
|
||||
#include "velocity_display.h"
|
||||
@@ -39,5 +38,3 @@ class PianorollVelocityDisplay : public VelocityDisplay
|
||||
bool base_event (GdkEvent*);
|
||||
bool lollevent (GdkEvent*, GhostEvent*);
|
||||
};
|
||||
|
||||
#endif /* __gtk2_ardour_pianoroll_velocity_h__ */
|
||||
|
||||
Reference in New Issue
Block a user