ObjXMPP  Diff

Differences From Artifact [a0f262bf11]:

To Artifact [7a50bb3ff0]:


24
25
26
27
28
29
30
31
32
33
34

35
36
37
38
39
40
41
#import "XMPPStanza.h"

/**
 * \brief A class describing a presence stanza.
 */
@interface XMPPPresence: XMPPStanza <OFComparing>
{
	OFString *_status;
	OFString *_show;
	OFNumber *_priority;
}

#ifdef OF_HAVE_PROPERTIES
@property (copy) OFString *status;
@property (copy) OFString *show;
@property (copy) OFNumber *priority;
#endif

/**







|
<
<

>







24
25
26
27
28
29
30
31


32
33
34
35
36
37
38
39
40
#import "XMPPStanza.h"

/**
 * \brief A class describing a presence stanza.
 */
@interface XMPPPresence: XMPPStanza <OFComparing>
{
	OFString *_status, *_show, *_priority;


}

#ifdef OF_HAVE_PROPERTIES
@property (copy) OFString *status;
@property (copy) OFString *show;
@property (copy) OFNumber *priority;
#endif

/**
131
132
133
134
135
136
137
138

139
140
141
142
143
 * \brief Sets/Adds the priority element of the presence stanza.
 *
 * \param priority The numeric content of the priority element
 */
- (void)setPriority: (OFNumber*)priority;

/**
 * \brief Returns the numeric content of the priority element of the presence stanza.

 *
 * \return The numeric content of the priority element of the presence stanza.
 */
- (OFNumber*)priority;
@end







|
>





130
131
132
133
134
135
136
137
138
139
140
141
142
143
 * \brief Sets/Adds the priority element of the presence stanza.
 *
 * \param priority The numeric content of the priority element
 */
- (void)setPriority: (OFNumber*)priority;

/**
 * \brief Returns the numeric content of the priority element of the presence
 *	  stanza.
 *
 * \return The numeric content of the priority element of the presence stanza.
 */
- (OFNumber*)priority;
@end