Overview
Comment: | Use OF_SETTER/OF_GETTER. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
220daa147dc1d92e6c253dbb635e1e4a |
User & Date: | js on 2012-01-04 22:25:59 |
Other Links: | manifest | tags |
Context
2012-01-06
| ||
19:18 | Merge XMPP*Callback into a single class check-in: 0b4222d5e4 user: florob@babelmonkeys.de tags: trunk | |
2012-01-04
| ||
22:25 | Use OF_SETTER/OF_GETTER. check-in: 220daa147d user: js tags: trunk | |
2012-01-01
| ||
02:42 | Add capability to register callbacks when sending IQs check-in: 9815ad146d user: florob@babelmonkeys.de tags: trunk | |
Changes
Modified src/XMPPAuthenticator.m from [e5f2fd7299] to [24df938575].
︙ | ︙ | |||
37 38 39 40 41 42 43 | - initWithAuthzid: (OFString*)authzid_ authcid: (OFString*)authcid_ password: (OFString*)password_ { self = [super init]; | > | | | > > > > | < < | | < < | | < < | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | - initWithAuthzid: (OFString*)authzid_ authcid: (OFString*)authcid_ password: (OFString*)password_ { self = [super init]; @try { authzid = [authzid_ copy]; authcid = [authcid_ copy]; password = [password_ copy]; } @catch (id e) { [self release]; @throw e; } return self; } - (void)dealloc { [authzid release]; [authcid release]; [password release]; [super dealloc]; } - (void)setAuthzid: (OFString*)authzid_ { OF_SETTER(authzid, authzid_, YES, YES) } - (OFString*)authzid { OF_GETTER(authzid, YES) } - (void)setAuthcid: (OFString*)authcid_ { OF_SETTER(authcid, authcid_, YES, YES) } - (OFString*)authcid { OF_GETTER(authcid, YES) } - (void)setPassword: (OFString*)password_ { OF_SETTER(password, password_, YES, YES) } - (OFString*)password { OF_GETTER(password, YES) } - (OFDataArray*)initialMessage { return nil; } - (OFDataArray*)continueWithData: (OFDataArray*)challenge { return nil; } @end |