class RubyListener
{
private:
+ VALUE callback;
Mlt::Event *event;
public:
event = properties.listen( id, this, ( mlt_listener )ruby_listener );
}
- ~RubyList( )
+ ~RubyListener( )
{
delete event;
}
ID method = rb_intern( "call" );
rb_funcall( callback, method, 0 );
}
-
- private:
- VALUE callback;
};
static void ruby_listener( mlt_properties owner, void *object )