ResPlugin_t

A structure that defines all the resource editor plugins in a DLL

Synopsis:

typedef struct ResPlugin_ {
ResPluginLoadingF_t *loading;
ResPluginUnloadingF_t *unloading;
int n_full_editors;
const ResPluginFullEditor_t* full_editors;
int n_frugal_editors;
const ResPluginFrugalEditor_t* frugal_editors;
} ResPlugin_t;

Description:

This structure defines the resource editor plugins in a DLL. An instance of this structure is pointed to by the tab member of the AOInterfaces_t interfaces array.

The members are:

loading
A pointer to a ResPluginLoadingF_t function for the DLL, which is executed after the DLL is loaded into PhAB's memory space.
unloading
A pointer to a ResPluginUnloadingF_t function for the DLL, which is executed just before the DLL is unloaded from PhAB's memory space.
n_full_editors
The number of entries in the full_editors array.
n_frugal_editors
The number of entries in the frugal_editors array
full_editors
An array of ResPluginFullEditor_t structures. Each structure in the array defines the API for a full resource editor in the DLL.
frugal_editors
An array of ResPluginFrugalEditor_t structures. Each structure in the array defines the API for a frugal resource editor in the DLL.

Classification:

Photon

See also:

ResPluginLoadingF_t, ResPluginFullEditor_t, ResPluginFrugalEditor_t, ResPluginUnloadingF_t.