Top |
gchar * | ags_plugin_get_name () |
void | ags_plugin_set_name () |
gchar * | ags_plugin_get_version () |
void | ags_plugin_set_version () |
gchar * | ags_plugin_get_build_id () |
void | ags_plugin_set_build_id () |
gchar * | ags_plugin_get_xml_type () |
void | ags_plugin_set_xml_type () |
GList * | ags_plugin_get_ports () |
void | ags_plugin_set_ports () |
void | ags_plugin_read () |
xmlNode * | ags_plugin_write () |
#define | AGS_IS_PLUGIN() |
#define | AGS_IS_PLUGIN_INTERFACE() |
#define | AGS_PLUGIN() |
#define | AGS_PLUGIN_GET_INTERFACE() |
#define | AGS_PLUGIN_INTERFACE() |
GType | ags_plugin_get_type () |
The AgsPlugin interface gives you a unique access to classes. It can be used by AgsFile and solves some of the serialization.
gchar *
ags_plugin_get_name (AgsPlugin *plugin
);
Retrieve the name of the plugin.
Since: 3.0.0
void ags_plugin_set_name (AgsPlugin *plugin
,gchar *name
);
Set the name of the plugin.
Since: 3.0.0
gchar *
ags_plugin_get_version (AgsPlugin *plugin
);
Retrieve the version of the plugin.
Since: 3.0.0
void ags_plugin_set_version (AgsPlugin *plugin
,gchar *version
);
Set the version of the plugin.
Since: 3.0.0
gchar *
ags_plugin_get_build_id (AgsPlugin *plugin
);
Retrieve the build id of the plugin.
Since: 3.0.0
void ags_plugin_set_build_id (AgsPlugin *plugin
,gchar *build_id
);
Set the build id of the plugin.
Since: 3.0.0
gchar *
ags_plugin_get_xml_type (AgsPlugin *plugin
);
Retrieve the xml type of the plugin.
Since: 3.0.0
void ags_plugin_set_xml_type (AgsPlugin *plugin
,gchar *xml_type
);
Set the build id of the plugin.
Since: 3.0.0
GList *
ags_plugin_get_ports (AgsPlugin *plugin
);
Retrieve the ports of the plugin.
Since: 3.0.0
void ags_plugin_set_ports (AgsPlugin *plugin
,GList *ports
);
Set the build id of the plugin.
Since: 3.0.0
void ags_plugin_read (GObject *file
,xmlNode *node
,AgsPlugin *plugin
);
Read of file.
Since: 3.0.0
xmlNode * ags_plugin_write (GObject *file
,xmlNode *parent
,AgsPlugin *plugin
);
Write to file.
Since: 3.0.0
#define AGS_IS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PLUGIN))
#define AGS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN, AgsPlugin))
#define AGS_PLUGIN_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PLUGIN, AgsPluginInterface))
#define AGS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PLUGIN, AgsPluginInterface))
struct AgsPluginInterface { GTypeInterface ginterface; 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)(GObject *file, xmlNode *node, AgsPlugin *plugin); xmlNode* (*write)(GObject *file, xmlNode *parent, AgsPlugin *plugin); };