@@ -67,17 +67,14 @@ * @brief This protocol is implemented by classes which can be observed for * readiness for reading by OFKernelEventObserver. */ @protocol OFReadyForReadingObserving /*! - * @brief Returns the file descriptor for reading that should be checked by the - * OFKernelEventObserver. - * - * @return The file descriptor for reading that should be checked by the - * OFKernelEventObserver + * The file descriptor for reading that should be checked by the + * OFKernelEventObserver. */ -- (int)fileDescriptorForReading; +@property (readonly, nonatomic) int fileDescriptorForReading; @end /*! * @protocol OFReadyForWritingObserving * OFKernelEventObserver.h ObjFW/OFKernelEventObserver.h @@ -85,17 +82,14 @@ * @brief This protocol is implemented by classes which can be observed for * readiness for writing by OFKernelEventObserver. */ @protocol OFReadyForWritingObserving /*! - * @brief Returns the file descriptor for writing that should be checked by the - * OFKernelEventObserver. - * - * @return The file descriptor for writing that should be checked by the - * OFKernelEventObserver + * The file descriptor for writing that should be checked by the + * OFKernelEventObserver. */ -- (int)fileDescriptorForWriting; +@property (readonly, nonatomic) int fileDescriptorForWriting; @end /*! * @class OFKernelEventObserver * OFKernelEventObserver.h ObjFW/OFKernelEventObserver.h