summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-14 01:09:11 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-14 12:55:36 +0200
commit0c6f11c42a4f5d858053da7e9589786c48d31e64 (patch)
tree182ff0756b9464e9f8c0e84355d876a29a6ca7d0 /src
parenta4a7cd938aa4f23f23240ed732844e5ad61683c0 (diff)
Cleanup: add header guards.
Diffstat (limited to 'src')
-rw-r--r--src/lib/butler.h8
-rw-r--r--src/lib/video_ring_buffers.h7
2 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h
index 87408646b..bac94a742 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -19,6 +19,10 @@
*/
+#ifndef DCPOMATIC_BUTLER_H
+#define DCPOMATIC_BUTLER_H
+
+
#include "audio_mapping.h"
#include "audio_ring_buffers.h"
#include "change_signaller.h"
@@ -152,3 +156,7 @@ private:
boost::signals2::scoped_connection _player_text_connection;
boost::signals2::scoped_connection _player_change_connection;
};
+
+
+#endif
+
diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h
index 47fda01f7..842336a26 100644
--- a/src/lib/video_ring_buffers.h
+++ b/src/lib/video_ring_buffers.h
@@ -19,6 +19,10 @@
*/
+#ifndef DCPOMATIC_VIDEO_RING_BUFFERS_H
+#define DCPOMATIC_VIDEO_RING_BUFFERS_H
+
+
#include "dcpomatic_time.h"
#include "player_video.h"
#include "types.h"
@@ -53,3 +57,6 @@ private:
mutable boost::mutex _mutex;
std::list<std::pair<std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime>> _data;
};
+
+
+#endif