so... i have... had... a brainfart

wouldn't it be good to add supported callbacks into the .eo files? why?
1. documentation can easily list callbacks supported from the .eo file
2. ide's etc. can properly tab-complete on supported callbacks only
3. could have a linter that you run over your code telling you if you
registered for a non-supported callback.
4. it can generate the callback description bits in the c files...

i know that we can call arbitrary callbacks on any object and hook callback
handlers to them - this is insanely useful to use a n object as a
broadcast/delivery mechanism for an event, so you should be allowed to hook
cb's to objects that don't strictly support it, it just would be a warning.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to