]>
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 | |
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 ) ; | |
8cf73271 SC |
24 | void wxMacProcessNotifierEvents() ; |
25 | void wxMacProcessNotifierAndPendingEvents() ; | |
26 | void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ; | |
27 | ||
28 | #ifdef __cplusplus | |
29 | } | |
30 | #endif /* __cplusplus */ | |
31 | ||
32 | #endif /* MAC_NOTIFYERS */ |