HDPluginItem

HDPluginItem — Base interface for plugable items.

Synopsis


#include <libhildondesktop/libhildondesktop.h>

                    HDPluginItem;
const gchar*        hd_plugin_item_get_dl_filename      (HDPluginItem *item);
gchar*              hd_plugin_item_get_plugin_id        (HDPluginItem *item);

Object Hierarchy

  GInterface
   +----HDPluginItem

Prerequisites

HDPluginItem requires GObject.

Known Implementations

HDPluginItem is implemented by HDHomePluginItem, HDStatusMenuItem and HDStatusPluginItem.

Properties

  "plugin-id"                gchar*                : Read / Write / Construct Only

Description

HDPluginItem is a base interface for plugable items. It defines the "plugin-id" property for the unique plugin ID.

And a hd_plugin_item_get_dl_filename() function which returns the filename of the dynamic library for debugging purposes.

Details

HDPluginItem

typedef struct _HDPluginItem HDPluginItem;


hd_plugin_item_get_dl_filename ()

const gchar*        hd_plugin_item_get_dl_filename      (HDPluginItem *item);

Returns the filename of the dynamic library file from which this item was loaded. Useful for debugging purposes.

item : a HDPluginItem.
Returns : filename of the dynamic library file. The result must not be freed.

hd_plugin_item_get_plugin_id ()

gchar*              hd_plugin_item_get_plugin_id        (HDPluginItem *item);

Returns the unique plugin ID of item.

item : a HDPluginItem.
Returns : the plugin ID. The result should be freed if no longer used.

Property Details

The "plugin-id" property

  "plugin-id"                gchar*                : Read / Write / Construct Only

The id to identify the plugin item.

Default value: NULL