2004-03-23 12:35:05 -05:00
|
|
|
/* -------------------------------------------------------------------------
|
|
|
|
* Project: Mac Notifier Support
|
|
|
|
* Name: macnotfy.h
|
|
|
|
* Author: Stefan CSomor
|
|
|
|
* Purpose: Mac Notifier include file
|
|
|
|
* CVSID: $Id$
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAC_NOTIFYERS
|
|
|
|
#define MAC_NOTIFYERS
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ;
|
|
|
|
|
|
|
|
typedef void *wxMacNotifierTableRef ;
|
|
|
|
void wxMacCreateNotifierTable() ;
|
|
|
|
void wxMacDestroyNotifierTable() ;
|
|
|
|
wxMacNotifierTableRef wxMacGetNotifierTable() ;
|
|
|
|
void wxMacAddEvent( wxMacNotifierTableRef table , wxMacNotificationProcPtr handler , unsigned long event , void* data , short wakeUp ) ;
|
|
|
|
void wxMacProcessNotifierEvents() ;
|
|
|
|
void wxMacProcessNotifierAndPendingEvents() ;
|
|
|
|
void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2005-02-06 06:29:39 -05:00
|
|
|
#endif /* MAC_NOTIFYERS */
|