Add a .gitignore file
[melted] / mlt++ / src / MltTractor.h
index 014f395..9fe5d79 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef _MLTPP_TRACTOR_H_
 #define _MLTPP_TRACTOR_H_
 
+#include "config.h"
+
 #include <framework/mlt.h>
 
 #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 );
        };
 }