
20 Oct
2010
20 Oct
'10
3:47 p.m.
One more consideration that came up is whether or not to have the event handler class and the 'context' class (the one that hold the data for working with the native objects) should be one and the same or separate. When not using virtual functions for event handling it is obviously better to separate the two, but when using virtual functions there is not much diffrence in terms of overhead (with combining them being more the slightly better choice). Because it is so close (only one addition pointer), I was wondering if there were any advantages to still keeping them separate in term of design. Thoughts?