mlt 0.7.6

mlt_events.h

Go to the documentation of this file.
00001 
00024 #ifndef _MLT_EVENTS_H_
00025 #define _MLT_EVENTS_H_
00026 
00027 #include "mlt_types.h"
00028 
00029 #if GCC_VERSION >= 40000
00030 typedef void ( *mlt_transmitter )( void *, ... );
00031 typedef void ( *mlt_listener )( void *, ... );
00032 #else
00033 
00036 typedef void ( *mlt_transmitter )( );
00042 typedef void ( *mlt_listener )( );
00043 #endif
00044 
00045 extern void mlt_events_init( mlt_properties self );
00046 extern int mlt_events_register( mlt_properties self, const char *id, mlt_transmitter transmitter );
00047 extern void mlt_events_fire( mlt_properties self, const char *id, ... );
00048 extern mlt_event mlt_events_listen( mlt_properties self, void *service, const char *id, mlt_listener listener );
00049 extern void mlt_events_block( mlt_properties self, void *service );
00050 extern void mlt_events_unblock( mlt_properties self, void *service );
00051 extern void mlt_events_disconnect( mlt_properties self, void *service );
00052 
00053 extern mlt_event mlt_events_setup_wait_for( mlt_properties self, const char *id );
00054 extern void mlt_events_wait_for( mlt_properties self, mlt_event event );
00055 extern void mlt_events_close_wait_for( mlt_properties self, mlt_event event );
00056 
00057 extern void mlt_event_inc_ref( mlt_event self );
00058 extern void mlt_event_block( mlt_event self );
00059 extern void mlt_event_unblock( mlt_event self );
00060 extern void mlt_event_close( mlt_event self );
00061 
00062 #endif
00063 
TWiki Appliance - Powered by TurnKey Linux