MIRAGE_Plugin object

MIRAGE_Plugin object — Plugin object

Synopsis


#include <mirage.h>

                    MIRAGE_Plugin;
MIRAGE_Plugin *     mirage_plugin_new                   (const gchar *filename);

Object Hierarchy

  GObject
   +----GTypeModule
         +----MIRAGE_Plugin

Implemented Interfaces

MIRAGE_Plugin implements GTypePlugin.

Properties

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

Description

MIRAGE_Plugin object is a base object of libMirage's plugin system and derives from GTypeModule. It provides support for loadable modules that contain either image parser or fragment implementations.

The plugin system is used internally by libMirage, and should generally not be used elsewhere.

Details

MIRAGE_Plugin

typedef struct _MIRAGE_Plugin MIRAGE_Plugin;

Contains private data only, and should be accessed using the functions below.


mirage_plugin_new ()

MIRAGE_Plugin *     mirage_plugin_new                   (const gchar *filename);

Creates new plugin.

filename :

plugin's filename

Returns :

a new MIRAGE_Plugin 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

MIRAGE_Parser, MIRAGE_Fragment