3 // XXX If there is a constructor needed for this class make sure that it is
4 // called with a priority higher than JDB_MODULE_INIT_PRIO!
8 friend class Jdb_handler_queue;
11 Jdb_handler( void (*handler)() ) : handler(handler), next(0) {}
12 void execute() { handler(); }
19 class Jdb_handler_queue
29 Jdb_handler_queue::add (Jdb_handler *handler)
31 handler->next = first;
37 Jdb_handler_queue::execute () const
39 Jdb_handler *h = first;