13
0

the great onceification (gui)

Replace use of #ifndef header guards with #pragma once

Modern C++, baby!
This commit is contained in:
Paul Davis 2024-09-25 18:38:59 -06:00
parent 75f56cd3e1
commit ca1583cdad
222 changed files with 222 additions and 665 deletions

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_gtk_about_h__ #pragma once
#define __ardour_gtk_about_h__
#include <gtkmm/aboutdialog.h> #include <gtkmm/aboutdialog.h>
@ -39,4 +38,3 @@ private:
static void launch_homepage (AboutDialog& about, const Glib::ustring& website_url); static void launch_homepage (AboutDialog& about, const Glib::ustring& website_url);
}; };
#endif /* __ardour_gtk_about_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_gtk_actions_h__ #pragma once
#define __ardour_gtk_actions_h__
#include <vector> #include <vector>
@ -66,4 +65,3 @@ namespace ActionManager {
} }
#endif /* __ardour_gtk_actions_h__ */

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_add_route_dialog_h__ #pragma once
#define __gtk_ardour_add_route_dialog_h__
#include <string> #include <string>
@ -181,4 +180,3 @@ private:
void name_template_entry_deletion (int, int); void name_template_entry_deletion (int, int);
}; };
#endif /* __gtk_ardour_add_route_dialog_h__ */

View File

@ -15,8 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_add_video_dialog_h__ #pragma once
#define __gtk_ardour_add_video_dialog_h__
#include <string> #include <string>
@ -126,4 +125,3 @@ private:
bool loaded_docroot; bool loaded_docroot;
}; };
#endif /* __gtk_ardour_add_video_dialog_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 __gtk_ardour_ambiguous_file_dialog_h__ #pragma once
#define __gtk_ardour_ambiguous_file_dialog_h__
#include <gtkmm/radiobutton.h> #include <gtkmm/radiobutton.h>
#include "ardour_dialog.h" #include "ardour_dialog.h"
@ -38,4 +37,3 @@ private:
bool rb_button_press (GdkEventButton*); bool rb_button_press (GdkEventButton*);
}; };
#endif // __gtk_ardour_ambiguous_file_dialog_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_analysis_window_h__ #pragma once
#define __ardour_analysis_window_h__
#include <glibmm.h> #include <glibmm.h>
#include <glibmm/refptr.h> #include <glibmm/refptr.h>
@ -116,5 +115,3 @@ private:
friend class FFTGraph; friend class FFTGraph;
}; };
#endif // __ardour_analysis_window_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_dialog_h__ #pragma once
#define __ardour_dialog_h__
#include <gtkmm/window.h> #include <gtkmm/window.h>
#include <gtkmm/dialog.h> #include <gtkmm/dialog.h>
@ -67,5 +66,4 @@ private:
static sigc::signal<void> CloseAllDialogs; static sigc::signal<void> CloseAllDialogs;
}; };
#endif // __ardour_dialog_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 __gtk_ardour_http_h__ #pragma once
#define __gtk_ardour_http_h__
#include <curl/curl.h> #include <curl/curl.h>
#include <string> #include <string>
@ -98,4 +97,3 @@ std::string http_get (const std::string& url, bool with_error_logging);
} // namespace } // namespace
#endif /* __gtk_ardour_http_h__ */

View File

@ -30,8 +30,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_gui_h__ #pragma once
#define __ardour_gui_h__
#include <time.h> #include <time.h>
@ -952,4 +951,3 @@ private:
PBD::ScopedConnectionList clock_state_connection; PBD::ScopedConnectionList clock_state_connection;
}; };
#endif /* __ardour_gui_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_window_h__ #pragma once
#define __ardour_window_h__
#include <gtkmm/window.h> #include <gtkmm/window.h>
@ -54,5 +53,4 @@ private:
void init (); void init ();
}; };
#endif // __ardour_window_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 __audio_region_trimmer_box_h__ #pragma once
#define __audio_region_trimmer_box_h__
#include <map> #include <map>
@ -221,4 +220,3 @@ private:
void zoom_out_click (); void zoom_out_click ();
}; };
#endif /* __audio_region_trimmer_box_h__ */

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __audio_clock_h__ #pragma once
#define __audio_clock_h__
#include <map> #include <map>
#include <vector> #include <vector>
@ -259,4 +258,3 @@ private:
PBD::ScopedConnection tempo_map_connection; PBD::ScopedConnection tempo_map_connection;
}; };
#endif /* __audio_clock_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 __gtk_ardour_audio_region_edit_h__ #pragma once
#define __gtk_ardour_audio_region_edit_h__
#include <map> #include <map>
@ -106,4 +105,3 @@ private:
CrossThreadChannel _peak_channel; CrossThreadChannel _peak_channel;
}; };
#endif /* __gtk_ardour_audio_region_edit_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 __audio_region_operations_box_h__ #pragma once
#define __audio_region_operations_box_h__
#include <map> #include <map>
@ -72,4 +71,3 @@ private:
void normalize_button_clicked(); void normalize_button_clicked();
}; };
#endif /* __audio_region_operations_box_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 __audio_region_properties_box_h__ #pragma once
#define __audio_region_properties_box_h__
#include <map> #include <map>
@ -88,4 +87,3 @@ private:
ArdourWidgets::ArdourButton stretch_selector; ArdourWidgets::ArdourButton stretch_selector;
}; };
#endif /* __audio_region_properties_box_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 __gtk_ardour_audio_region_view_h__ #pragma once
#define __gtk_ardour_audio_region_view_h__
#ifdef interface #ifdef interface
#undef interface #undef interface
@ -253,4 +252,3 @@ private:
PBD::ScopedConnection _region_fx_connection; PBD::ScopedConnection _region_fx_connection;
}; };
#endif /* __gtk_ardour_audio_region_view_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_streamview_h__ #pragma once
#define __ardour_audio_streamview_h__
#include <cmath> #include <cmath>
#include <list> #include <list>
@ -95,4 +94,3 @@ private:
bool outline_region; bool outline_region;
}; };
#endif /* __ardour_audio_streamview_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_audio_time_axis_h__ #pragma once
#define __ardour_audio_time_axis_h__
#include <gtkmm/table.h> #include <gtkmm/table.h>
#include <gtkmm/button.h> #include <gtkmm/button.h>
@ -97,5 +96,4 @@ private:
void update_control_names (); void update_control_names ();
}; };
#endif /* __ardour_audio_time_axis_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_gtk_automation_controller_h__ #pragma once
#define __ardour_gtk_automation_controller_h__
#ifdef YES #ifdef YES
#undef YES #undef YES
@ -108,4 +107,3 @@ private:
}; };
#endif /* __ardour_gtk_automation_controller_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 __gtk_ardour_automation_region_view_h__ #pragma once
#define __gtk_ardour_automation_region_view_h__
#include "ardour/types.h" #include "ardour/types.h"
@ -95,4 +94,3 @@ private:
PBD::ScopedConnection _mouse_mode_connection; PBD::ScopedConnection _mouse_mode_connection;
}; };
#endif /* __gtk_ardour_automation_region_view_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_gtk_automation_selection_h__ #pragma once
#define __ardour_gtk_automation_selection_h__
#include <list> #include <list>
@ -40,4 +39,3 @@ public:
} }
}; };
#endif /* __ardour_gtk_automation_selection_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_automation_streamview_h__ #pragma once
#define __ardour_automation_streamview_h__
#include <list> #include <list>
#include <cmath> #include <cmath>
@ -86,4 +85,3 @@ private:
ARDOUR::AutoState _pending_automation_state; ARDOUR::AutoState _pending_automation_state;
}; };
#endif /* __ardour_automation_streamview_h__ */

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_gtk_automation_time_axis_h__ #pragma once
#define __ardour_gtk_automation_time_axis_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -242,4 +241,3 @@ private:
int set_state_2X (const XMLNode &, int); int set_state_2X (const XMLNode &, int);
}; };
#endif /* __ardour_gtk_automation_time_axis_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_gtk_axis_view_h__ #pragma once
#define __ardour_gtk_axis_view_h__
#include <list> #include <list>
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
@ -137,4 +136,3 @@ protected:
mutable boost::unordered_map<std::string, std::string> property_hashtable; mutable boost::unordered_map<std::string, std::string> property_hashtable;
}; /* class AxisView */ }; /* class AxisView */
#endif /* __ardour_gtk_axis_view_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_gtk_bbt_marker_dialog_h__ #pragma once
#define __ardour_gtk_bbt_marker_dialog_h__
#include <gtkmm/box.h> #include <gtkmm/box.h>
#include <gtkmm/entry.h> #include <gtkmm/entry.h>
@ -57,4 +56,3 @@ private:
Gtk::Label name_label; Gtk::Label name_label;
}; };
#endif /* __ardour_gtk_bbt_marker_dialog_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 __bigclock_window_h__ #pragma once
#define __bigclock_window_h__
#include "ardour_window.h" #include "ardour_window.h"
@ -39,5 +38,4 @@ private:
bool on_key_press_event (GdkEventKey*); bool on_key_press_event (GdkEventKey*);
}; };
#endif // __ardour_window_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_ui_bundle_manager_h__ #pragma once
#define __ardour_ui_bundle_manager_h__
#include <gtkmm/entry.h> #include <gtkmm/entry.h>
#include <gtkmm/liststore.h> #include <gtkmm/liststore.h>
@ -137,4 +136,3 @@ private:
bool _adding; bool _adding;
}; };
#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 __gtk_ardour_clock_group_h__ #pragma once
#define __gtk_ardour_clock_group_h__
#include <set> #include <set>
#include <sigc++/signal.h> #include <sigc++/signal.h>
@ -45,4 +44,3 @@ private:
void one_clock_changed (AudioClock*); void one_clock_changed (AudioClock*);
}; };
#endif /* __gtk_ardour_clock_group_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_gtk_color_manager_h__ #pragma once
#define __ardour_gtk_color_manager_h__
#include <gtkmm/treeview.h> #include <gtkmm/treeview.h>
#include <gtkmm/treestore.h> #include <gtkmm/treestore.h>
@ -164,4 +163,3 @@ private:
}; };
#endif /* __ardour_gtk_color_manager_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_control_point_h__ #pragma once
#define __ardour_control_point_h__
#include <sys/types.h> #include <sys/types.h>
#include <gdk/gdkevents.h> #include <gdk/gdkevents.h>
@ -104,5 +103,4 @@ private:
}; };
#endif /* __ardour_control_point_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 __gtk_ardour_xfade_edit_h__ #pragma once
#define __gtk_ardour_xfade_edit_h__
#include <list> #include <list>
@ -232,4 +231,3 @@ private:
void dump (); void dump ();
}; };
#endif /* __gtk_ardour_xfade_edit_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 __gtk_ardour_crossfade_view_h__ #pragma once
#define __gtk_ardour_crossfade_view_h__
#include <vector> #include <vector>
#include "pbd/signals.h" #include "pbd/signals.h"
@ -86,4 +85,3 @@ private:
void color_handler (); void color_handler ();
}; };
#endif /* __gtk_ardour_crossfade_view_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 __gtk_ardour_cue_editor_h__ #pragma once
#define __gtk_ardour_cue_editor_h__
#include "pbd/history_owner.h" #include "pbd/history_owner.h"
@ -114,4 +113,3 @@ class CueEditor : public EditingContext, public PBD::HistoryOwner, public sigc::
void do_redo (uint32_t n); void do_redo (uint32_t n);
}; };
#endif /* __gtk_ardour_cue_editor_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_gtk_cursor_context_h__ #pragma once
#define __ardour_gtk_cursor_context_h__
#include <memory> #include <memory>
@ -72,4 +71,3 @@ private:
CursorContext(EditingContext&, Gdk::Cursor* cursor); CursorContext(EditingContext&, Gdk::Cursor* cursor);
}; };
#endif /* __ardour_gtk_cursor_context_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_dspstats_window_h__ #pragma once
#define __ardour_dspstats_window_h__
#include "ardour_window.h" #include "ardour_window.h"
@ -41,5 +40,4 @@ private:
DspStatisticsGUI* ui; DspStatisticsGUI* ui;
}; };
#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 __gtk_ardour_duplicate_route_dialog_h__ #pragma once
#define __gtk_ardour_duplicate_route_dialog_h__
#include <gtkmm/entry.h> #include <gtkmm/entry.h>
#include <gtkmm/box.h> #include <gtkmm/box.h>
@ -67,4 +66,3 @@ private:
Gtk::ComboBoxText insert_at_combo; Gtk::ComboBoxText insert_at_combo;
}; };
#endif /* __gtk_ardour_duplicate_route_dialog_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 __gtk_ardour_editing_h__ #pragma once
#define __gtk_ardour_editing_h__
#include <string> #include <string>
#include <map> #include <map>
@ -261,4 +260,3 @@ enum RegionActionTarget {
} // namespace Editing } // namespace Editing
#endif // __gtk_ardour_editing_h__

View File

@ -30,8 +30,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_midi_editing_context_h__ #pragma once
#define __ardour_midi_editing_context_h__
#include "pbd/signals.h" #include "pbd/signals.h"
@ -709,4 +708,3 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider
}; };
#endif /* __ardour_midi_editing_context_h__ */

View File

@ -31,8 +31,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_editor_h__ #pragma once
#define __ardour_editor_h__
#include <sys/time.h> #include <sys/time.h>
@ -2338,4 +2337,3 @@ private:
friend class RhythmFerret; friend class RhythmFerret;
}; };
#endif /* __ardour_editor_h__ */

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_automation_line_h__ #pragma once
#define __ardour_automation_line_h__
#include <vector> #include <vector>
#include <list> #include <list>
@ -79,5 +78,4 @@ public:
virtual bool event_handler (GdkEvent*); virtual bool event_handler (GdkEvent*);
}; };
#endif /* __ardour_automation_line_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_gtk_editor_component_h__ #pragma once
#define __ardour_gtk_editor_component_h__
class Editor; class Editor;
@ -31,4 +30,3 @@ protected:
Editor* _editor; Editor* _editor;
}; };
#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 __gtk_ardour_editor_cursors_h__ #pragma once
#define __gtk_ardour_editor_cursors_h__
#include "pbd/signals.h" #include "pbd/signals.h"
#include "ardour/types.h" #include "ardour/types.h"
@ -62,4 +61,3 @@ private:
samplepos_t _current_sample; samplepos_t _current_sample;
}; };
#endif // __gtk_ardour_editor_cursors_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 __gtk_ardour_editor_group_tabs_h__ #pragma once
#define __gtk_ardour_editor_group_tabs_h__
#include <gtkmm/menu.h> #include <gtkmm/menu.h>
#include "group_tabs.h" #include "group_tabs.h"
@ -43,4 +42,3 @@ private:
} }
}; };
#endif // __gtk_ardour_editor_group_tabs_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 __gtk_ardour_editor_locations_h__ #pragma once
#define __gtk_ardour_editor_locations_h__
#include "pbd/xml++.h" #include "pbd/xml++.h"
@ -50,4 +49,3 @@ private:
}; };
#endif /* __gtk_ardour_editor_locations_h__ */

View File

@ -19,8 +19,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_editor_regions_h__ #pragma once
#define __gtk_ardour_editor_regions_h__
#include "editor_component.h" #include "editor_component.h"
#include "region_list_base.h" #include "region_list_base.h"
@ -52,4 +51,3 @@ private:
void show_context_menu (int button, int time); void show_context_menu (int button, int time);
}; };
#endif /* __gtk_ardour_editor_regions_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 __gtk_ardour_editor_route_groups_h__ #pragma once
#define __gtk_ardour_editor_route_groups_h__
#include <gtkmm/liststore.h> #include <gtkmm/liststore.h>
#include <gtkmm/scrolledwindow.h> #include <gtkmm/scrolledwindow.h>
@ -101,4 +100,3 @@ private:
Gtk::ColorSelectionDialog color_dialog; Gtk::ColorSelectionDialog color_dialog;
}; };
#endif // __gtk_ardour_editor_route_groups_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 __gtk_ardour_section_box_h__ #pragma once
#define __gtk_ardour_section_box_h__
#include "ardour/types.h" #include "ardour/types.h"
@ -38,4 +37,3 @@ private:
Editor& _editor; Editor& _editor;
}; };
#endif // __gtk_ardour_editor_cursors_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 __gtk_ardour_editor_snapshots_h__ #pragma once
#define __gtk_ardour_editor_snapshots_h__
#include "ardour/session_handle.h" #include "ardour/session_handle.h"
@ -69,4 +68,3 @@ private:
void rename (std::string); void rename (std::string);
}; };
#endif // __gtk_ardour_editor_snapshots_h__

View File

@ -15,8 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_editor_sources_h__ #pragma once
#define __gtk_ardour_editor_sources_h__
#include "editor_component.h" #include "editor_component.h"
#include "source_list_base.h" #include "source_list_base.h"
@ -43,4 +42,3 @@ private:
void drag_data_received (Glib::RefPtr<Gdk::DragContext> const&, gint, gint, Gtk::SelectionData const&, guint, guint); void drag_data_received (Glib::RefPtr<Gdk::DragContext> const&, gint, gint, Gtk::SelectionData const&, guint, guint);
}; };
#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 __gtk_ardour_editor_summary_h__ #pragma once
#define __gtk_ardour_editor_summary_h__
#include "gtkmm2ext/cairo_widget.h" #include "gtkmm2ext/cairo_widget.h"
#include "editor_component.h" #include "editor_component.h"
@ -137,4 +136,3 @@ private:
PBD::ScopedConnectionList region_property_connection; PBD::ScopedConnectionList region_property_connection;
}; };
#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_gtk_enums_h__ #pragma once
#define __ardour_gtk_enums_h__
#include "ardour/types.h" #include "ardour/types.h"
@ -56,4 +55,3 @@ enum Height {
extern void setup_gtk_ardour_enums (); extern void setup_gtk_ardour_enums ();
#endif /* __ardour_gtk_enums_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 __export_channel_selector_h__ #pragma once
#define __export_channel_selector_h__
#include <list> #include <list>
#include <memory> #include <memory>
@ -298,4 +297,3 @@ class TrackExportChannelSelector : public ExportChannelSelector
bool _syncing_with_manager; bool _syncing_with_manager;
}; };
#endif /* __export_channel_selector_h__ */

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __export_dialog_h__ #pragma once
#define __export_dialog_h__
#include <string> #include <string>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
@ -207,4 +206,3 @@ class StemExportDialog : public ExportDialog
void init_components (); void init_components ();
}; };
#endif /* __ardour_export_dialog_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 __export_file_notebook_h__ #pragma once
#define __export_file_notebook_h__
#include <sigc++/signal.h> #include <sigc++/signal.h>
@ -143,4 +142,3 @@ private:
}; };
}; };
#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 __export_filename_selector_h__ #pragma once
#define __export_filename_selector_h__
#include <gtkmm/box.h> #include <gtkmm/box.h>
#include <gtkmm/button.h> #include <gtkmm/button.h>
@ -139,4 +138,3 @@ private:
bool _require_timespan; bool _require_timespan;
}; };
#endif /* __export_filename_selector_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 __export_format_dialog_h__ #pragma once
#define __export_format_dialog_h__
#include "ardour/types.h" #include "ardour/types.h"
#include "ardour/export_format_manager.h" #include "ardour/export_format_manager.h"
@ -412,4 +411,3 @@ private:
}; };
#endif /* __export_format_dialog_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 __export_format_selector_h__ #pragma once
#define __export_format_selector_h__
#include <memory> #include <memory>
#include <string> #include <string>
@ -94,4 +93,3 @@ private:
Gtk::Button new_button; Gtk::Button new_button;
}; };
#endif /* __export_format_selector_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 __export_preset_selector_h__ #pragma once
#define __export_preset_selector_h__
#include <sigc++/signal.h> #include <sigc++/signal.h>
@ -84,4 +83,3 @@ private:
sigc::connection select_connection; sigc::connection select_connection;
}; };
#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 __export_timespan_selector_h__ #pragma once
#define __export_timespan_selector_h__
#include <ctime> #include <ctime>
#include <list> #include <list>
@ -198,4 +197,3 @@ private:
std::string range_id; std::string range_id;
}; };
#endif /* __export_timespan_selector_h__ */

View File

@ -15,8 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_export_video_dialog_h__ #pragma once
#define __gtk_ardour_export_video_dialog_h__
#include <string> #include <string>
@ -108,4 +107,3 @@ private:
Gtk::CheckButton debug_checkbox; Gtk::CheckButton debug_checkbox;
}; };
#endif /* __gtk_ardour_export_video_dialog_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_fft_h__ #pragma once
#define __ardour_fft_h__
#include <iostream> #include <iostream>
@ -72,4 +71,3 @@ private:
} }
#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 __floating_text_entry_h__ #pragma once
#define __floating_text_entry_h__
#include <gtkmm/entry.h> #include <gtkmm/entry.h>
#include <gtkmm/window.h> #include <gtkmm/window.h>
@ -58,4 +57,3 @@ private:
void on_hide (); void on_hide ();
}; };
#endif // __ardour_window_h__

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_gtk_gain_meter_h__ #pragma once
#define __ardour_gtk_gain_meter_h__
#include <vector> #include <vector>
#include <map> #include <map>
@ -264,5 +263,4 @@ class GainMeter : public GainMeterBase, public Gtk::VBox
std::vector<ARDOUR::DataType> _types; std::vector<ARDOUR::DataType> _types;
}; };
#endif /* __ardour_gtk_gain_meter_h__ */

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_gtk_ghost_region_h__ #pragma once
#define __ardour_gtk_ghost_region_h__
#include <vector> #include <vector>
@ -137,4 +136,3 @@ public:
GhostEvent::EventList::iterator _optimization_iterator; GhostEvent::EventList::iterator _optimization_iterator;
}; };
#endif /* __ardour_gtk_ghost_region_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_gtk_global_port_matrix_h__ #pragma once
#define __ardour_gtk_global_port_matrix_h__
#include <gtkmm/button.h> #include <gtkmm/button.h>
#include "port_matrix.h" #include "port_matrix.h"
@ -68,4 +67,3 @@ private:
}; };
#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_grid_lines_h__ #pragma once
#define __ardour_grid_lines_h__
#include "canvas/line_set.h" #include "canvas/line_set.h"
#include "canvas/ruler.h" #include "canvas/ruler.h"
@ -38,4 +37,3 @@ private:
ArdourCanvas::LineSet lines; ArdourCanvas::LineSet lines;
}; };
#endif /* __ardour_grid_lines_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 __gtk_ardour_group_tabs_h__ #pragma once
#define __gtk_ardour_group_tabs_h__
#include <gtkmm/menu.h> #include <gtkmm/menu.h>
@ -184,4 +183,3 @@ private:
static std::list<Gdk::Color> _used_colors; static std::list<Gdk::Color> _used_colors;
}; };
#endif // __gtk_ardour_group_tabs_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 __gtk_ardour_gui_object_h__ #pragma once
#define __gtk_ardour_gui_object_h__
#include <map> #include <map>
#include <string> #include <string>
@ -74,4 +73,3 @@ public:
std::map <std::string, XMLNode*> object_map; std::map <std::string, XMLNode*> object_map;
}; };
#endif /* __gtk_ardour_gui_object_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 __gtk_ardour_hit_h__ #pragma once
#define __gtk_ardour_hit_h__
#include <iostream> #include <iostream>
#include "note_base.h" #include "note_base.h"
@ -72,4 +71,3 @@ private:
ArdourCanvas::Polygon* _polygon; ArdourCanvas::Polygon* _polygon;
}; };
#endif /* __gtk_ardour_hit_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_idle_o_meter_h__ #pragma once
#define __ardour_idle_o_meter_h__
#include <gtkmm/label.h> #include <gtkmm/label.h>
#include "ardour_dialog.h" #include "ardour_dialog.h"
@ -55,5 +54,4 @@ private:
double _var_m, _var_s; double _var_m, _var_s;
sigc::connection _idle_connection; sigc::connection _idle_connection;
}; };
#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 __gtk_ardour_input_port_monitor_h__ #pragma once
#define __gtk_ardour_input_port_monitor_h__
#include <gtkmm/box.h> #include <gtkmm/box.h>
#include <gtkmm/alignment.h> #include <gtkmm/alignment.h>
@ -134,4 +133,3 @@ private:
Orientation _orientation; Orientation _orientation;
}; };
#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 __gtk_ardour_instrument_selector_h__ #pragma once
#define __gtk_ardour_instrument_selector_h__
#include <string> #include <string>
@ -76,4 +75,3 @@ private:
PBD::ScopedConnection _update_connection; PBD::ScopedConnection _update_connection;
}; };
#endif /* __gtk_ardour_instrument_selector_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_interthread_progress_window_h__ #pragma once
#define __ardour_interthread_progress_window_h__
#include <gtkmm/label.h> #include <gtkmm/label.h>
#include <gtkmm/progressbar.h> #include <gtkmm/progressbar.h>
@ -68,4 +67,3 @@ private:
ARDOUR::ImportStatus* _import_status; ARDOUR::ImportStatus* _import_status;
}; };
#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 __gtkardour_io_selector_h__ #pragma once
#define __gtkardour_io_selector_h__
#include "port_matrix.h" #include "port_matrix.h"
#include "ardour_window.h" #include "ardour_window.h"
@ -88,4 +87,3 @@ class IOSelectorWindow : public ArdourWindow
bool wm_delete (GdkEventAny*); bool wm_delete (GdkEventAny*);
}; };
#endif /* __gtkardour_io_selector_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_item_counts_h__ #pragma once
#define __ardour_item_counts_h__
#include <cstddef> #include <cstddef>
#include <map> #include <map>
@ -80,4 +79,3 @@ private:
size_t _notes; size_t _notes;
}; };
#endif /* __ardour_item_counts_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_keyboard_h__ #pragma once
#define __ardour_keyboard_h__
#include <map> #include <map>
#include <string> #include <string>
@ -108,4 +107,3 @@ private:
void find_bindings_files (std::map<std::string,std::string>& files); void find_bindings_files (std::map<std::string,std::string>& files);
}; };
#endif /* __ardour_keyboard_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_gtk_key_editor_h__ #pragma once
#define __ardour_gtk_key_editor_h__
#include <string> #include <string>
@ -136,4 +135,3 @@ private:
sigc::connection _refresh_connection; sigc::connection _refresh_connection;
}; };
#endif /* __ardour_gtk_key_editor_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_gtk_track_meter_h__ #pragma once
#define __ardour_gtk_track_meter_h__
#include <vector> #include <vector>
@ -145,5 +144,4 @@ protected:
void mtr_remove(Gtk::Widget &w); void mtr_remove(Gtk::Widget &w);
}; };
#endif /* __ardour_gtk_track_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_location_ui_h__ #pragma once
#define __ardour_location_ui_h__
#include <gtkmm/box.h> #include <gtkmm/box.h>
#include <gtkmm/checkbutton.h> #include <gtkmm/checkbutton.h>
@ -239,4 +238,3 @@ protected:
void session_going_away(); void session_going_away();
}; };
#endif // __ardour_location_ui_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 __gtkardour_luainstance_h__ #pragma once
#define __gtkardour_luainstance_h__
#include <bitset> #include <bitset>
@ -191,4 +190,3 @@ private:
}; };
#endif

View File

@ -15,8 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_luawindow_h__ #pragma once
#define __ardour_luawindow_h__
#include <glibmm/thread.h> #include <glibmm/thread.h>
@ -140,4 +139,3 @@ private:
}; };
#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 __lxvst_plugin_ui_h__ #pragma once
#define __lxvst_plugin_ui_h__
#include "pbd/signals.h" #include "pbd/signals.h"
#include "vst_plugin_ui.h" #include "vst_plugin_ui.h"
@ -54,4 +53,3 @@ private:
#endif //LXVST_SUPPORT #endif //LXVST_SUPPORT
#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 __gtk_ardour_main_clock_h__ #pragma once
#define __gtk_ardour_main_clock_h__
#include "audio_clock.h" #include "audio_clock.h"
@ -46,4 +45,3 @@ private:
ARDOUR::ClockDeltaMode _delta_mode; ARDOUR::ClockDeltaMode _delta_mode;
}; };
#endif // __gtk_ardour_main_clock_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 __gtk_ardour_marker_h__ #pragma once
#define __gtk_ardour_marker_h__
#include <string> #include <string>
#include <glib.h> #include <glib.h>
@ -248,4 +247,3 @@ class BBTMarker : public MetricMarker
MeterMarker* meter_marker; MeterMarker* meter_marker;
}; };
#endif /* __gtk_ardour_marker_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_gtk_marker_selection_h__ #pragma once
#define __ardour_gtk_marker_selection_h__
#include <list> #include <list>
@ -30,4 +29,3 @@ class MarkerSelection : public std::list<ArdourMarker*>
void range (Temporal::timepos_t& start, Temporal::timepos_t& end); void range (Temporal::timepos_t& start, Temporal::timepos_t& end);
}; };
#endif /* __ardour_gtk_marker_selection_h__ */

View File

@ -16,8 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ardour_meterbridge_h__ #pragma once
#define __ardour_meterbridge_h__
#include <glibmm/thread.h> #include <glibmm/thread.h>
@ -156,4 +155,3 @@ private:
bool on_configure_event (GdkEventConfigure* conf); bool on_configure_event (GdkEventConfigure* conf);
}; };
#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_ui_midi_channel_selector_h__ #pragma once
#define __ardour_ui_midi_channel_selector_h__
#include <set> #include <set>
#include "sigc++/trackable.h" #include "sigc++/trackable.h"
@ -182,4 +181,3 @@ private:
void playback_mode_toggled (ARDOUR::ChannelMode); void playback_mode_toggled (ARDOUR::ChannelMode);
}; };
#endif /*__ardour_ui_midi_channel_selector_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 __midi_region_trimmer_box_h__ #pragma once
#define __midi_region_trimmer_box_h__
#include <map> #include <map>
@ -74,4 +73,3 @@ private:
std::shared_ptr<ARDOUR::Region> _region; std::shared_ptr<ARDOUR::Region> _region;
}; };
#endif /* __midi_region_trimmer_box_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 __gtk_ardour_midi_cue_editor_h__ #pragma once
#define __gtk_ardour_midi_cue_editor_h__
#include <gtkmm/adjustment.h> #include <gtkmm/adjustment.h>
@ -205,4 +204,3 @@ class MidiCueEditor : public CueEditor
}; };
#endif /* __gtk_ardour_midi_cue_editor_h__ */

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_midi_cue_view_h__ #pragma once
#define __gtk_ardour_midi_cue_view_h__
#include "midi_view.h" #include "midi_view.h"
@ -76,4 +75,3 @@ class MidiCueView : public MidiView
}; };
#endif /* __gtk_ardour_midi_cue_view_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 __gtk_ardour_midi_cut_buffer_h__ #pragma once
#define __gtk_ardour_midi_cut_buffer_h__
#include "temporal/beats.h" #include "temporal/beats.h"
@ -45,4 +44,3 @@ private:
TimeType _origin; TimeType _origin;
}; };
#endif /* __gtk_ardour_midi_cut_buffer_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 __midi_region_operations_box_h__ #pragma once
#define __midi_region_operations_box_h__
#include <map> #include <map>
@ -63,4 +62,3 @@ private:
void transform_button_clicked(); void transform_button_clicked();
}; };
#endif /* __midi_region_operations_box_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 __midi_region_properties_box_h__ #pragma once
#define __midi_region_properties_box_h__
#include <map> #include <map>
@ -56,4 +55,3 @@ private:
ArdourWidgets::ArdourButton cc_selector_button; ArdourWidgets::ArdourButton cc_selector_button;
}; };
#endif /* __midi_region_properties_box_h__ */

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_midi_region_view_h__ #pragma once
#define __gtk_ardour_midi_region_view_h__
#include <string> #include <string>
#include <vector> #include <vector>
@ -176,4 +175,3 @@ public:
}; };
#endif /* __gtk_ardour_midi_region_view_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_gtk_midi_selection_h__ #pragma once
#define __ardour_gtk_midi_selection_h__
#include "region_selection.h" #include "region_selection.h"
@ -49,4 +48,3 @@ public:
} }
}; };
#endif /* __ardour_gtk_midi_selection_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_midi_streamview_h__ #pragma once
#define __ardour_midi_streamview_h__
#include <list> #include <list>
#include <cmath> #include <cmath>
@ -115,4 +114,3 @@ private:
bool _updates_suspended; bool _updates_suspended;
}; };
#endif /* __ardour_midi_streamview_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_midi_time_axis_h__ #pragma once
#define __ardour_midi_time_axis_h__
#include <list> #include <list>
@ -212,4 +211,3 @@ private:
PBD::ScopedConnection mouse_mode_connection; PBD::ScopedConnection mouse_mode_connection;
}; };
#endif /* __ardour_midi_time_axis_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_gtk_midi_tracer_h__ #pragma once
#define __ardour_gtk_midi_tracer_h__
#include <atomic> #include <atomic>
@ -124,4 +123,3 @@ private:
static unsigned int window_count; static unsigned int window_count;
}; };
#endif /* __ardour_gtk_midi_tracer_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 __gtk_ardour_midi_util_h__ #pragma once
#define __gtk_ardour_midi_util_h__
inline static void clamp_to_0_127(uint8_t &val) inline static void clamp_to_0_127(uint8_t &val)
{ {
@ -29,5 +28,4 @@ inline static void clamp_to_0_127(uint8_t &val)
} }
} }
#endif /* __gtk_ardour_midi_util_h__ */

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __gtk_ardour_midi_view_h__ #pragma once
#define __gtk_ardour_midi_view_h__
#include <string> #include <string>
#include <vector> #include <vector>
@ -643,4 +642,3 @@ class MidiView : public virtual sigc::trackable
}; };
#endif /* __gtk_ardour_midi_view_h__ */

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