@@ -33,13 +33,11 @@ * @protocol OFXMLParserDelegate OFXMLParser.h ObjFW/OFXMLParser.h * * @brief A protocol that needs to be implemented by delegates for OFXMLParser. */ @protocol OFXMLParserDelegate -#ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional -#endif /*! * @brief This callback is called when the XML parser found processing * instructions. * * @param parser The parser which found processing instructions @@ -243,9 +241,6 @@ * @return Whether the XML parser has finished parsing */ - (bool)hasFinishedParsing; @end -@interface OFObject (OFXMLParserDelegate) -@end - OF_ASSUME_NONNULL_END