formZ SDK | 5.0 API Reference | System | Plugin Manager (FZPL)

fzpl_plugin_dependency_td

Description

A plugin dependency definition. If a plugin is dependent on one or more other plugins for its operation, it will create and fill an array of these and pass it to fzpl_plugin_register. If one or more of the plugins a plugin is dependent on is not loaded, formZ can use the information in this structure to inform the user that the other plugins are needed and possibly provide information which would allow the user to obtain those plugin (vendor name and URL). formZ will also unload the plugin.


The values for the fields of this structure should be obtainable from the other plugins' public header files.

typedef struct fzpl_plugin_dependency_td {

char

prvt_data[FZPL_DEPENDENCY_DATA_SIZE];

fzrt_UUID_td

plugin_id;

char

plugin_name[FZPL_NAME_SIZE];

char

plugin_vendor_name[FZPL_NAME_SIZE];

char

plugin_URL[FZPL_URL_SIZE];

fzpl_vers_td

plugin_version };

Members

prvt_data[FZPL_DEPENDENCY_DATA_SIZE]

Private data block

plugin_id

The UUID of the plugin depended on

plugin_name[FZPL_NAME_SIZE]

The name of the plugin depended on

plugin_vendor_name[FZPL_NAME_SIZE]

The vendor name for the plugin depended on

plugin_URL[FZPL_URL_SIZE]

The vendor internet URL for the plugin depended on

plugin_version

The minimum version of the plugin required

Availability

5.0.0.0

Defined in

fzpl_plugin.h