summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-12-08 08:08:19 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-09-13 14:54:54 +1000
commit7d31ec02b3687a50977e3a6d2db7d47d9bcd7b52 (patch)
tree7e0f4cc9b8e29999298c672fdd5638293a420067
parentd4a64299c544ce4a150a7df3514722963290902e (diff)
Add missing header include guards in various gtk2_ardour headers
-rw-r--r--gtk2_ardour/ambiguous_file_dialog.h5
-rw-r--r--gtk2_ardour/editor_cursors.h5
-rw-r--r--gtk2_ardour/editor_group_tabs.h5
-rw-r--r--gtk2_ardour/editor_route_groups.h5
-rw-r--r--gtk2_ardour/editor_snapshots.h5
-rw-r--r--gtk2_ardour/group_tabs.h5
-rw-r--r--gtk2_ardour/main_clock.h5
-rw-r--r--gtk2_ardour/mixer_group_tabs.h5
-rw-r--r--gtk2_ardour/mono_panner_editor.h5
-rw-r--r--gtk2_ardour/panner_editor.h5
-rw-r--r--gtk2_ardour/sfdb_freesound_mootcher.h4
-rw-r--r--gtk2_ardour/stereo_panner_editor.h5
-rw-r--r--gtk2_ardour/verbose_cursor.h5
13 files changed, 62 insertions, 2 deletions
diff --git a/gtk2_ardour/ambiguous_file_dialog.h b/gtk2_ardour/ambiguous_file_dialog.h
index 69c2ca6b76..e49f7850c3 100644
--- a/gtk2_ardour/ambiguous_file_dialog.h
+++ b/gtk2_ardour/ambiguous_file_dialog.h
@@ -17,6 +17,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __gtk_ardour_ambiguous_file_dialog_h__
+#define __gtk_ardour_ambiguous_file_dialog_h__
+
#include <gtkmm/radiobutton.h>
#include "ardour_dialog.h"
@@ -33,4 +36,4 @@ private:
bool rb_button_press (GdkEventButton*);
};
-
+#endif // __gtk_ardour_ambiguous_file_dialog_h__
diff --git a/gtk2_ardour/editor_cursors.h b/gtk2_ardour/editor_cursors.h
index f841f0c778..7b739e5a53 100644
--- a/gtk2_ardour/editor_cursors.h
+++ b/gtk2_ardour/editor_cursors.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_editor_cursors_h__
+#define __gtk_ardour_editor_cursors_h__
+
#include "pbd/signals.h"
#include "ardour/types.h"
@@ -55,3 +58,5 @@ class EditorCursor {
ArdourCanvas::Arrow* _track_canvas_item;
framepos_t _current_frame;
};
+
+#endif // __gtk_ardour_editor_cursors_h__
diff --git a/gtk2_ardour/editor_group_tabs.h b/gtk2_ardour/editor_group_tabs.h
index 61e0ecfd0f..801dc987de 100644
--- a/gtk2_ardour/editor_group_tabs.h
+++ b/gtk2_ardour/editor_group_tabs.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_editor_group_tabs_h__
+#define __gtk_ardour_editor_group_tabs_h__
+
#include <gtkmm/menu.h>
#include "group_tabs.h"
@@ -38,3 +41,5 @@ private:
void add_menu_items (Gtk::Menu *, ARDOUR::RouteGroup *);
ARDOUR::RouteList selected_routes () const;
};
+
+#endif // __gtk_ardour_editor_group_tabs_h__
diff --git a/gtk2_ardour/editor_route_groups.h b/gtk2_ardour/editor_route_groups.h
index 5040823052..65c4968d8d 100644
--- a/gtk2_ardour/editor_route_groups.h
+++ b/gtk2_ardour/editor_route_groups.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_editor_route_groups_h__
+#define __gtk_ardour_editor_route_groups_h__
+
#include "gtkmm2ext/stateful_button.h"
#include "editor_component.h"
@@ -93,4 +96,4 @@ private:
Gtk::ColorSelectionDialog color_dialog;
};
-
+#endif // __gtk_ardour_editor_route_groups_h__
diff --git a/gtk2_ardour/editor_snapshots.h b/gtk2_ardour/editor_snapshots.h
index 48626a5368..9f539145ce 100644
--- a/gtk2_ardour/editor_snapshots.h
+++ b/gtk2_ardour/editor_snapshots.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_editor_snapshots_h__
+#define __gtk_ardour_editor_snapshots_h__
+
#include <gtkmm/widget.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/treemodel.h>
@@ -62,3 +65,5 @@ private:
void remove (std::string);
void rename (std::string);
};
+
+#endif // __gtk_ardour_editor_snapshots_h__
diff --git a/gtk2_ardour/group_tabs.h b/gtk2_ardour/group_tabs.h
index 39ea78deb6..eadc19cc6c 100644
--- a/gtk2_ardour/group_tabs.h
+++ b/gtk2_ardour/group_tabs.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_group_tabs_h__
+#define __gtk_ardour_group_tabs_h__
+
#include <gtkmm/menu.h>
#include "editor_component.h"
#include "gtkmm2ext/cairo_widget.h"
@@ -150,3 +153,5 @@ private:
/** colors that have been used for new route group tabs */
static std::list<Gdk::Color> _used_colors;
};
+
+#endif // __gtk_ardour_group_tabs_h__
diff --git a/gtk2_ardour/main_clock.h b/gtk2_ardour/main_clock.h
index bf0712686a..25ddff45a9 100644
--- a/gtk2_ardour/main_clock.h
+++ b/gtk2_ardour/main_clock.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_main_clock_h__
+#define __gtk_ardour_main_clock_h__
+
#include "audio_clock.h"
/** A simple subclass of AudioClock that adds a few things to its context menu:
@@ -42,3 +45,5 @@ private:
bool on_button_press_event (GdkEventButton *ev);
};
+
+#endif // __gtk_ardour_main_clock_h__
diff --git a/gtk2_ardour/mixer_group_tabs.h b/gtk2_ardour/mixer_group_tabs.h
index 8da5a1be49..05a0d7e2e5 100644
--- a/gtk2_ardour/mixer_group_tabs.h
+++ b/gtk2_ardour/mixer_group_tabs.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_mixer_group_tabs_h__
+#define __gtk_ardour_mixer_group_tabs_h__
+
#include "group_tabs.h"
class Mixer_UI;
@@ -39,3 +42,5 @@ private:
Mixer_UI* _mixer;
};
+
+#endif // __gtk_ardour_mixer_group_tabs_h__
diff --git a/gtk2_ardour/mono_panner_editor.h b/gtk2_ardour/mono_panner_editor.h
index f8b12cf25c..5c8e5cfa18 100644
--- a/gtk2_ardour/mono_panner_editor.h
+++ b/gtk2_ardour/mono_panner_editor.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_mono_panner_editor_h__
+#define __gtk_ardour_mono_panner_editor_h__
+
#include <gtkmm.h>
#include "panner_editor.h"
@@ -41,3 +44,5 @@ private:
PBD::ScopedConnectionList _connections;
};
+
+#endif // __gtk_ardour_mono_panner_editor_h__
diff --git a/gtk2_ardour/panner_editor.h b/gtk2_ardour/panner_editor.h
index d538b78a1f..b58b1f486d 100644
--- a/gtk2_ardour/panner_editor.h
+++ b/gtk2_ardour/panner_editor.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_panner_editor_h__
+#define __gtk_ardour_panner_editor_h__
+
#include "ardour_dialog.h"
class PannerEditor : public ArdourDialog
@@ -27,3 +30,5 @@ public:
private:
void close_button_clicked ();
};
+
+#endif // __gtk_ardour_panner_editor_h__
diff --git a/gtk2_ardour/sfdb_freesound_mootcher.h b/gtk2_ardour/sfdb_freesound_mootcher.h
index 4095cc9927..bc18cefa18 100644
--- a/gtk2_ardour/sfdb_freesound_mootcher.h
+++ b/gtk2_ardour/sfdb_freesound_mootcher.h
@@ -31,6 +31,9 @@
*****************************************************************************/
+#ifndef __gtk_ardour_sfdb_freesound_mootcher_h__
+#define __gtk_ardour_sfdb_freesound_mootcher_h__
+
#include <string>
#include <stdio.h>
#include <cstring>
@@ -120,3 +123,4 @@ private:
std::string xmlLocation;
};
+#endif // __gtk_ardour_sfdb_freesound_mootcher_h__
diff --git a/gtk2_ardour/stereo_panner_editor.h b/gtk2_ardour/stereo_panner_editor.h
index 1a01564a4c..32cabedffe 100644
--- a/gtk2_ardour/stereo_panner_editor.h
+++ b/gtk2_ardour/stereo_panner_editor.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_stereo_panner_editor_h__
+#define __gtk_ardour_stereo_panner_editor_h__
+
#include <gtkmm.h>
#include "panner_editor.h"
@@ -43,3 +46,5 @@ private:
PBD::ScopedConnectionList _connections;
};
+
+#endif // __gtk_ardour_stereo_panner_editor_h__
diff --git a/gtk2_ardour/verbose_cursor.h b/gtk2_ardour/verbose_cursor.h
index 6160bb3296..f4c76b1087 100644
--- a/gtk2_ardour/verbose_cursor.h
+++ b/gtk2_ardour/verbose_cursor.h
@@ -17,6 +17,9 @@
*/
+#ifndef __gtk_ardour_verbose_cursor_h__
+#define __gtk_ardour_verbose_cursor_h__
+
#include "ardour/types.h"
#include "canvas/canvas.h"
@@ -48,3 +51,5 @@ private:
void color_handler ();
};
+
+#endif // __gtk_ardour_verbose_cursor_h__