Cleanup: add header guards.
authorCarl Hetherington <cth@carlh.net>
Thu, 13 Oct 2022 23:09:11 +0000 (01:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 14 Oct 2022 10:55:36 +0000 (12:55 +0200)
src/lib/butler.h
src/lib/video_ring_buffers.h

index 87408646bc28e3e458e23f75757cc5a81b80da44..bac94a74297e8f785ed38211d59683564aea8ae6 100644 (file)
 */
 
 
+#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
+
index 47fda01f7fd7b9c503a84d6cffc7c2dde60b15a3..842336a26d5a946790c878045faf16c96a0faa08 100644 (file)
 */
 
 
+#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