Bugzilla – Bug 1068
replace virtual method with callbacks
Last modified: 2011-07-06 18:52:17 UTC
virtual method NotifyDeviceAdded really should be private? Perhaps it would be better to make it protected?
(In reply to comment #0) > virtual method NotifyDeviceAdded really should be private? Perhaps it would be > better to make it protected? a private virtual method can be overriden by subclasses to get the event so, not, it should not be protected. However, this code is really old and comes from the Node-as-base-class design we had a long time ago. I have been using the attached patch for a while so, I committed it together with a removal of the virtual keyword.
Created attachment 1191 [details] patch to replace virtual method with callbacks
changeset e440347eff27