Differences From Artifact [cdfadcf2ee]:
- File src/OFStreamObserver.h — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 5814) [annotate] [blame] [check-ins using]
To Artifact [36adc90c29]:
- File
src/OFStreamObserver.h
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 5814) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
173 174 175 176 177 178 179 | /*! * @brief Observes all streams until an event happens on a stream or the * timeout is reached. * * @param timeout The time to wait for an event, in seconds * @return A boolean whether events occurred during the timeinterval */ | | | | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | /*! * @brief Observes all streams until an event happens on a stream or the * timeout is reached. * * @param timeout The time to wait for an event, in seconds * @return A boolean whether events occurred during the timeinterval */ - (bool)observeWithTimeout: (double)timeout; /*! * @brief Cancels the currently blocking observe call. * * This is automatically done when a new stream is added or removed by another * thread, but in some circumstances, it might be desirable for a thread to * manually stop the observe running in another thread. */ - (void)cancel; - (void)OF_addFileDescriptorForReading: (int)fd; - (void)OF_addFileDescriptorForWriting: (int)fd; - (void)OF_removeFileDescriptorForReading: (int)fd; - (void)OF_removeFileDescriptorForWriting: (int)fd; - (void)OF_processQueue; - (bool)OF_processCache; @end @interface OFObject (OFStreamObserverDelegate) <OFStreamObserverDelegate> @end |