24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# include <windows.h>
#endif
@class OFStream;
@class OFMutableArray;
@class OFMutableDictionary;
@class OFDataArray;
@class OFMutex;
/*!
* @brief A protocol that needs to be implemented by delegates for
* OFStreamObserver.
*/
@protocol OFStreamObserverDelegate <OFObject>
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
|
>
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# include <windows.h>
#endif
@class OFStream;
@class OFMutableArray;
@class OFMutableDictionary;
@class OFDataArray;
#ifdef OF_THREADS
@class OFMutex;
#endif
/*!
* @brief A protocol that needs to be implemented by delegates for
* OFStreamObserver.
*/
@protocol OFStreamObserverDelegate <OFObject>
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
OFMutableArray *queue;
OFDataArray *queueInfo, *queueFDs;
id <OFStreamObserverDelegate> delegate;
int cancelFD[2];
#ifdef _WIN32
struct sockaddr_in cancelAddr;
#endif
OFMutex *mutex;
}
#ifdef OF_HAVE_PROPERTIES
@property (assign) id <OFStreamObserverDelegate> delegate;
#endif
/*!
|
>
>
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
OFMutableArray *queue;
OFDataArray *queueInfo, *queueFDs;
id <OFStreamObserverDelegate> delegate;
int cancelFD[2];
#ifdef _WIN32
struct sockaddr_in cancelAddr;
#endif
#ifdef OF_THREADS
OFMutex *mutex;
#endif
}
#ifdef OF_HAVE_PROPERTIES
@property (assign) id <OFStreamObserverDelegate> delegate;
#endif
/*!
|