| libMirage Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <mirage-plugin.h>
MiragePlugin;
MiragePluginClass;
MiragePlugin * mirage_plugin_new (const gchar *filename);
MiragePlugin object is a base object of libMirage's plugin system and derives from GTypeModule. It provides support for loadable modules that contain implementations of image parsers, image writers and/or filter streams.
The plugin system is used internally by libMirage, and should generally not be used elsewhere.
typedef struct _MiragePlugin MiragePlugin;
All the fields in the MiragePlugin structure are private to the MiragePlugin implementation and should never be accessed directly.
typedef struct {
GTypeModuleClass parent_class;
} MiragePluginClass;
The class structure for the MiragePlugin type.
GTypeModuleClass |
the parent class |
MiragePlugin * mirage_plugin_new (const gchar *filename);
Creates new plugin.
|
plugin's filename. in. |
Returns : |
a new MiragePlugin object that represents plugin. It should be
released with g_object_unref() when no longer needed.
|
"filename" property"filename" gchar* : Read / Write / Construct Only
The filename of the module.
Default value: NULL