Port to ObjC 1.

This commit is contained in:
Jonathan Schleifer 2011-03-29 03:46:20 +02:00
parent 50012ba975
commit 5b16eaa1f0
19 changed files with 468 additions and 204 deletions

View file

@ -27,16 +27,19 @@
*/
@interface XMPPAuthenticator: OFObject
{
/// The authzid to get authorization for
OFString *authzid;
/// The authcid to authenticate with
OFString *authcid;
/// The password to authenticate with
OFString *password;
}
#ifdef OF_HAVE_PROPERTIES
/// The authzid to get authorization for
@property (copy) OFString *authzid;
/// The authcid to authenticate with
@property (copy) OFString *authcid;
/// The password to authenticate with
@property (copy) OFString *password;
#endif
/**
* Initializes an already allocated XMPPAuthenticator with an authcid
@ -79,4 +82,11 @@
* \param message The servers final message
*/
- (void)parseServerFinalMessage: (OFDataArray*)message;
- (void)setAuthzid: (OFString*)authzid;
- (OFString*)authzid;
- (void)setAuthcid: (OFString*)authcid;
- (OFString*)authcid;
- (void)setPassword: (OFString*)password;
- (OFString*)password;
@end