03-04-2023, 12:16 PM
Hi, Illia, I'm just another user, but have been using notifiers for quite a while. Is the code you showed exactly as it appears in your plugin? If your plugin's main class were named "exporter" and you had a callback function defined as void preExportFunc() then your code should look something like this.
-- Rick
Code:
hdi::core::Notifier preNotifier(hdi::core::ExportCommandPreNotifierType,
HDI_CORE_CALLBACK(exporter::Plugin, this, preExportFunc));
__corePlug->dispatcher()->registerNotifier(preNotifier);
-- Rick