X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_part.h;h=a81334270edc369fa24f5b4a449ca6e180d78d28;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=58833655fb5dcb9d503b1e0fc2f87ef8f62c1f67;hpb=e65d31fbccad80c80f743516ecdd8269826d2114;p=dcpomatic.git diff --git a/src/lib/content_part.h b/src/lib/content_part.h index 58833655f..a81334270 100644 --- a/src/lib/content_part.h +++ b/src/lib/content_part.h @@ -23,8 +23,7 @@ #define DCPOMATIC_CONTENT_PART_H #include "content.h" -#include "content_change.h" -#include +#include "change_signaller.h" #include class Content; @@ -42,7 +41,7 @@ protected: void maybe_set (T& member, T new_value, int property) const { - ContentChange cc (_parent, property); + ChangeSignaller cc (_parent, property); { boost::mutex::scoped_lock lm (_mutex); if (member == new_value) { @@ -57,7 +56,7 @@ protected: void maybe_set (boost::optional& member, T new_value, int property) const { - ContentChange cc (_parent, property); + ChangeSignaller cc (_parent, property); { boost::mutex::scoped_lock lm (_mutex); if (member && member.get() == new_value) {