diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
| commit | e0255a64d22440d718e5512f34a4f21f0d37a21b (patch) | |
| tree | 61927018d28794c7c32c238bc37259bfddb2f01c /src/lib/content.h | |
| parent | 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (diff) | |
Use enum class for Film::Property.
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index 8a28762d3..eafadd3ec 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -212,7 +212,7 @@ private: friend struct best_dcp_frame_rate_test_single; friend struct best_dcp_frame_rate_test_double; friend struct audio_sampling_rate_test; - template<class> friend class ChangeSignaller; + template<class, class> friend class ChangeSignaller; void signal_change (ChangeType, int); @@ -232,4 +232,8 @@ private: bool _change_signals_frequent; }; + +typedef ChangeSignaller<Content, int> ContentChangeSignaller; + + #endif |
