diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-14 01:09:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-14 12:55:36 +0200 |
| commit | 0c6f11c42a4f5d858053da7e9589786c48d31e64 (patch) | |
| tree | 182ff0756b9464e9f8c0e84355d876a29a6ca7d0 /src/lib | |
| parent | a4a7cd938aa4f23f23240ed732844e5ad61683c0 (diff) | |
Cleanup: add header guards.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/butler.h | 8 | ||||
| -rw-r--r-- | src/lib/video_ring_buffers.h | 7 |
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 |
