+ Replaced this with self in new pass functions for C++ compilation
[melted] / src / framework / mlt_properties.h
index a331029..b6a90d7 100644 (file)
@@ -42,31 +42,34 @@ 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 mlt_properties mlt_properties_load( const char *file );
 extern int mlt_properties_inc_ref( mlt_properties self );
 extern int mlt_properties_dec_ref( mlt_properties self );
+extern int mlt_properties_ref_count( mlt_properties self );
 extern void mlt_properties_mirror( mlt_properties self, mlt_properties that );
 extern int mlt_properties_inherit( mlt_properties self, mlt_properties that );
-extern int mlt_properties_pass( mlt_properties self, mlt_properties that, char *prefix );
-extern int mlt_properties_set( mlt_properties self, char *name, char *value );
-extern int mlt_properties_set_or_default( mlt_properties self, char *name, char *value, char *def );
-extern int mlt_properties_parse( mlt_properties self, char *namevalue );
-extern char *mlt_properties_get( mlt_properties self, char *name );
+extern int mlt_properties_pass( mlt_properties self, mlt_properties that, const char *prefix );
+extern void mlt_properties_pass_property( mlt_properties self, mlt_properties that, const char *name );
+extern int mlt_properties_pass_list( mlt_properties self, mlt_properties that, const char *list );
+extern int mlt_properties_set( mlt_properties self, const char *name, const char *value );
+extern int mlt_properties_set_or_default( mlt_properties self, const char *name, const char *value, const char *def );
+extern int mlt_properties_parse( mlt_properties self, const char *namevalue );
+extern char *mlt_properties_get( mlt_properties self, const char *name );
 extern char *mlt_properties_get_name( mlt_properties self, int index );
 extern char *mlt_properties_get_value( mlt_properties self, int index );
 extern void *mlt_properties_get_data_at( mlt_properties self, int index, int *size );
-extern int mlt_properties_get_int( mlt_properties self, char *name );
-extern int mlt_properties_set_int( mlt_properties self, char *name, int value );
-extern double mlt_properties_get_double( mlt_properties self, char *name );
-extern int mlt_properties_set_double( mlt_properties self, char *name, double value );
-extern mlt_position mlt_properties_get_position( mlt_properties self, char *name );
-extern int mlt_properties_set_position( mlt_properties self, char *name, mlt_position value );
-extern int mlt_properties_set_data( mlt_properties self, char *name, void *value, int length, mlt_destructor, mlt_serialiser );
-extern void *mlt_properties_get_data( mlt_properties self, char *name, int *length );
-extern int mlt_properties_rename( mlt_properties self, char *source, char *dest );
+extern int mlt_properties_get_int( mlt_properties self, const char *name );
+extern int mlt_properties_set_int( mlt_properties self, const char *name, int value );
+extern double mlt_properties_get_double( mlt_properties self, const char *name );
+extern int mlt_properties_set_double( mlt_properties self, const char *name, double value );
+extern mlt_position mlt_properties_get_position( mlt_properties self, const char *name );
+extern int mlt_properties_set_position( mlt_properties self, const char *name, mlt_position value );
+extern int mlt_properties_set_data( mlt_properties self, const char *name, void *value, int length, mlt_destructor, mlt_serialiser );
+extern void *mlt_properties_get_data( mlt_properties self, const char *name, int *length );
+extern int mlt_properties_rename( mlt_properties self, const char *source, const char *dest );
 extern int mlt_properties_count( mlt_properties self );
 extern void mlt_properties_dump( mlt_properties self, FILE *output );
-extern void mlt_properties_debug( mlt_properties self, char *title, FILE *output );
+extern void mlt_properties_debug( mlt_properties self, const char *title, FILE *output );
 extern void mlt_properties_close( mlt_properties self );
 
 #endif