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