@@ -148,37 +148,38 @@ /** * Sets the delegate the OFXMLParser should use. * * \param delegate The delegate to use */ -- setDelegate: (OFObject *)delegate; +- (void)setDelegate: (OFObject *)delegate; /** * Parses a buffer with the specified size. * * \param buf The buffer to parse * \param size The size of the buffer */ -- parseBuffer: (const char*)buf - withSize: (size_t)size; +- (void)parseBuffer: (const char*)buf + withSize: (size_t)size; @end /** * \brief A category for unescaping XML in strings. */ @interface OFString (OFXMLUnescaping) /** * Unescapes XML in the string. */ -- stringByXMLUnescaping; +- (OFString*)stringByXMLUnescaping; /** * Unescapes XML in the string and uses the specified handler for unknown * entities. * * \param h An OFXMLUnescapingDelegate as a handler for unknown entities */ -- stringByXMLUnescapingWithHandler: (OFObject *)h; +- (OFString*)stringByXMLUnescapingWithHandler: + (OFObject *)h; @end @interface OFObject (OFXMLParserDelegate) @end