23#ifndef MLT_REPOSITORY_H
24#define MLT_REPOSITORY_H
48#define MLT_REPOSITORY void mlt_register( mlt_repository repository )
51#define MLT_REGISTER( type, service, symbol ) ( mlt_repository_register( repository, (type), (service), ( mlt_register_callback )(symbol) ) )
54#define MLT_REGISTER_METADATA( type, service, callback, data ) ( mlt_repository_register_metadata( repository, (type), (service), ( mlt_metadata_callback )(callback), (data) ) )
void(* mlt_repository_callback)(mlt_repository)
This callback is the main entry point into a module, which must be exported with the symbol "mlt_regi...
Definition mlt_repository.h:35
mlt_repository mlt_repository_init(const char *directory)
void mlt_repository_register_metadata(mlt_repository self, mlt_service_type type, const char *service, mlt_metadata_callback, void *callback_data)
void *(* mlt_register_callback)(mlt_profile, mlt_service_type, const char *, const void *)
The callback function that modules implement to construct a service.
Definition mlt_repository.h:40
mlt_properties mlt_repository_producers(mlt_repository self)
mlt_properties mlt_repository_languages(mlt_repository self)
mlt_properties(* mlt_metadata_callback)(mlt_service_type, const char *, void *)
The callback function that modules implement to supply metadata as a properties list.
Definition mlt_repository.h:45
mlt_properties mlt_repository_transitions(mlt_repository self)
mlt_properties mlt_repository_presets()
void mlt_repository_register(mlt_repository self, mlt_service_type service_type, const char *service, mlt_register_callback)
void * mlt_repository_create(mlt_repository self, mlt_profile profile, mlt_service_type type, const char *service, const void *arg)
mlt_properties mlt_repository_metadata(mlt_repository self, mlt_service_type type, const char *service)
void mlt_repository_close(mlt_repository self)
mlt_properties mlt_repository_filters(mlt_repository self)
mlt_properties mlt_repository_consumers(mlt_repository self)
Provides forward definitions of all public types.
struct mlt_profile_s * mlt_profile
pointer to Profile object
Definition mlt_types.h:205
mlt_service_type
The recognized subclasses of mlt_service.
Definition mlt_types.h:141
struct mlt_repository_s * mlt_repository
pointer to Repository object
Definition mlt_types.h:206
struct mlt_properties_s * mlt_properties
pointer to Properties object
Definition mlt_types.h:190
Profile class.
Definition mlt_profile.h:35
Properties class.
Definition mlt_properties.h:37
Repository class.
Definition mlt_repository.c:46