MiragePlugin

MiragePlugin — Plugin object.

Synopsis


#include <mirage-plugin.h>

                    MiragePlugin;
                    MiragePluginClass;
MiragePlugin *      mirage_plugin_new                   (const gchar *filename);

Object Hierarchy

  GObject
   +----GTypeModule
         +----MiragePlugin

Implemented Interfaces

MiragePlugin implements GTypePlugin.

Properties

  "filename"                 gchar*                : Read / Write / Construct Only

Description

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.

Details

MiragePlugin

typedef struct _MiragePlugin MiragePlugin;

All the fields in the MiragePlugin structure are private to the MiragePlugin implementation and should never be accessed directly.


MiragePluginClass

typedef struct {
    GTypeModuleClass parent_class;
} MiragePluginClass;

The class structure for the MiragePlugin type.

GTypeModuleClass parent_class;

the parent class

mirage_plugin_new ()

MiragePlugin *      mirage_plugin_new                   (const gchar *filename);

Creates new plugin.

filename :

plugin's filename. in.

Returns :

a new MiragePlugin object that represents plugin. It should be released with g_object_unref() when no longer needed.

Property Details

The "filename" property

  "filename"                 gchar*                : Read / Write / Construct Only

The filename of the module.

Default value: NULL

See Also

#MirageParser, MirageWriter, MirageFilterStream