35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/**
* @class OFNotificationCenter OFNotificationCenter.h \
* ObjFW/OFNotificationCenter.h
*
* @brief A class to send and register for notifications.
*/
@interface OFNotificationCenter: OFObject
{
#ifdef OF_HAVE_THREADS
OFMutex *_mutex;
#endif
OFMutableDictionary *_handles;
OF_RESERVE_IVARS(OFNotificationCenter, 4)
}
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic) OFNotificationCenter *defaultCenter;
#endif
/**
|
>
>
>
<
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/**
* @class OFNotificationCenter OFNotificationCenter.h \
* ObjFW/OFNotificationCenter.h
*
* @brief A class to send and register for notifications.
*/
#ifndef OF_NOTIFICATION_CENTER_M
OF_SUBCLASSING_RESTRICTED
#endif
@interface OFNotificationCenter: OFObject
{
#ifdef OF_HAVE_THREADS
OFMutex *_mutex;
#endif
OFMutableDictionary *_handles;
}
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic) OFNotificationCenter *defaultCenter;
#endif
/**
|