C-Pluff C API  0.2.0
Data Fields
cp_extension_t Struct Reference

Extension structure captures information about an extension. More...

Collaboration diagram for cp_extension_t:
Collaboration graph
[legend]

Data Fields

cp_plugin_info_tplugin
 A pointer to plug-in information containing this extension. More...
 
char * ext_point_id
 The unique identifier of the extension point this extension is attached to. More...
 
char * local_id
 An optional local identifier uniquely identifying the extension within the host plug-in. More...
 
char * identifier
 An optional unique identifier of the extension. More...
 
char * name
 An optional extension name. More...
 
cp_cfg_element_tconfiguration
 Extension configuration starting with the extension element. More...
 

Detailed Description

Extension structure captures information about an extension.

Extension structures are contained in cp_plugin_info_t::extensions.

Field Documentation

◆ plugin

A pointer to plug-in information containing this extension.

This reverse pointer is provided to make it easy to get information about the plug-in which is hosting a particular extension.

◆ ext_point_id

char* ext_point_id

The unique identifier of the extension point this extension is attached to.

This corresponds to the point attribute of an extension element in a plug-in descriptor.

◆ local_id

char* local_id

An optional local identifier uniquely identifying the extension within the host plug-in.

NULL if not available. This corresponds to the id attribute of an extension element in a plug-in descriptor.

◆ identifier

char* identifier

An optional unique identifier of the extension.

NULL if not available. This is automatically constructed by concatenating the identifier of the host plug-in and the local identifier of the extension.

◆ name

char* name

An optional extension name.

NULL if not available. The extension name is intended for display purposes only and the value can be localized. This corresponds to the name attribute of an extension element in a plug-in descriptor.

◆ configuration

cp_cfg_element_t* configuration

Extension configuration starting with the extension element.

This includes extension configuration information as a tree of configuration elements. These correspond to the extension element and its contents in a plug-in descriptor.


The documentation for this struct was generated from the following file:

Generated on Fri May 1 2020 01:06:58 for C-Pluff C API by doxygen 1.8.13