]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/macnotfy.h
wxMac compilation fixes for visibility (missing DLL export macros)
[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 #include "wx/dlimpexp.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18
19 typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ;
20
21 typedef void *wxMacNotifierTableRef ;
22 WXDLLIMPEXP_BASE void wxMacCreateNotifierTable() ;
23 WXDLLIMPEXP_BASE void wxMacDestroyNotifierTable() ;
24 WXDLLIMPEXP_BASE wxMacNotifierTableRef wxMacGetNotifierTable() ;
25 WXDLLIMPEXP_BASE void wxMacAddEvent( wxMacNotifierTableRef table , wxMacNotificationProcPtr handler , unsigned long event , void* data , short wakeUp ) ;
26 WXDLLIMPEXP_BASE void wxMacProcessNotifierEvents() ;
27 WXDLLIMPEXP_BASE void wxMacProcessNotifierAndPendingEvents() ;
28 WXDLLIMPEXP_BASE void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ;
29
30 #ifdef __cplusplus
31 }
32 #endif /* __cplusplus */
33
34 #endif /* MAC_NOTIFYERS */