@@ -1,9 +1,10 @@ /* * Copyright (c) 2013, Florian Zeitz + * Copyright (c) 2013, 2016, Jonathan Schleifer * - * https://webkeks.org/git/?p=objxmpp.git + * https://heap.zone/git/?p=objxmpp.git * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice is present in all copies. * @@ -27,18 +28,17 @@ */ @interface XMPPDiscoIdentity: OFObject { OFString *_category, *_name, *_type; } -#ifdef OF_HAVE_PROPERTIES + /// \brief The category of the identity @property (readonly) OFString *category; /// \brief The name of the identity, might be unset @property (readonly) OFString *name; /// \brief The type of the identity @property (readonly) OFString *type; -#endif /** * \brief Creates a new autoreleased XMPPDiscoIdentity with the specified * category, type and name. * @@ -83,10 +83,6 @@ * \param type The type of the identity * \return An initialized XMPPDiscoIdentity */ - initWithCategory: (OFString*)category type: (OFString*)type; - -- (OFString*)category; -- (OFString*)name; -- (OFString*)type; @end