@@ -351,10 +351,24 @@ * @brief Returns whether the object is a proxy object. * * @return A boolean whether the object is a proxy object */ - (bool)isProxy; + +/*! + * @brief Returns whether the class allows weak references. + * + * @return Whether the class allows weak references + */ +- (bool)allowsWeakReference; + +/*! + * @brief Retain a weak reference to this object. + * + * @return Whether a weak reference to this object has been retained + */ +- (bool)retainWeakReference; @end /*! * @class OFObject OFObject.h ObjFW/OFObject.h *