X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltService.h;h=2079614d46cc5fc3cebf7cd074c66d1b0777cedd;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=3cff4295f880fc016496a0494a0caa4db86395c9;hpb=1d262eab5f8850bf2603a405e09ad213341f4ab7;p=melted diff --git a/mlt++/src/MltService.h b/mlt++/src/MltService.h index 3cff429..2079614 100644 --- a/mlt++/src/MltService.h +++ b/mlt++/src/MltService.h @@ -21,6 +21,8 @@ #ifndef _MLTPP_SERVICE_H_ #define _MLTPP_SERVICE_H_ +#include "config.h" + #include #include "MltProperties.h" @@ -29,9 +31,11 @@ namespace Mlt { class Properties; + class Filter; class Frame; + class Profile; - class Service : public Properties + class MLTPP_DECLSPEC Service : public Properties { private: mlt_service instance; @@ -39,13 +43,20 @@ namespace Mlt Service( ); Service( Service &service ); Service( mlt_service service ); + virtual ~Service( ); virtual mlt_service get_service( ); - virtual mlt_service get_connection( ); - mlt_properties get_properties( ); + void lock( ); + void unlock( ); + virtual mlt_properties get_properties( ); int connect_producer( Service &producer, int index = 0 ); Service *consumer( ); Service *producer( ); + Profile *profile( ); Frame *get_frame( int index = 0 ); + mlt_service_type type( ); + int attach( Filter &filter ); + int detach( Filter &filter ); + Filter *filter( int index ); }; }