From d4a64299c544ce4a150a7df3514722963290902e Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Tue, 8 Dec 2015 08:05:24 +1000 Subject: Add missing header include guards in canvas library --- libs/canvas/canvas/flag.h | 5 +++++ libs/canvas/canvas/utils.h | 4 ++++ libs/canvas/canvas/wave_view.h | 7 ++++++- 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/canvas/canvas/flag.h b/libs/canvas/canvas/flag.h index ed7bc7cacb..e806185320 100644 --- a/libs/canvas/canvas/flag.h +++ b/libs/canvas/canvas/flag.h @@ -17,6 +17,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __CANVAS_FLAG_H__ +#define __CANVAS_FLAG_H__ + #include #include "canvas/visibility.h" @@ -54,3 +57,5 @@ private: }; } + +#endif // __CANVAS_FLAG_H__ diff --git a/libs/canvas/canvas/utils.h b/libs/canvas/canvas/utils.h index 97bbfb8fb8..42551a6c9a 100644 --- a/libs/canvas/canvas/utils.h +++ b/libs/canvas/canvas/utils.h @@ -17,6 +17,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __CANVAS_UTILS_H__ +#define __CANVAS_UTILS_H__ + #include #include "canvas/visibility.h" @@ -33,3 +36,4 @@ namespace ArdourCanvas { Distance LIBCANVAS_API distance_to_segment_squared (Duple const & p, Duple const & p1, Duple const & p2, double& t, Duple& at); } +#endif // __CANVAS_UTILS_H__ diff --git a/libs/canvas/canvas/wave_view.h b/libs/canvas/canvas/wave_view.h index 8dfd988b6b..abb5200244 100644 --- a/libs/canvas/canvas/wave_view.h +++ b/libs/canvas/canvas/wave_view.h @@ -18,6 +18,9 @@ */ +#ifndef __CANVAS_WAVE_VIEW_H__ +#define __CANVAS_WAVE_VIEW_H__ + #include #include #include @@ -408,4 +411,6 @@ public: static DrawingRequestQueue request_queue; }; -} +} // namespace ArdourCanvas + +#endif // __CANVAS_WAVE_VIEW_H__ -- cgit v1.2.3