1 // core/event.cc -- EventDispatcher
3 // This software is copyright (c) 2006 Scott Wood <scott@buserror.net>.
5 // This software is provided 'as-is', without any express or implied warranty.
6 // In no event will the authors or contributors be held liable for any damages
7 // arising from the use of this software.
9 // Permission is hereby granted to everyone, free of charge, to use, copy,
10 // modify, prepare derivative works of, publish, distribute, perform,
11 // sublicense, and/or sell copies of the Software, provided that the above
12 // copyright notice and disclaimer of warranty be included in all copies or
13 // substantial portions of this software.
16 #include <kern/event.h>
19 void EventTrigger::notify(VStruct *info)
23 void EventDispatcher::setup_trigger(Event *event, Notifier *trigger)
27 void EventDispatcher::setup_sync_trigger(Event *event, SyncNotifier *trigger)
31 class KFuncTrigger : public EventTrigger
36 void EventDispatcher::setup_kfunc_event(KFunc func, SyncNotifier *trigger)