X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltTractor.h;h=9fe5d79e4c1784a895f4a221a9790d9c0970374c;hb=9cb7526750aa11c203cae69c618070500519f0c4;hp=014f3959cba91c571d7c0452d55312da9ef8bdc5;hpb=6d06b0de2cb66cf093bf24d9ed02fac18756105e;p=melted diff --git a/mlt++/src/MltTractor.h b/mlt++/src/MltTractor.h index 014f395..9fe5d79 100644 --- a/mlt++/src/MltTractor.h +++ b/mlt++/src/MltTractor.h @@ -21,6 +21,8 @@ #ifndef _MLTPP_TRACTOR_H_ #define _MLTPP_TRACTOR_H_ +#include "config.h" + #include #include "MltProducer.h" @@ -30,8 +32,11 @@ namespace Mlt class Producer; class Field; class Multitrack; + class Transition; + class Filter; + class Profile; - class Tractor : public Producer + class MLTPP_DECLSPEC Tractor : public Producer { private: mlt_tractor instance; @@ -40,8 +45,9 @@ namespace Mlt Tractor( Service &tractor ); Tractor( mlt_tractor tractor ); Tractor( Tractor &tractor ); + Tractor( Profile& profile, char *id, char *arg = NULL ); virtual ~Tractor( ); - mlt_tractor get_tractor( ); + virtual mlt_tractor get_tractor( ); mlt_producer get_producer( ); Multitrack *multitrack( ); Field *field( ); @@ -49,6 +55,11 @@ namespace Mlt int set_track( Producer &producer, int index ); Producer *track( int index ); int count( ); + void plant_transition( Transition &transition, int a_track = 0, int b_track = 1 ); + void plant_transition( Transition *transition, int a_track = 0, int b_track = 1 ); + void plant_filter( Filter &filter, int track = 0 ); + void plant_filter( Filter *filter, int track = 0 ); + bool locate_cut( Producer *producer, int &track, int &cut ); }; }