13
0

the great onceification (libs)

Replace use of #ifndef header guards with #pragma once

Modern C++, baby!
This commit is contained in:
Paul Davis 2024-09-25 18:38:49 -06:00
parent 8fbec13e9c
commit 75f56cd3e1
379 changed files with 381 additions and 1138 deletions

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_amp_h__ #pragma once
#define __ardour_amp_h__
#include "ardour/dB.h" #include "ardour/dB.h"
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -88,4 +87,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_amp_h__

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_analyser_h__ #pragma once
#define __ardour_analyser_h__
#include <memory> #include <memory>
@ -54,4 +53,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_analyser_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_analysis_graph_h__ #pragma once
#define __ardour_analysis_graph_h__
#include <map> #include <map>
#include <memory> #include <memory>
@ -82,4 +81,3 @@ class LIBARDOUR_API AnalysisGraph {
AnalysisPtr analyser; AnalysisPtr analyser;
}; };
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_ardour_h__ #pragma once
#define __ardour_ardour_h__
#include <map> #include <map>
#include <string> #include <string>
@ -99,5 +98,4 @@ namespace ARDOUR {
LIBARDOUR_API void reset_performance_meters (Session*); LIBARDOUR_API void reset_performance_meters (Session*);
} }
#endif /* __ardour_ardour_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_async_midiport_h__ #pragma once
#define __libardour_async_midiport_h__
#include <string> #include <string>
#include <iostream> #include <iostream>
@ -108,4 +107,3 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port {
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __libardour_async_midiport_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_audiobackend_h__ #pragma once
#define __libardour_audiobackend_h__
#include <string> #include <string>
#include <vector> #include <vector>
@ -841,4 +840,3 @@ protected:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __libardour_audiobackend_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_buffer_h__ #pragma once
#define __ardour_audio_buffer_h__
#include <cstring> #include <cstring>
@ -268,4 +267,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_audio_audio_buffer_h__

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_library_h__ #pragma once
#define __ardour_audio_library_h__
#include <string> #include <string>
#include <map> #include <map>
@ -51,4 +50,3 @@ LIBARDOUR_API extern AudioLibrary* Library;
} // ARDOUR namespace } // ARDOUR namespace
#endif // __ardour_audio_library_h__

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_playlist_importer_h__ #pragma once
#define __ardour_audio_playlist_importer_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -96,4 +95,3 @@ class LIBARDOUR_API AudioPlaylistImporter : public ElementImporter
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_playlist_source_h__ #pragma once
#define __ardour_audio_playlist_source_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -69,4 +68,3 @@ private:
} /* namespace */ } /* namespace */
#endif /* __ardour_audio_playlist_source_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_port_h__ #pragma once
#define __ardour_audio_port_h__
#include "zita-resampler/vmresampler.h" #include "zita-resampler/vmresampler.h"
@ -71,4 +70,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_audio_port_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_region_importer_h__ #pragma once
#define __ardour_audio_region_importer_h__
#include <list> #include <list>
#include <map> #include <map>
@ -109,4 +108,3 @@ class LIBARDOUR_API AudioRegionImporter : public ElementImporter
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_track_h__ #pragma once
#define __ardour_audio_track_h__
#include "ardour/interthread_info.h" #include "ardour/interthread_info.h"
#include "ardour/track.h" #include "ardour/track.h"
@ -64,4 +63,3 @@ class LIBARDOUR_API AudioTrack : public Track
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_audio_track_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_track_importer_h__ #pragma once
#define __ardour_audio_track_importer_h__
#include <list> #include <list>
@ -84,4 +83,3 @@ class LIBARDOUR_API AudioTrackImporter : public ElementImporter
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_unit_h__ #pragma once
#define __ardour_audio_unit_h__
#include <atomic> #include <atomic>
#include <cstdint> #include <cstdint>
@ -272,4 +271,3 @@ typedef std::shared_ptr<AUPluginInfo> AUPluginInfoPtr;
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_audio_unit_h__

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audioanalyser_h__ #pragma once
#define __ardour_audioanalyser_h__
#include <vector> #include <vector>
#include <string> #include <string>
@ -72,4 +71,3 @@ class LIBARDOUR_API AudioAnalyser : public boost::noncopyable {
} /* namespace */ } /* namespace */
#endif /* __ardour_audioanalyser_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audioengine_h__ #pragma once
#define __ardour_audioengine_h__
#ifdef WAF_BUILD #ifdef WAF_BUILD
#include "libardour-config.h" #include "libardour-config.h"
@ -329,4 +328,3 @@ class LIBARDOUR_API AudioEngine : public PortManager, public SessionHandlePtr
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_audioengine_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audiofile_tagger_h__ #pragma once
#define __ardour_audiofile_tagger_h__
#include <string> #include <string>
@ -51,4 +50,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_audiofile_tagger_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audiofilesource_h__ #pragma once
#define __ardour_audiofilesource_h__
#include <exception> #include <exception>
#include <time.h> #include <time.h>
@ -117,5 +116,4 @@ protected:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_audiofilesource_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_playlist_h__ #pragma once
#define __ardour_audio_playlist_h__
#include <vector> #include <vector>
#include <list> #include <list>
@ -63,4 +62,3 @@ private:
} /* namespace ARDOUR */ } /* namespace ARDOUR */
#endif /* __ardour_audio_playlist_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_region_h__ #pragma once
#define __ardour_audio_region_h__
#include <atomic> #include <atomic>
#include <vector> #include <vector>
@ -301,4 +300,3 @@ extern "C" {
LIBARDOUR_API uint32_t sourcefile_length_from_c (void *arg, double); LIBARDOUR_API uint32_t sourcefile_length_from_c (void *arg, double);
} }
#endif /* __ardour_audio_region_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_rom_h__ #pragma once
#define __ardour_audio_rom_h__
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
#include "ardour/readable.h" #include "ardour/readable.h"
@ -47,4 +46,3 @@ private:
} }
#endif /* __ardour_readable_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_audio_source_h__ #pragma once
#define __ardour_audio_source_h__
#include <memory> #include <memory>
@ -162,4 +161,3 @@ class LIBARDOUR_API AudioSource : virtual public Source, public ARDOUR::AudioRea
} }
#endif /* __ardour_audio_source_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_auditioner_h__ #pragma once
#define __ardour_auditioner_h__
#include <string> #include <string>
@ -141,4 +140,3 @@ private:
}; /* namespace ARDOUR */ }; /* namespace ARDOUR */
#endif /* __ardour_auditioner_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_auto_bundle_h__ #pragma once
#define __ardour_auto_bundle_h__
#include <vector> #include <vector>
#include <glibmm/threads.h> #include <glibmm/threads.h>
@ -43,4 +42,3 @@ class LIBARDOUR_API AutoBundle : public Bundle {
} }
#endif /* __ardour_auto_bundle_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automatable_h__ #pragma once
#define __ardour_automatable_h__
#include <map> #include <map>
#include <memory> #include <memory>
@ -149,4 +148,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_automatable_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automatable_sequence_h__ #pragma once
#define __ardour_automatable_sequence_h__
#include "evoral/Sequence.h" #include "evoral/Sequence.h"
#include "ardour/automatable.h" #include "ardour/automatable.h"
@ -46,5 +45,4 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_automatable_sequence_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automation_control_h__ #pragma once
#define __ardour_automation_control_h__
#include <map> #include <map>
#include <memory> #include <memory>
@ -180,4 +179,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_automation_control_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automation_event_h__ #pragma once
#define __ardour_automation_event_h__
#include <atomic> #include <atomic>
#include <cstdint> #include <cstdint>
@ -147,4 +146,3 @@ private:
} // namespace } // namespace
#endif /* __ardour_automation_event_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automation_watch_h__ #pragma once
#define __ardour_automation_watch_h__
#include <memory> #include <memory>
#include <set> #include <set>
@ -70,4 +69,3 @@ private:
} /* namespace */ } /* namespace */
#endif // __ardour_automation_watch_h__

View File

@ -17,8 +17,7 @@
*/ */
#ifndef __ardour_beatbox_h__ #pragma once
#define __ardour_beatbox_h__
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
@ -71,4 +70,3 @@ class BeatBox : public ARDOUR::Processor {
} /* namespace */ } /* namespace */
#endif /* __ardour_beatbox_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_boost_debug_h__ #pragma once
#define __libardour_boost_debug_h__
#include "pbd/boost_debug.h" #include "pbd/boost_debug.h"
@ -45,4 +44,3 @@
#define BOOST_SHOW_POINTERS() #define BOOST_SHOW_POINTERS()
#endif #endif
#endif /* __libardour_boost_debug_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_broadcast_info_h__ #pragma once
#define __ardour_broadcast_info_h__
#include <string> #include <string>
@ -46,4 +45,3 @@ class LIBARDOUR_API BroadcastInfo : public AudioGrapher::BroadcastInfo
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_broadcast_info_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_buffer_h__ #pragma once
#define __ardour_buffer_h__
#include <stddef.h> #include <stddef.h>
@ -91,4 +90,3 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_buffer_h__

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_buffer_set_h__ #pragma once
#define __ardour_buffer_set_h__
#ifdef WAF_BUILD #ifdef WAF_BUILD
#include "libardour-config.h" #include "libardour-config.h"
@ -229,4 +228,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_buffer_set_h__

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_bundle_h__ #pragma once
#define __ardour_bundle_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -183,4 +182,3 @@ public:
std::ostream & operator<< (std::ostream & o, ARDOUR::Bundle const &); std::ostream & operator<< (std::ostream & o, ARDOUR::Bundle const &);
#endif /* __ardour_bundle_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_butler_h__ #pragma once
#define __ardour_butler_h__
#include <atomic> #include <atomic>
@ -122,4 +121,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_butler_h__

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_ca_importable_source_h__ #pragma once
#define __ardour_ca_importable_source_h__
#include "pbd/failed_constructor.h" #include "pbd/failed_constructor.h"
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -56,4 +55,3 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource {
} }
#endif /* __ardour_ca_importable_source_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_capturing_processor_h__ #pragma once
#define __ardour_capturing_processor_h__
#include "ardour/fixed_delay.h" #include "ardour/fixed_delay.h"
#include "ardour/processor.h" #include "ardour/processor.h"
@ -56,4 +55,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_capturing_processor_h__

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_chan_count_h__ #pragma once
#define __ardour_chan_count_h__
#include <cassert> #include <cassert>
#include <ostream> #include <ostream>
@ -216,5 +215,4 @@ private:
LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanCount& c); LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanCount& c);
#endif // __ardour_chan_count_h__

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_chan_mapping_h__ #pragma once
#define __ardour_chan_mapping_h__
#include <map> #include <map>
#include <cassert> #include <cassert>
@ -140,5 +139,4 @@ private:
std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanMapping& m); std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanMapping& m);
#endif // __ardour_chan_mapping_h__

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_click_h__ #pragma once
#define __ardour_click_h__
#include <list> #include <list>
@ -63,4 +62,3 @@ protected:
}; /* namespace ARDOUR */ }; /* namespace ARDOUR */
#endif /*__ardour_click_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_comparable_shared_ptr_h__ #pragma once
#define __ardour_comparable_shared_ptr_h__
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -60,4 +59,3 @@ class /*LIBARDOUR_API*/ ComparableSharedPtr : public std::shared_ptr<T>
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_comparable_shared_ptr_h__

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_control_group_h__ #pragma once
#define __libardour_control_group_h__
#include <map> #include <map>
#include <memory> #include <memory>
@ -114,4 +113,3 @@ class LIBARDOUR_API GainControlGroup : public ControlGroup
} /* namespace */ } /* namespace */
#endif /* __libardour_control_group_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_control_group_member_h__ #pragma once
#define __libardour_control_group_member_h__
namespace ARDOUR { namespace ARDOUR {
@ -39,4 +38,3 @@ class LIBARDOUR_API ControlGroupMember
} /* namespace */ } /* namespace */
#endif /* __libardour_control_group_member_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __coreaudio_source_h__ #pragma once
#define __coreaudio_source_h__
#ifdef COREAUDIO105 #ifdef COREAUDIO105
#include "CAAudioFile.h" #include "CAAudioFile.h"
@ -72,5 +71,4 @@ class LIBARDOUR_API CoreAudioSource : public AudioFileSource {
}; /* namespace ARDOUR */ }; /* namespace ARDOUR */
#endif /* __coreaudio_source_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_cycle_timer_h__ #pragma once
#define __ardour_cycle_timer_h__
#include <string> #include <string>
#include <iostream> #include <iostream>
@ -95,4 +94,3 @@ extern StoringTimer ST;
#define PT_TIMING_CHECK(x) #define PT_TIMING_CHECK(x)
#endif #endif
#endif /* __ardour_cycle_timer_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_cycles_h__ #pragma once
#define __ardour_cycles_h__
#include <stdint.h> #include <stdint.h>
@ -252,4 +251,3 @@ static inline cycles_t get_cycles(void)
#endif #endif
#endif /* __ardour_cycles_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_data_type_h__ #pragma once
#define __ardour_data_type_h__
#include <string> #include <string>
#include <stdint.h> #include <stdint.h>
@ -127,5 +126,4 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_data_type_h__

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_debug_h__ #pragma once
#define __ardour_debug_h__
#include <stdint.h> #include <stdint.h>
@ -120,4 +119,3 @@ namespace PBD {
} }
} }
#endif /* __ardour_debug_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_delayline_h__ #pragma once
#define __ardour_delayline_h__
#include <memory> #include <memory>
@ -81,4 +80,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_meter_h__

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_delivery_h__ #pragma once
#define __ardour_delivery_h__
#include <string> #include <string>
@ -166,5 +165,4 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour__h__

View File

@ -20,8 +20,7 @@
*/ */
#ifndef __ardour_directory_names_h__ #pragma once
#define __ardour_directory_names_h__
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -57,4 +56,3 @@ namespace ARDOUR {
}; };
#endif

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_disk_io_h__ #pragma once
#define __ardour_disk_io_h__
#include <vector> #include <vector>
#include <string> #include <string>
@ -192,4 +191,3 @@ protected:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_disk_io_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_disk_writer_h__ #pragma once
#define __ardour_disk_writer_h__
#include <atomic> #include <atomic>
#include <list> #include <list>
@ -208,4 +207,3 @@ private:
} // namespace } // namespace
#endif /* __ardour_disk_writer_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_ebur128_analysis_h__ #pragma once
#define __ardour_ebur128_analysis_h__
#include "ardour/audioanalyser.h" #include "ardour/audioanalyser.h"
#include "ardour/readable.h" #include "ardour/readable.h"
@ -49,4 +48,3 @@ private:
} /* namespace */ } /* namespace */
#endif /* __ardour_audioanalyser_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_element_import_handler_h__ #pragma once
#define __ardour_element_import_handler_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -109,4 +108,3 @@ class LIBARDOUR_API ElementImportHandler
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_element_importer_h__ #pragma once
#define __ardour_element_importer_h__
#include <string> #include <string>
#include <utility> #include <utility>
@ -132,4 +131,3 @@ class LIBARDOUR_API ElementImporter
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_event_ring_buffer_h__ #pragma once
#define __ardour_event_ring_buffer_h__
#include <algorithm> #include <algorithm>
#include <iostream> #include <iostream>
@ -132,4 +131,3 @@ EventRingBuffer<Time>::write(Time time, Evoral::EventType type, uint32_t size, c
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_event_ring_buffer_h__

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_event_type_map_h__ #pragma once
#define __ardour_event_type_map_h__
#include <map> #include <map>
#include <string> #include <string>
@ -69,5 +68,4 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_event_type_map_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_analysis_h__ #pragma once
#define __ardour_export_analysis_h__
#include <cstring> #include <cstring>
#include <map> #include <map>
@ -151,4 +150,3 @@ typedef std::shared_ptr<ExportAnalysis> ExportAnalysisPtr;
typedef std::map<std::string, ExportAnalysisPtr> AnalysisResults; typedef std::map<std::string, ExportAnalysisPtr> AnalysisResults;
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_channel_h__ #pragma once
#define __ardour_export_channel_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -290,4 +289,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_channel_configuration_h__ #pragma once
#define __ardour_export_channel_configuration_h__
#include <algorithm> #include <algorithm>
#include <list> #include <list>
@ -91,4 +90,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_channel_configuration_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_failed_h__ #pragma once
#define __ardour_export_failed_h__
#include <exception> #include <exception>
#include <string> #include <string>
@ -48,4 +47,3 @@ class LIBARDOUR_API ExportFailed : public std::exception
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_failed_h__ */

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_filename_h__ #pragma once
#define __ardour_export_filename_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -129,4 +128,3 @@ class LIBARDOUR_API ExportFilename {
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_filename_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_format_base_h__ #pragma once
#define __ardour_export_format_base_h__
#include <memory> #include <memory>
#include <set> #include <set>
@ -205,4 +204,3 @@ class LIBARDOUR_API ExportFormatBase {
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_format_base_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_format_compatibility_h__ #pragma once
#define __ardour_export_format_compatibility_h__
#include <string> #include <string>
#include "ardour/export_format_base.h" #include "ardour/export_format_base.h"
@ -54,4 +53,3 @@ class LIBARDOUR_API ExportFormatCompatibility : public ExportFormatBase, public
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_format_compatibility_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_format_manager_h__ #pragma once
#define __ardour_export_format_manager_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -181,4 +180,3 @@ class LIBARDOUR_API ExportFormatManager : public PBD::ScopedConnectionList
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_format_manager_h__ */

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_format_specification_h__ #pragma once
#define __ardour_export_format_specification_h__
#include <string> #include <string>
@ -265,4 +264,3 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_format_specification_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_formats_h__ #pragma once
#define __ardour_export_formats_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -435,4 +434,3 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_formats__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_graph_builder_h__ #pragma once
#define __ardour_export_graph_builder_h__
#include "ardour/export_handler.h" #include "ardour/export_handler.h"
#include "ardour/export_analysis.h" #include "ardour/export_analysis.h"
@ -322,4 +321,3 @@ class LIBARDOUR_API ExportGraphBuilder
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_graph_builder_h__ */

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_handler_h__ #pragma once
#define __ardour_export_handler_h__
#include <map> #include <map>
#include <memory> #include <memory>
@ -237,4 +236,3 @@ class LIBARDOUR_API ExportHandler : public ExportElementFactory, public sigc::tr
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_handler_h__ */

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_pointers_h__ #pragma once
#define __ardour_export_pointers_h__
#include <memory> #include <memory>
@ -63,4 +62,3 @@ typedef std::shared_ptr<AudioGrapher::BroadcastInfo> BroadcastInfoPtr;
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_export_pointers_h__

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_preset_h__ #pragma once
#define __ardour_export_preset_h__
#include <string> #include <string>
@ -72,4 +71,3 @@ class LIBARDOUR_API ExportPreset {
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_export_preset_h__

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_profile_manager_h__ #pragma once
#define __ardour_export_profile_manager_h__
#include <list> #include <list>
#include <map> #include <map>
@ -302,4 +301,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_profile_manager_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_status_h__ #pragma once
#define __ardour_export_status_h__
#include <stdint.h> #include <stdint.h>
@ -95,4 +94,3 @@ class LIBARDOUR_API ExportStatus {
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_status_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_export_timespan_h__ #pragma once
#define __ardour_export_timespan_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -89,4 +88,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_export_timespan_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_filesource_h__ #pragma once
#define __ardour_filesource_h__
#include <list> #include <list>
#include <string> #include <string>
@ -119,5 +118,4 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_filesource_h__ */

View File

@ -19,8 +19,7 @@
*/ */
#ifndef __ardour_filename_extensions_h__ #pragma once
#define __ardour_filename_extensions_h__
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -41,4 +40,3 @@ namespace ARDOUR {
LIBARDOUR_API extern const char* const advanced_authoring_format_suffix; LIBARDOUR_API extern const char* const advanced_authoring_format_suffix;
} }
#endif

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_filter_h__ #pragma once
#define __ardour_filter_h__
#include <vector> #include <vector>
@ -53,4 +52,3 @@ class LIBARDOUR_API Filter {
} /* namespace */ } /* namespace */
#endif /* __ardour_filter_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_fixed_delay_h__ #pragma once
#define __ardour_fixed_delay_h__
#include <vector> #include <vector>
#include "ardour/buffer.h" #include "ardour/buffer.h"
@ -112,4 +111,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif // __ardour_fixed_delay_h__

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_gain_control_h__ #pragma once
#define __ardour_gain_control_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -49,4 +48,3 @@ protected:
} /* namespace */ } /* namespace */
#endif /* __ardour_gain_control_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_graph_h__ #pragma once
#define __ardour_graph_h__
#include <atomic> #include <atomic>
#include <list> #include <list>
@ -153,4 +152,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_graph_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_route_graph_h__ #pragma once
#define __ardour_route_graph_h__
#include <map> #include <map>
#include <set> #include <set>
@ -82,4 +81,3 @@ bool topological_sort (GraphNodeList&, GraphEdges&);
} }
#endif

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_graphnode_h__ #pragma once
#define __ardour_graphnode_h__
#include <atomic> #include <atomic>
#include <list> #include <list>
@ -100,4 +99,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -18,8 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_import_status_h__ #pragma once
#define __ardour_import_status_h__
#include <string> #include <string>
#include <vector> #include <vector>
@ -67,4 +66,3 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_import_status_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_importable_source_h__ #pragma once
#define __ardour_importable_source_h__
#include "pbd/failed_constructor.h" #include "pbd/failed_constructor.h"
#include "ardour/libardour_visibility.h" #include "ardour/libardour_visibility.h"
@ -46,4 +45,3 @@ public:
} }
#endif /* __ardour_importable_source_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_instrument_info_h__ #pragma once
#define __ardour_instrument_info_h__
#include <memory> #include <memory>
#include <stdint.h> #include <stdint.h>
@ -101,4 +100,3 @@ private:
} }
#endif /* __ardour_instrument_info_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_internal_return_h__ #pragma once
#define __ardour_internal_return_h__
#include <list> #include <list>
@ -57,4 +56,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_internal_return_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_internal_send_h__ #pragma once
#define __ardour_internal_send_h__
#include "ardour/ardour.h" #include "ardour/ardour.h"
#include "ardour/send.h" #include "ardour/send.h"
@ -90,4 +89,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_send_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_interthread_h__ #pragma once
#define __libardour_interthread_h__
#include <pthread.h> #include <pthread.h>
@ -40,4 +39,3 @@ namespace ARDOUR {
} // namespace } // namespace
#endif /* __libardour_interthread_h__ */

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_io_h__ #pragma once
#define __ardour_io_h__
#include <string> #include <string>
#include <vector> #include <vector>
@ -255,4 +254,3 @@ namespace PBD {
DEFINE_ENUM_CONVERT (ARDOUR::IO::Direction) DEFINE_ENUM_CONVERT (ARDOUR::IO::Direction)
} }
#endif /*__ardour_io_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_redirect_h__ #pragma once
#define __ardour_redirect_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -104,4 +103,3 @@ private:
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_redirect_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_io_vector_h__ #pragma once
#define __ardour_io_vector_h__
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -68,4 +67,3 @@ public:
} // namespace ARDOUR } // namespace ARDOUR
#endif

View File

@ -20,8 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_ladspa_plugin_h__ #pragma once
#define __ardour_ladspa_plugin_h__
#include <set> #include <set>
#include <vector> #include <vector>
@ -167,4 +166,3 @@ typedef std::shared_ptr<LadspaPluginInfo> LadspaPluginInfoPtr;
} // namespace ARDOUR } // namespace ARDOUR
#endif /* __ardour_ladspa_plugin_h__ */

View File

@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_latent_h__ #pragma once
#define __ardour_latent_h__
#include "pbd/signals.h" #include "pbd/signals.h"
@ -101,4 +100,3 @@ private:
} /* namespace */ } /* namespace */
#endif /* __ardour_latent_h__*/

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_legatize_h__ #pragma once
#define __ardour_legatize_h__
#include <string> #include <string>
@ -53,4 +52,3 @@ private:
} /* namespace */ } /* namespace */
#endif /* __ardour_legatize_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_libardour_visibility_h__ #pragma once
#define __libardour_libardour_visibility_h__
#if defined(COMPILER_MSVC) #if defined(COMPILER_MSVC)
#define LIBARDOUR_DLL_IMPORT __declspec(dllimport) #define LIBARDOUR_DLL_IMPORT __declspec(dllimport)
@ -41,4 +40,3 @@
#define LIBARDOUR_LOCAL LIBARDOUR_DLL_LOCAL #define LIBARDOUR_LOCAL LIBARDOUR_DLL_LOCAL
#endif #endif
#endif /* __libardour_libardour_visibility_h__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __libardour_library_h__ #pragma once
#define __libardour_library_h__
#include <cstdio> #include <cstdio>
#include <cstdint> #include <cstdint>
@ -79,4 +78,3 @@ class LIBARDOUR_API LibraryFetcher {
} /* namespace */ } /* namespace */
#endif

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __vstfx_h__ #pragma once
#define __vstfx_h__
#include <setjmp.h> #include <setjmp.h>
#include <signal.h> #include <signal.h>
@ -52,4 +51,3 @@ LIBARDOUR_API extern void vstfx_destroy_editor (VSTState *);
LIBARDOUR_API extern void vstfx_event_loop_remove_plugin (VSTState *); LIBARDOUR_API extern void vstfx_event_loop_remove_plugin (VSTState *);
#endif /* __vstfx_h__ */

Some files were not shown because too many files have changed in this diff Show More