| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/object/ags_plugin.h> typedef AgsPlugin; struct AgsPluginInterface;gchar * ags_plugin_get_build_id (AgsPlugin *plugin);gchar * ags_plugin_get_name (AgsPlugin *plugin);GList * ags_plugin_get_ports (AgsPlugin *plugin);gchar * ags_plugin_get_version (AgsPlugin *plugin);gchar * ags_plugin_get_xml_type (AgsPlugin *plugin);void ags_plugin_read (AgsFile *file,,xmlNode *nodeAgsPlugin *plugin);void ags_plugin_set_build_id (AgsPlugin *plugin,);gchar *build_idvoid ags_plugin_set_name (AgsPlugin *plugin,);gchar *namevoid ags_plugin_set_ports (AgsPlugin *plugin,);GList *portsvoid ags_plugin_set_version (AgsPlugin *plugin,);gchar *versionvoid ags_plugin_set_xml_type (AgsPlugin *plugin,);gchar *xml_typexmlNode * ags_plugin_write (AgsFile *file,,xmlNode *parentAgsPlugin *plugin);
The AgsPlugin interface gives you a unique access to recalls, line members, lines, pads or machines ...
struct AgsPluginInterface {
GTypeInterface interface;
gchar* (*get_name)(AgsPlugin *plugin);
void (*set_name)(AgsPlugin *plugin, gchar *name);
gchar* (*get_version)(AgsPlugin *plugin);
void (*set_version)(AgsPlugin *plugin, gchar *version);
gchar* (*get_build_id)(AgsPlugin *plugin);
void (*set_build_id)(AgsPlugin *plugin, gchar *build_id);
gchar* (*get_xml_type)(AgsPlugin *plugin);
void (*set_xml_type)(AgsPlugin *plugin, gchar *xml_type);
GList* (*get_ports)(AgsPlugin *plugin);
void (*set_ports)(AgsPlugin *plugin, GList *ports);
void (*read)(AgsFile *file,
xmlNode *node,
AgsPlugin *plugin);
xmlNode* (*write)(AgsFile *file,
xmlNode *parent,
AgsPlugin *plugin);
};
gchar * ags_plugin_get_build_id (AgsPlugin *plugin);
Retrieve the build id of the plugin.
|
an AgsPlugin
|
Returns : |
the plugins build id |
gchar * ags_plugin_get_name (AgsPlugin *plugin);
Retrieve the name of the plugin.
|
an AgsPlugin
|
Returns : |
the plugins name |
GList * ags_plugin_get_ports (AgsPlugin *plugin);
Retrieve the ports of the plugin.
|
an AgsPlugin
|
Returns : |
the plugins ports |
gchar * ags_plugin_get_version (AgsPlugin *plugin);
Retrieve the version of the plugin.
|
an AgsPlugin
|
Returns : |
the plugins version |
gchar * ags_plugin_get_xml_type (AgsPlugin *plugin);
Retrieve the xml type of the plugin.
|
an AgsPlugin
|
Returns : |
the plugins xml type |
void ags_plugin_read (AgsFile *file,,xmlNode *nodeAgsPlugin *plugin);
Read of file.
void ags_plugin_set_build_id (AgsPlugin *plugin,);gchar *build_id
Set the build id of the plugin.
|
an AgsPlugin
|
|
the build id of plugin |
void ags_plugin_set_name (AgsPlugin *plugin,);gchar *name
Set the name of the plugin.
|
an AgsPlugin
|
|
the name of plugin |
void ags_plugin_set_ports (AgsPlugin *plugin,);GList *ports
Set the build id of the plugin.
|
an AgsPlugin
|
|
the build id of plugin |
void ags_plugin_set_version (AgsPlugin *plugin,);gchar *version
Set the version of the plugin.
|
an AgsPlugin
|
|
the version of plugin |
void ags_plugin_set_xml_type (AgsPlugin *plugin,);gchar *xml_type
Set the build id of the plugin.
|
an AgsPlugin
|
|
the build id of plugin |