+ Win32 port - dev studio is required to avoid issues with C++ ABI compatibility
[melted] / mlt++ / src / MltConsumer.h
index 96d3c33..dc4c87d 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef _MLTPP_CONSUMER_H_
 #define _MLTPP_CONSUMER_H_
 
+#include "config.h"
+
 #include <framework/mlt.h>
 
 #include "MltService.h"
@@ -29,12 +31,13 @@ namespace Mlt
 {
        class Service;
 
-       class Consumer : public Service
+       class MLTPP_DECLSPEC Consumer : public Service
        {
                private:
                        mlt_consumer instance;
                public:
-                       Consumer( char *id, char *service = NULL );
+                       Consumer( );
+                       Consumer( char *id , char *service = NULL );
                        Consumer( Service &consumer );
                        Consumer( Consumer &consumer );
                        Consumer( mlt_consumer consumer );
@@ -42,6 +45,7 @@ namespace Mlt
                        virtual mlt_consumer get_consumer( );
                        mlt_service get_service( );
                        virtual int connect( Service &service );
+                       int run( );
                        int start( );
                        void purge( );
                        int stop( );