PhABResExportFull_t.answer_changes()

A function exported by PhAB to answer a call to a ResPluginAnyChangesF_t function

Synopsis:

void answer_changes  (
  PhABHandle_t phab,
  int answer,
  int n,
  void *pvalue )

Arguments:

phab
A handle, provided by PhAB as the phab argument when the plugin is created with ResPluginFrugalCreateF_t or ResPluginFullCreateF_t.
answer
Specifies whether the resource editor contains changes. Can be:
n
The new value. Its value depends on the datatype.
value
The new value. Its value depends on the datatype.

Description:

This function is exported from PhAB in the PhABResExportFull_t structure

This function is called from the full resource editor after the editor returns RESPLUGIN_WAIT to a call to the function defined by ResPluginAnyChangesF_t from PhAB. It should specify whether the editor contains any changes to its data. If there are changes, the plugin should use n and value to pass the new data back to PhAB.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhABResExportFull_t, ResPluginAnyChangesF_t, ResPluginFrugalCreateF_t, ResPluginFullCreateF_t.