]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mac/carbon/macnotfy.h
wxTheColourDatabase->Find() can fail.
[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#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 ) ;
24void wxMacProcessNotifierEvents() ;
25void wxMacProcessNotifierAndPendingEvents() ;
26void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data ) ;
27
28#ifdef __cplusplus
29}
30#endif /* __cplusplus */
31
32#endif /* MAC_NOTIFYERS */