Commit 20de0a57 authored by Clement CHAVANCE's avatar Clement CHAVANCE

added ( another... ) constructor to the Clip Class

parent 25a39185
......@@ -100,6 +100,16 @@ Clip::Clip( const QUuid& uuid, qint64 begin, qint64 end ) :
computeLength();
}
Clip::Clip( Media* parent, qint64 begin, qint64 end, const QUuid& uuid )
: m_parent( parent ),
m_begin( begin ),
m_end( end ),
m_Uuid( uuid )
{
computeLength();
}
Clip::~Clip()
{
}
......
......@@ -47,6 +47,7 @@ class Clip : public QObject
Clip( Clip* creator, qint64 begin, qint64 end );
Clip( const Clip* clip );
Clip( const QUuid& uuid, qint64 begin = 0, qint64 end = -1 );
Clip( Media* parent, qint64 begin, qint64 end, const QUuid& uuid );
virtual ~Clip();
qint64 getBegin() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment