X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.h;h=d6060a03d0d2f6b9047a2694e755a302dde26dd6;hb=d6aab64e889e8b27370d585452e2d712a7a948a9;hp=1527f3887818e6e132ee08f5ccc7470f1bfc6833;hpb=36aad7b318537612374acfd3f626a8c1364ad95d;p=melted diff --git a/src/framework/mlt_properties.h b/src/framework/mlt_properties.h index 1527f38..d6060a0 100644 --- a/src/framework/mlt_properties.h +++ b/src/framework/mlt_properties.h @@ -22,6 +22,7 @@ #define _MLT_PROPERTIES_H_ #include "mlt_types.h" +#include /** The properties base class defines the basic property propagation and handling. @@ -38,13 +39,17 @@ struct mlt_properties_s extern int mlt_properties_init( mlt_properties, void *child ); extern mlt_properties mlt_properties_new( ); +extern mlt_properties mlt_properties_load( char *file ); extern void mlt_properties_mirror( mlt_properties this, mlt_properties that ); extern int mlt_properties_inherit( mlt_properties this, mlt_properties that ); +extern int mlt_properties_pass( mlt_properties this, mlt_properties that, char *prefix ); extern int mlt_properties_set( mlt_properties this, char *name, char *value ); +extern int mlt_properties_set_or_default( mlt_properties this, char *name, char *value, char *def ); extern int mlt_properties_parse( mlt_properties this, char *namevalue ); extern char *mlt_properties_get( mlt_properties this, char *name ); extern char *mlt_properties_get_name( mlt_properties this, int index ); extern char *mlt_properties_get_value( mlt_properties this, int index ); +extern void *mlt_properties_get_data_at( mlt_properties this, int index, int *size ); extern int mlt_properties_get_int( mlt_properties this, char *name ); extern int mlt_properties_set_int( mlt_properties this, char *name, int value ); extern double mlt_properties_get_double( mlt_properties this, char *name ); @@ -53,7 +58,9 @@ extern mlt_position mlt_properties_get_position( mlt_properties this, char *name extern int mlt_properties_set_position( mlt_properties this, char *name, mlt_position value ); extern int mlt_properties_set_data( mlt_properties this, char *name, void *value, int length, mlt_destructor, mlt_serialiser ); extern void *mlt_properties_get_data( mlt_properties this, char *name, int *length ); +extern int mlt_properties_rename( mlt_properties this, char *source, char *dest ); extern int mlt_properties_count( mlt_properties this ); +extern void mlt_properties_dump( mlt_properties this, FILE *output ); extern void mlt_properties_close( mlt_properties this ); #endif