2 * mlt_manager.h -- manager service class
3 * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
4 * Author: Charles Yates <charles.yates@pandora.be>
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.
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.
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.
21 #ifndef _MLT_MANAGER_H_
22 #define _MLT_MANAGER_H_
24 extern mlt_manager
mlt_manager_init( );
25 extern mlt_producer
mlt_manager_producer( mlt_manager
this );
26 extern mlt_producer
mlt_manager_properties( mlt_manager
this );
27 extern int mlt_manager_track_count( mlt_manager
this );
28 extern int mlt_manager_clip_count( mlt_manager
this, int track
);
29 extern int mlt_manager_append_clip( mlt_manager
this, int track
, mlt_producer clip
);
30 extern int mlt_manager_append_clip_io( mlt_manager
this, int track
, mlt_producer clip
, mlt_position in
, mlt_position out
);
31 extern int mlt_manager_append_blank( mlt_manager
this, int track
, int length
);
32 extern int mlt_manager_insert_clip( mlt_manager
this, int track
, mlt_producer clip
, mlt_position position
);
33 extern int mlt_manager_insert_clip_io( mlt_manager
this, int track
, mlt_position position
, mlt_producer clip
, mlt_position in
, mlt_position out
);
34 extern int mlt_manager_insert_blank( mlt_manager
this, int track
, mlt_position position
, int length
);
35 extern int mlt_manager_remove_clip( mlt_manager
this, int track
, int index
);
36 extern mlt_producer
mlt_manager_get_clip( mlt_manager
this, int track
, int index
, char *type
, mlt_position
*in
, mlt_position
*out
);
37 extern int mlt_manager_service_count( mlt_manager
this );
38 extern int mlt_manager_append_filter( mlt_manager
this, mlt_filter that
);
39 extern int mlt_manager_append_transition( mlt_manager
this, int index
, mlt_transition that
);
40 extern int mlt_manager_insert_filter( mlt_manager
this, int index
, mlt_filter that
);
41 extern int mlt_manager_insert_transition( mlt_manager
this, int index
, mlt_transition that
);
42 extern int mlt_manager_remove_service( mlt_manager
this, int index
);
43 extern mlt_service
mlt_manager_get_service( mlt_manager
this, int index
, char *type
);
44 extern int mlt_manager_set_resource( mlt_manager
this, char *resource
);
45 extern int mlt_manager_set_type( mlt_manager
this, char *type
);