AgsPluginFactory

AgsPluginFactory

Synopsis

struct              AgsPluginFactory;
struct              AgsPluginFactoryClass;
struct              AgsPluginMetadata;
void                ags_plugin_factory_add              (AgsPluginFactory *plugin_factory,
                                                         GType plugin_type,
                                                         gchar *plugin_name,
                                                         gchar *version,
                                                         gchar *build_id,
                                                         gchar *xml_type,
                                                         GParameter *control,
                                                         guint control_count);
AgsPlugin *         ags_plugin_factory_create           (AgsPluginFactory *plugin_factory,
                                                         gchar *plugin_name,
                                                         gchar *version,
                                                         gchar *build_id);
AgsPluginFactory *  ags_plugin_factory_get_instance     ();
GList *             ags_plugin_factory_list_by_name     (AgsPluginFactory *plugin_factory,
                                                         gchar *plugin_name);
AgsPluginFactory *  ags_plugin_factory_new              ();
AgsPluginFactory *  ags_plugin_factory_new_from_file    (gchar *path);
void                ags_plugin_factory_read_file        (AgsPluginFactory *plugin_factory,
                                                         gchar *path);

Description

Details

struct AgsPluginFactory

struct AgsPluginFactory {
  GObject object;

  GList *plugin;
};

struct AgsPluginFactoryClass

struct AgsPluginFactoryClass {
  GObjectClass object;

  void (*add)(AgsPluginFactory *plugin_factory,
	      GType plugin_type,
	      gchar *plugin_name,
	      gchar *version, gchar *build_id,
	      gchar *xml_type,
	      GParameter *control, guint control_count);

  AgsPlugin* (*create)(AgsPluginFactory *plugin_factory,
		       gchar *xml_type);
};

struct AgsPluginMetadata

struct AgsPluginMetadata {
  GType plugin_type;
  gchar *plugin_name;

  gchar *version;
  gchar *build_id;

  gchar *xml_type;

  GParameter *control;
  guint control_count;
};

ags_plugin_factory_add ()

void                ags_plugin_factory_add              (AgsPluginFactory *plugin_factory,
                                                         GType plugin_type,
                                                         gchar *plugin_name,
                                                         gchar *version,
                                                         gchar *build_id,
                                                         gchar *xml_type,
                                                         GParameter *control,
                                                         guint control_count);

ags_plugin_factory_create ()

AgsPlugin *         ags_plugin_factory_create           (AgsPluginFactory *plugin_factory,
                                                         gchar *plugin_name,
                                                         gchar *version,
                                                         gchar *build_id);

ags_plugin_factory_get_instance ()

AgsPluginFactory *  ags_plugin_factory_get_instance     ();

ags_plugin_factory_list_by_name ()

GList *             ags_plugin_factory_list_by_name     (AgsPluginFactory *plugin_factory,
                                                         gchar *plugin_name);

ags_plugin_factory_new ()

AgsPluginFactory *  ags_plugin_factory_new              ();

ags_plugin_factory_new_from_file ()

AgsPluginFactory *  ags_plugin_factory_new_from_file    (gchar *path);

ags_plugin_factory_read_file ()

void                ags_plugin_factory_read_file        (AgsPluginFactory *plugin_factory,
                                                         gchar *path);