]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/macnotfy.h
non-osx methods bracketed
[wxWidgets.git] / include / wx / mac / carbon / macnotfy.h
1 /* -------------------------------------------------------------------------
2 * Project: Mac Notifier Support
3 * Name: macnotfy.h
4 * Author: Stefan CSomor
5 * Purpose: Mac Notifier include file
6 * CVSID: $Id$
7 * -------------------------------------------------------------------------
8 */
9
10 #ifndef MAC_NOTIFYERS
11 #define MAC_NOTIFYERS
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
16
17 typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ;
18
19 typedef void *wxMacNotifierTableRef ;
20 void wxMacCreateNotifierTable() ;
21 void wxMacDestroyNotifierTable() ;
22 wxMacNotifierTableRef wxMacGetNotifierTable() ;
23 void wxMacAddEvent( wxMacNotifierTableRef table , wxMacNotificationProcPtr handler , unsigned long event , void* data , short wakeUp ) ;
24 void wxMacWakeUp() ;
25 void wxMacProcessNotifierEvents() ;
26 void wxMacProcessNotifierAndPendingEvents() ;
27 void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ;
28
29 #ifdef __cplusplus
30 }
31 #endif /* __cplusplus */
32
33 #endif /* MAC_NOTIFYERS */