> I just thought of another solution as I'm typing this. We could make > a generic class ("csWeakEventHandler"?) to act as an indirector and > write a helper function ("RegisterWeakListener"?) that does the usual > subscription but indirected through "csWeakEventHandler". The use of > the "csWeakEventHandler" would be invisible to the user. This way > classes wouldn't be pseudo-embedding (both redundant work and looking > confusingly like true embedding), but it wouldn't have to change the > internals of the event system. I can provide code excepts if this > description isn't clear enough.
Ok, code samples would be nice. Greetings, -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Crystal-main mailing list Crystal-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]