@ -94,10 +94,17 @@ class Kaleidoscope_ {
static void replaceLoopHook ( loopHook oldHook , loopHook newHook ) ;
static void replaceLoopHook ( loopHook oldHook , loopHook newHook ) ;
static void appendLoopHook ( loopHook hook ) ;
static void appendLoopHook ( loopHook hook ) ;
static void useLoopHook ( loopHook hook ) ;
static void useLoopHook ( loopHook hook ) ;
static bool focusHook ( const char * command ) ;
} ;
} ;
extern Kaleidoscope_ Kaleidoscope ;
extern Kaleidoscope_ Kaleidoscope ;
# define FOCUS_HOOK_KALEIDOSCOPE FOCUS_HOOK(Kaleidoscope.focusHook, \
" layer.on \n " \
" layer.off \n " \
" layer.getState " )
/* -- DEPRECATED aliases; remove them when there are no more users. -- */
/* -- DEPRECATED aliases; remove them when there are no more users. -- */
# define event_handler_hook_use(hook) Kaleidoscope.useEventHandlerHook(hook);
# define event_handler_hook_use(hook) Kaleidoscope.useEventHandlerHook(hook);