Ability to detect event implementation

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Mar 30, 2012, 12:45:08 PM3/30/12
to In-Portal Development
In-Portal uses events to transfer information between different system components and implement loose coupling approach in development.

When user/developer tries to call event, that doesn't exist he sees fatal error.

However I recently was in a need to detect if event exists without actually calling it. And I've created kApplication::eventImplemented method (see attached patch) to do the job.


Ready for testing.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
event_implementation_detection.patch

Phil

unread,
Mar 30, 2012, 2:13:07 PM3/30/12
to in-por...@googlegroups.com
sounds interesting feature...

Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)

> Pièces jointes :
> - event_implementation_detection.patch
>

Reply all
Reply to author
Forward
0 new messages