ObjFW  Diff

Differences From Artifact [e6befb1e9b]:

To Artifact [140cf6aa4f]:


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@protocol OFSerialization
/*!
 * @brief Initializes the object with the specified XML element serialization.
 *
 * @param element An OFXMLElement with the serialized object
 * @return An initialized object
 */
- initWithSerialization: (OFXMLElement*)element;

/*!
 * @brief Serializes the object into an XML element.
 *
 * @return The object serialized into an XML element
 */
- (OFXMLElement*)XMLElementBySerializing;
@end

OF_ASSUME_NONNULL_END







|






|



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@protocol OFSerialization
/*!
 * @brief Initializes the object with the specified XML element serialization.
 *
 * @param element An OFXMLElement with the serialized object
 * @return An initialized object
 */
- initWithSerialization: (OFXMLElement *)element;

/*!
 * @brief Serializes the object into an XML element.
 *
 * @return The object serialized into an XML element
 */
- (OFXMLElement *)XMLElementBySerializing;
@end

OF_ASSUME_NONNULL_END