03-07-2023, 05:20 AM
(This post was last modified: 03-07-2023, 05:20 AM by illia.budarov.)
(03-04-2023, 12:16 PM)Rick Johnson Wrote: 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.
Code:hdi::core::Notifier preNotifier(hdi::core::ExportCommandPreNotifierType,
HDI_CORE_CALLBACK(exporter::Plugin, this, preExportFunc));
__corePlug->dispatcher()->registerNotifier(preNotifier);
-- Rick
Hi, Rick. Thanks for reply.
I tried many options for passing arguments to the callback of the notifier constructor. I also tried your option, it didn't work either. And as I mentioned above, with other types of notifier the callback works fine.
Please tell me, does the callback with export type work for you?
Thanks, Illia