]>
Commit | Line | Data |
---|---|---|
8cf73271 SC |
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 | |
e17206f7 VS |
12 | |
13 | #include "wx/dlimpexp.h" | |
14 | ||
8cf73271 SC |
15 | #ifdef __cplusplus |
16 | extern "C" { | |
17 | #endif /* __cplusplus */ | |
18 | ||
19 | typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ; | |
20 | ||
21 | typedef void *wxMacNotifierTableRef ; | |
e17206f7 VS |
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 ) ; | |
8cf73271 SC |
29 | |
30 | #ifdef __cplusplus | |
31 | } | |
32 | #endif /* __cplusplus */ | |
33 | ||
0856acc6 | 34 | #endif /* MAC_NOTIFYERS */ |