Skip to content

Instantly share code, notes, and snippets.

@jeffomatic
Created August 7, 2012 03:06
Show Gist options
  • Save jeffomatic/3280983 to your computer and use it in GitHub Desktop.
Save jeffomatic/3280983 to your computer and use it in GitHub Desktop.
blog: jl_signal, code: id-based event example
class ExampleObserver : public EventObserver
{
...
virtual void HandleEvent( Event e )
{
switch ( e.id )
{
case eAppEvent_Click:
...
break;
case eAppEvent_WindowClose:
...
break;
...
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment