1/* ------------------------------------------------------------------------- 2 * Project: Mac Notifier Support 3 * Name: macnotfy.h 4 * Author: Stefan CSomor 5 * Purpose: Mac Notifier include file 6 * CVSID: $Id: macnotfy.h 31782 2005-02-06 11:29:39Z SC $ 7 * ------------------------------------------------------------------------- 8 */ 9 10#ifndef MAC_NOTIFYERS 11#define MAC_NOTIFYERS 12 13#ifdef __cplusplus 14extern "C" { 15#endif /* __cplusplus */ 16 17typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ; 18 19typedef void *wxMacNotifierTableRef ; 20void wxMacCreateNotifierTable() ; 21void wxMacDestroyNotifierTable() ; 22wxMacNotifierTableRef wxMacGetNotifierTable() ; 23void wxMacAddEvent( wxMacNotifierTableRef table , wxMacNotificationProcPtr handler , unsigned long event , void* data , short wakeUp ) ; 24void wxMacProcessNotifierEvents() ; 25void wxMacProcessNotifierAndPendingEvents() ; 26void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ; 27 28#ifdef __cplusplus 29} 30#endif /* __cplusplus */ 31 32#endif /* MAC_NOTIFYERS */ 33