X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltProperties.h;h=9393992d66d9dbd70f71e74ce5428325be644f96;hb=6ce81902d5ad2f7584f47193caf31c009937af17;hp=91570aec2fca4ab2a0902daddc12058a021bd156;hpb=b2acc89d28aa0be283f242a137a3104448dfdd2e;p=melted diff --git a/mlt++/src/MltProperties.h b/mlt++/src/MltProperties.h index 91570ae..9393992 100644 --- a/mlt++/src/MltProperties.h +++ b/mlt++/src/MltProperties.h @@ -56,6 +56,7 @@ namespace Mlt int get_int( const char *name ); double get_double( const char *name ); void *get_data( const char *name, int &size ); + void *get_data( const char *name ); int set( const char *name, const char *value ); int set( const char *name, int value ); int set( const char *name, double value ); @@ -72,7 +73,11 @@ namespace Mlt void debug( const char *title = "Object", FILE *output = stderr ); void load( const char *file ); int save( const char *file ); - Event *listen( char *id, void *object, mlt_listener listener ); + #if defined( __DARWIN__ ) && GCC_VERSION < 40000 + Event *listen( char *id, void *object, void (*)( ... ) ); + #else + Event *listen( char *id, void *object, mlt_listener ); + #endif Event *setup_wait_for( char *id ); void wait_for( Event *, bool destroy = true ); };