AgsPluginFactory

AgsPluginFactory

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsPluginFactory

Description

Functions

ags_plugin_factory_read_file ()

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

ags_plugin_factory_list_by_name ()

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

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_new_from_file ()

AgsPluginFactory *
ags_plugin_factory_new_from_file (gchar *path);

ags_plugin_factory_new ()

AgsPluginFactory *
ags_plugin_factory_new ();

AGS_IS_PLUGIN_FACTORY()

#define AGS_IS_PLUGIN_FACTORY(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLUGIN_FACTORY))

AGS_PLUGIN_FACTORY()

#define AGS_PLUGIN_FACTORY(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactory))

AGS_PLUGIN_FACTORY_CLASS()

#define AGS_PLUGIN_FACTORY_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))

AGS_PLUGIN_FACTORY_GET_CLASS()

#define AGS_PLUGIN_FACTORY_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))

ags_plugin_factory_get_type ()

GType
ags_plugin_factory_get_type (void);

Types and Values

struct AgsPluginMetadata

struct AgsPluginMetadata {
  GType plugin_type;
  gchar *plugin_name;

  gchar *version;
  gchar *build_id;

  gchar *xml_type;

  GParameter *control;
  guint control_count;
};

AGS_TYPE_PLUGIN_FACTORY

#define AGS_TYPE_PLUGIN_FACTORY                (ags_plugin_factory_get_type())

struct AgsPluginFactory

struct AgsPluginFactory;

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 *plugin_name, gchar *version, gchar *build_id);
};

Signal Details

The “add” signal

GObject*
user_function (AgsPluginFactory *agspluginfactory,
               gulong            arg1,
               gchar            *arg2,
               gchar            *arg3,
               gchar            *arg4,
               gchar            *arg5,
               guint             arg6,
               gpointer          arg7,
               gpointer          user_data)

Flags: Run Last


The “create” signal

GObject*
user_function (AgsPluginFactory *agspluginfactory,
               gchar            *arg1,
               gchar            *arg2,
               gchar            *arg3,
               gpointer          user_data)

Flags: Run Last