02-23-2023, 04:22 AM
Hi
I would like to program some actions when the user clicks the Export button in the File menu and after do the export.
Here the code in plugin startup function:
However breakpoint doesn't hit the callback function after actions.
For example, notifiers with the types 'NewCommandPreNotifierType' & ''NewCommandPostNotifierType' work well.
Could you help please?
Thanks, Illia
I would like to program some actions when the user clicks the Export button in the File menu and after do the export.
Here the code in plugin startup function:
Code:
hdi::core::Notifier preNotifier(hdi::core::ExportCommandPreNotifierType, HDI_CORE_CALLBACK(class, &obj, func));
__corePlug->dispatcher()->registerNotifier(preNotifier);
hdi::core::Notifier postNotifier(hdi::core::ExportCommandPostNotifierType, HDI_CORE_CALLBACK(class, &obj, func));
__corePlug->dispatcher()->registerNotifier(postNotifier);
However breakpoint doesn't hit the callback function after actions.
For example, notifiers with the types 'NewCommandPreNotifierType' & ''NewCommandPostNotifierType' work well.
Could you help please?
Thanks, Illia