X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.h;h=abfe8b0df191522fc59a1f08a1805756cdbe328c;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=c2cbebccf35bc67b956ca00fd2305f2282add931;hpb=05008d72aac63b4abca2bc51b9c6e73a722d5703;p=melted diff --git a/src/framework/mlt_properties.h b/src/framework/mlt_properties.h index c2cbebc..abfe8b0 100644 --- a/src/framework/mlt_properties.h +++ b/src/framework/mlt_properties.h @@ -3,19 +3,19 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Charles Yates * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _MLT_PROPERTIES_H_ @@ -49,6 +49,8 @@ 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, 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 ); @@ -58,6 +60,8 @@ 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, const char *name ); extern int mlt_properties_set_int( mlt_properties self, const char *name, int value ); +extern int64_t mlt_properties_get_int64( mlt_properties self, const char *name ); +extern int mlt_properties_set_int64( mlt_properties self, const char *name, int64_t 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 ); @@ -68,6 +72,8 @@ extern int mlt_properties_rename( mlt_properties self, const char *source, const 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, const char *title, FILE *output ); +extern int mlt_properties_save( mlt_properties, const char * ); +extern int mlt_properties_dir_list( mlt_properties, const char *, const char *, int ); extern void mlt_properties_close( mlt_properties self ); #endif