diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-26 00:30:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-26 02:21:16 +0100 |
| commit | d0fd28941427f30c0b844c429b7c92e8031b49d5 (patch) | |
| tree | c9784b74572ea0aaa9b0b6e2e8515df18fef4f01 | |
| parent | 818e4bec3fd59a4ff7619a1b449c4eda71cb84fb (diff) | |
Add some include guards.
| -rw-r--r-- | src/lib/nanomsg.h | 7 | ||||
| -rw-r--r-- | src/wx/dkdm_dialog.h | 8 | ||||
| -rw-r--r-- | src/wx/export_subtitles_dialog.h | 8 | ||||
| -rw-r--r-- | src/wx/export_video_file_dialog.h | 8 |
4 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/nanomsg.h b/src/lib/nanomsg.h index 8ae6a55aa..7a813dcf1 100644 --- a/src/lib/nanomsg.h +++ b/src/lib/nanomsg.h @@ -19,6 +19,10 @@ */ +#ifndef DCPOMATIC_NANOMSG_H +#define DCPOMATIC_NANOMSG_H + + #include <string> #include <list> #include <boost/optional.hpp> @@ -55,3 +59,6 @@ private: std::string _current; }; + +#endif + diff --git a/src/wx/dkdm_dialog.h b/src/wx/dkdm_dialog.h index 4a47d961f..12c805e54 100644 --- a/src/wx/dkdm_dialog.h +++ b/src/wx/dkdm_dialog.h @@ -19,6 +19,10 @@ */ +#ifndef DCPOMATIC_DKDM_DIALOG_H +#define DCPOMATIC_DKDM_DIALOG_H + + #include "wx_util.h" #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS @@ -53,3 +57,7 @@ private: DKDMOutputPanel* _output; wxButton* _make; }; + + +#endif + diff --git a/src/wx/export_subtitles_dialog.h b/src/wx/export_subtitles_dialog.h index 0a3177cac..6c7e44946 100644 --- a/src/wx/export_subtitles_dialog.h +++ b/src/wx/export_subtitles_dialog.h @@ -19,6 +19,10 @@ */ +#ifndef DCPOMATIC_EXPORT_SUBTITLES_DIALOG_H +#define DCPOMATIC_EXPORT_SUBTITLES_DIALOG_H + + #include "dir_picker_ctrl.h" #include "table_dialog.h" #include <dcp/warnings.h> @@ -52,3 +56,7 @@ private: DirPickerCtrl* _dir; wxStaticText* _dir_label; }; + + +#endif + diff --git a/src/wx/export_video_file_dialog.h b/src/wx/export_video_file_dialog.h index 4e626be6b..c7132c499 100644 --- a/src/wx/export_video_file_dialog.h +++ b/src/wx/export_video_file_dialog.h @@ -19,6 +19,10 @@ */ +#ifndef DCPOMATIC_EXPORT_VIDEO_FILE_DIALOG +#define DCPOMATIC_EXPORT_VIDEO_FILE_DIALOG + + #include "table_dialog.h" #include "lib/ffmpeg_file_encoder.h" #include <dcp/warnings.h> @@ -60,3 +64,7 @@ private: wxStaticText* _x264_crf_label[2]; FilePickerCtrl* _file; }; + + +#endif + |
