X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltService.h;h=2079614d46cc5fc3cebf7cd074c66d1b0777cedd;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=297f954aca8841827bf19a3d7d519a6d23a44755;hpb=cde26839b277ce44c4f8c379e7e9da38353e9f64;p=melted diff --git a/mlt++/src/MltService.h b/mlt++/src/MltService.h index 297f954..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; @@ -41,11 +45,18 @@ namespace Mlt Service( mlt_service service ); virtual ~Service( ); virtual mlt_service get_service( ); - 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 ); }; }