]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltProperties.h
Start new plusgpl module from dgraft.
[mlt] / src / mlt++ / MltProperties.h
index 9026510cd044e4a316cedf926601fc7466e25dfc..9ccbcf9d1d36c1bd324f5bb28a8eccaf2e18122a 100644 (file)
@@ -49,9 +49,11 @@ namespace Mlt
                        int inc_ref( );
                        int dec_ref( );
                        int ref_count( );
+                       void lock( );
+                       void unlock( );
                        void block( void *object = NULL );
                        void unblock( void *object = NULL );
-                       void fire_event( const char *event );
+                       int fire_event( const char *event );
                        bool is_valid( );
                        int count( );
                        char *get( const char *name );
@@ -87,9 +89,35 @@ namespace Mlt
                        static void delete_event( Event * );
                        Event *setup_wait_for( const char *id );
                        void wait_for( Event *, bool destroy = true );
+                       void wait_for( const char *id );
                        bool is_sequence( );
                        static Properties *parse_yaml( const char *file );
                        char *serialise_yaml( );
+                       int preset( const char *name );
+                       int set_lcnumeric( const char *locale );
+                       const char *get_lcnumeric( );
+                       char *get_time( const char *name, mlt_time_format = mlt_time_smpte );
+                       char *frames_to_time( int, mlt_time_format = mlt_time_smpte );
+                       int time_to_frames( const char* time );
+
+                       mlt_color get_color( const char *name );
+                       int set( const char *name , mlt_color value );
+
+                       char* anim_get( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, const char *value, int position, int length = 0 );
+                       int anim_get_int( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, int value, int position, int length = 0,
+                               mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
+                       double anim_get_double( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, double value, int position, int length = 0,
+                               mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
+
+                       int set( const char *name, mlt_rect value );
+                       int set( const char *name, double x, double y, double w, double h, double opacity = 1.0 );
+                       mlt_rect get_rect( const char* name );
+                       int anim_set( const char *name, mlt_rect value, int position, int length = 0,
+                               mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
+                       mlt_rect anim_get_rect( const char *name, int position, int length = 0 );
        };
 }