X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltFilter.h;h=8efb4e41b7d85e0c5653bac41c1c80700b06ef3b;hb=55757b000043f6e370b9e963ce2e3542962c03c0;hp=79ae98936c2e7297702287eee3e438ad2727da85;hpb=01c1d44e8df201c3061cf20addf5421d21d8bcb0;p=melted diff --git a/mlt++/src/MltFilter.h b/mlt++/src/MltFilter.h index 79ae989..8efb4e4 100644 --- a/mlt++/src/MltFilter.h +++ b/mlt++/src/MltFilter.h @@ -21,35 +21,34 @@ #ifndef _MLTPP_FILTER_H_ #define _MLTPP_FILTER_H_ +#include "config.h" + #include #include "MltService.h" namespace Mlt { - class Filter : public Service - { - public: - virtual mlt_filter get_filter( ) = 0; - mlt_service get_service( ); - int connect( Service &service, int index = 0 ); - void set_in_and_out( mlt_position in, mlt_position out ); - mlt_position get_in( ); - mlt_position get_out( ); - int get_track( ); - }; + class Service; + class Profile; - class FilterInstance : public Filter + class MLTPP_DECLSPEC Filter : public Service { private: - bool destroy; mlt_filter instance; public: - mlt_filter get_filter( ); - FilterInstance( char *id, char *service = NULL ); - FilterInstance( Filter &filter ); - FilterInstance( mlt_filter filter ); - virtual ~FilterInstance( ); + Filter( Profile& profile, char *id, char *service = NULL ); + Filter( Service &filter ); + Filter( Filter &filter ); + Filter( mlt_filter filter ); + virtual ~Filter( ); + virtual mlt_filter get_filter( ); + mlt_service get_service( ); + int connect( Service &service, int index = 0 ); + void set_in_and_out( int in, int out ); + int get_in( ); + int get_out( ); + int get_track( ); }; }