]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltProperties.h
Start new plusgpl module from dgraft.
[mlt] / src / mlt++ / MltProperties.h
index af8cbbec4554b37b9bfa58019274bda7363aee70..9ccbcf9d1d36c1bd324f5bb28a8eccaf2e18122a 100644 (file)
@@ -53,7 +53,7 @@ namespace Mlt
                        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 );
@@ -95,6 +95,29 @@ namespace Mlt
                        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 );
        };
 }