#include "MltProfile.h"
using namespace Mlt;
-Filter::Filter( Profile& profile, char *id, char *arg ) :
+Filter::Filter( Profile& profile, const char *id, const char *arg ) :
instance( NULL )
{
if ( arg != NULL )
private:
mlt_filter instance;
public:
- Filter( Profile& profile, char *id, char *service = NULL );
+ Filter( Profile& profile, const char *id, const char *service = NULL );
Filter( Service &filter );
Filter( Filter &filter );
Filter( mlt_filter filter );
#endif
-Event *Properties::setup_wait_for( char *id )
+Event *Properties::setup_wait_for( const char *id )
{
return new Event( mlt_events_setup_wait_for( get_properties( ), id ) );
}
Event *listen( char *id, void *object, mlt_listener );
#endif
static void delete_event( Event * );
- Event *setup_wait_for( char *id );
+ Event *setup_wait_for( const char *id );
void wait_for( Event *, bool destroy = true );
};
}