Content::signal_change (ChangeType c, int p)
{
try {
- if (c == CHANGE_TYPE_PENDING || c == CHANGE_TYPE_CANCELLED) {
+ if (c == ChangeType::PENDING || c == ChangeType::CANCELLED) {
Change (c, shared_from_this(), p, _change_signals_frequent);
} else {
emit (boost::bind (boost::ref(Change), c, shared_from_this(), p, _change_signals_frequent));
audio->modify_position (film, p);
}
- ChangeSignaller<Content> cc (this, ContentProperty::POSITION);
+ ContentChangeSignaller cc (this, ContentProperty::POSITION);
{
boost::mutex::scoped_lock lm (_mutex);
audio->modify_trim_start (t);
}
- ChangeSignaller<Content> cc (this, ContentProperty::TRIM_START);
+ ContentChangeSignaller cc (this, ContentProperty::TRIM_START);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::set_trim_end (ContentTime t)
{
- ChangeSignaller<Content> cc (this, ContentProperty::TRIM_END);
+ ContentChangeSignaller cc (this, ContentProperty::TRIM_END);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::set_paths (vector<boost::filesystem::path> paths)
{
- ChangeSignaller<Content> cc (this, ContentProperty::PATH);
+ ContentChangeSignaller cc (this, ContentProperty::PATH);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::set_video_frame_rate (double r)
{
- ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ContentChangeSignaller cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::unset_video_frame_rate ()
{
- ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ContentChangeSignaller cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);