]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/macnotfy.h
adding an autorelease capability (got weird crashes when deleting tools from a toolba...
[wxWidgets.git] / include / wx / mac / carbon / macnotfy.h
CommitLineData
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
14extern "C" {
15#endif /* __cplusplus */
16
17typedef void (*wxMacNotificationProcPtr)(unsigned long event , void* data ) ;
18
19typedef void *wxMacNotifierTableRef ;
20void wxMacCreateNotifierTable() ;
21void wxMacDestroyNotifierTable() ;
22wxMacNotifierTableRef wxMacGetNotifierTable() ;
23void wxMacAddEvent( wxMacNotifierTableRef table , wxMacNotificationProcPtr handler , unsigned long event , void* data , short wakeUp ) ;
8cf73271
SC
24void wxMacProcessNotifierEvents() ;
25void wxMacProcessNotifierAndPendingEvents() ;
26void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ;
27
28#ifdef __cplusplus
29}
30#endif /* __cplusplus */
31
0856acc6 32#endif /* MAC_NOTIFYERS */