*/
#include "content.h"
+#include "change_signaller.h"
#include "util.h"
#include "content_factory.h"
#include "video_content.h"
audio->modify_position (p);
}
- ContentChange cc (this, ContentProperty::POSITION);
+ ChangeSignaller<Content> cc (this, ContentProperty::POSITION);
{
boost::mutex::scoped_lock lm (_mutex);
audio->modify_trim_start (t);
}
- ContentChange cc (this, ContentProperty::TRIM_START);
+ ChangeSignaller<Content> cc (this, ContentProperty::TRIM_START);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::set_trim_end (ContentTime t)
{
- ContentChange cc (this, ContentProperty::TRIM_END);
+ ChangeSignaller<Content> cc (this, ContentProperty::TRIM_END);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::set_path (boost::filesystem::path path)
{
- ContentChange cc (this, ContentProperty::PATH);
+ ChangeSignaller<Content> cc (this, ContentProperty::PATH);
_paths.clear ();
_paths.push_back (path);
}
void
Content::set_paths (vector<boost::filesystem::path> paths)
{
- ContentChange cc (this, ContentProperty::PATH);
+ ChangeSignaller<Content> cc (this, ContentProperty::PATH);
_paths = paths;
}
void
Content::set_video_frame_rate (double r)
{
- ContentChange cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);
void
Content::unset_video_frame_rate ()
{
- ContentChange cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);