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