Hello,
According to my understanding, INotification and IEventNotifier are supposed to be just interfaces which we implement to get various notifications.
Why do those need the MEDIAPROCESSOR_DYNAMIC_ALLOCATION macro? This macro expands to definitions of custom new and delete operators.
The problem is if someone wants derive from both INotification and IEventNotifier to have a single class which will handle all of the notifications. This gives causes the derived class to have both implementations of new and delete which in turn causes compilation errors.
Is there really a good reason for INotifcation and IEventNotifier having custom new and delete implementations?
Thanks,
Jaka
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller