Private class?

PA petite.abeille at gmail.com
Thu Apr 21 09:26:37 EDT 2005


On Apr 21, 2005, at 15:13, codecraig wrote:

> ...so that is what I am thinking.  However, i guess my issue is how to
> make EventBus a singleton or prevent it from being instaniated and
> making it's methods statically accessible.

Not directly related to your question, but... you may want to take a  
look at NSNotification & Co. for, er, inspiration :)

"Introduction to Notifications"
http://developer.apple.com/documentation/Cocoa/Conceptual/ 
Notifications/index.html

Here is a -gasp- Java implementation as well:

http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZFoundation/ 
SZNotification.java

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/




More information about the Python-list mailing list