19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "XMPPDiscoIdentity.h"
@implementation XMPPDiscoIdentity
+ identityWithCategory: (OFString*)category
type: (OFString*)type
name: (OFString*)name
{
return [[[self alloc] initWithCategory: category
type: type
name: name] autorelease];
}
+ identityWithCategory: (OFString*)category
type: (OFString*)type
{
return [[[self alloc] initWithCategory: category
type: type] autorelease];
}
- initWithCategory: (OFString*)category
type: (OFString*)type
|
|
|
|
|
|
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "XMPPDiscoIdentity.h"
@implementation XMPPDiscoIdentity
+ (instancetype)identityWithCategory: (OFString*)category
type: (OFString*)type
name: (OFString*)name
{
return [[[self alloc] initWithCategory: category
type: type
name: name] autorelease];
}
+ (instancetype)identityWithCategory: (OFString*)category
type: (OFString*)type
{
return [[[self alloc] initWithCategory: category
type: type] autorelease];
}
- initWithCategory: (OFString*)category
type: (OFString*)type
|