]> git.sesse.net Git - mlt/blob - src/framework/mlt_manager.h
libquicktime prefers pkg-config now and latest lqt-config is broken with respect...
[mlt] / src / framework / mlt_manager.h
1 /*
2  * mlt_manager.h -- manager service class
3  * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
4  * Author: Charles Yates <charles.yates@pandora.be>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef _MLT_MANAGER_H_
22 #define _MLT_MANAGER_H_
23
24 extern mlt_manager mlt_manager_init( );
25 extern mlt_producer mlt_manager_producer( mlt_manager self );
26 extern mlt_producer mlt_manager_properties( mlt_manager self );
27 extern int mlt_manager_track_count( mlt_manager self );
28 extern int mlt_manager_clip_count( mlt_manager self, int track );
29 extern int mlt_manager_append_clip( mlt_manager self, int track, mlt_producer clip );
30 extern int mlt_manager_append_clip_io( mlt_manager self, int track, mlt_producer clip, mlt_position in, mlt_position out );
31 extern int mlt_manager_append_blank( mlt_manager self, int track, int length );
32 extern int mlt_manager_insert_clip( mlt_manager self, int track, mlt_producer clip, mlt_position position );
33 extern int mlt_manager_insert_clip_io( mlt_manager self, int track, mlt_position position, mlt_producer clip, mlt_position in, mlt_position out );
34 extern int mlt_manager_insert_blank( mlt_manager self, int track, mlt_position position, int length );
35 extern int mlt_manager_remove_clip( mlt_manager self, int track, int index );
36 extern mlt_producer mlt_manager_get_clip( mlt_manager self, int track, int index, char *type, mlt_position *in, mlt_position *out );
37 extern int mlt_manager_service_count( mlt_manager self );
38 extern int mlt_manager_append_filter( mlt_manager self, mlt_filter that );
39 extern int mlt_manager_append_transition( mlt_manager self, int index, mlt_transition that );
40 extern int mlt_manager_insert_filter( mlt_manager self, int index, mlt_filter that );
41 extern int mlt_manager_insert_transition( mlt_manager self, int index, mlt_transition that );
42 extern int mlt_manager_remove_service( mlt_manager self, int index );
43 extern mlt_service mlt_manager_get_service( mlt_manager self, int index, char *type );
44 extern int mlt_manager_set_resource( mlt_manager self, char *resource );
45 extern int mlt_manager_set_type( mlt_manager self, char *type );
46
47 #endif