#ifndef _MLTPP_CONSUMER_H_
#define _MLTPP_CONSUMER_H_
+#include "config.h"
+
#include <framework/mlt.h>
#include "MltService.h"
{
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 );
virtual mlt_consumer get_consumer( );
mlt_service get_service( );
virtual int connect( Service &service );
+ int run( );
int start( );
void purge( );
int stop( );