Service attach filters
[melted] / mlt++ / src / MltConsumer.h
index 0bd2ea1..96d3c33 100644 (file)
@@ -32,19 +32,20 @@ namespace Mlt
        class Consumer : public Service
        {
                private:
-                       bool destroy;
                        mlt_consumer instance;
                public:
                        Consumer( char *id, char *service = NULL );
+                       Consumer( Service &consumer );
                        Consumer( Consumer &consumer );
                        Consumer( mlt_consumer consumer );
                        virtual ~Consumer( );
                        virtual mlt_consumer get_consumer( );
                        mlt_service get_service( );
-                       int connect( Service &service );
+                       virtual int connect( Service &service );
                        int start( );
+                       void purge( );
                        int stop( );
-                       int is_stopped( );
+                       bool is_stopped( );
        };
 }