+ void CommonModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
+ void DefaultModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
+
+ // set to false to avoid idling at unexpected moments - eg when having native message boxes
+ void SetProcessIdleEvents(bool process) { m_processIdleEvents = process; }
+
+ static void OSXCommonModeObserverCallBack(CFRunLoopObserverRef observer, int activity, void *info);
+ static void OSXDefaultModeObserverCallBack(CFRunLoopObserverRef observer, int activity, void *info);
+