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