Re: Bad news, many errors on linux
"Christian Van Brussel" <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <[email protected]> |
> Sounds weird to use the CS event system for this? I think the CS event > system is meant more > for device input. Not for plugin communication. For plugin communication > we > generally use > systems like listeners and callbacks. This is following a discussion I tried to setup in a previous mail: http://sourceforge.net/mailarchive/forum.php?thread_name=ef7d2ac633d93e87cd6f61722ad71cc2.squirrel%40mmp.sipr-dc.ucl.ac.be&forum_name=crystal-develop The fact is that listeners are quite cumbersome to use, while a generic event system allows for more adaptability of the code, especially in some context such as the cseditor where there are many different plugins communicating together. It also allows more granularity in the registration of the events to be listen to, eg registrating directly to all events generated by a category of objects instead of having to register separately to every object. That being said, I'm not at all against keeping the old listener system. Mixing both systems is clearly not a good idea, then we can keep on with the listeners. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/