Clean up properties.

This commit is contained in:
Jonathan Schleifer 2012-02-03 09:04:54 +01:00
parent 753757e1cb
commit 3d5d7564a7
3 changed files with 14 additions and 14 deletions

View file

@ -86,9 +86,9 @@
@property (copy) OFString *username, *password, *server, *domain, *resource; @property (copy) OFString *username, *password, *server, *domain, *resource;
@property (copy) OFString *privateKeyFile, *certificateFile; @property (copy) OFString *privateKeyFile, *certificateFile;
@property (copy, readonly) XMPPJID *JID; @property (copy, readonly) XMPPJID *JID;
@property (assign) uint16_t port; @property uint16_t port;
@property (readonly, retain, getter=socket) OFTCPSocket *sock; @property (readonly, retain, getter=socket) OFTCPSocket *sock;
@property (assign) BOOL encryptionRequired; @property BOOL encryptionRequired;
@property (readonly) BOOL encrypted; @property (readonly) BOOL encrypted;
@property (readonly) BOOL streamOpen; @property (readonly) BOOL streamOpen;
#endif #endif

View file

@ -35,7 +35,7 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// The connection the exception relates to /// The connection the exception relates to
@property (readonly, nonatomic) XMPPConnection *connection; @property (readonly, assign) XMPPConnection *connection;
#endif #endif
/** /**
@ -74,9 +74,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// The defined error condition specified by the stream error /// The defined error condition specified by the stream error
@property (readonly, nonatomic) OFString *condition; @property (readonly, assign) OFString *condition;
/// The descriptive free-form text specified by the stream error /// The descriptive free-form text specified by the stream error
@property (readonly, nonatomic) OFString *reason; @property (readonly, assign) OFString *reason;
#endif #endif
/** /**
@ -123,9 +123,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// The name of the stringprep profile that did not apply /// The name of the stringprep profile that did not apply
@property (readonly, nonatomic) OFString *profile; @property (readonly, assign) OFString *profile;
/// The string that failed the stringprep profile /// The string that failed the stringprep profile
@property (readonly, nonatomic) OFString *string; @property (readonly, assign) OFString *string;
#endif #endif
/** /**
@ -171,9 +171,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// The IDNA translation operation which failed /// The IDNA translation operation which failed
@property (readonly, nonatomic) OFString *operation; @property (readonly, assign) OFString *operation;
/// The string that could not be translated /// The string that could not be translated
@property (readonly, nonatomic) OFString *string; @property (readonly, assign) OFString *string;
#endif #endif
/** /**
@ -218,7 +218,7 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// The reason the authentication failed /// The reason the authentication failed
@property (readonly, nonatomic) OFString *reason; @property (readonly, assign) OFString *reason;
#endif #endif
/** /**

View file

@ -36,10 +36,10 @@
} }
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
@property (readonly, assign) uint16_t priority; @property (readonly) uint16_t priority;
@property (readonly, assign) uint16_t weight; @property (readonly) uint16_t weight;
@property (assign) uint32_t accumulatedWeight; @property uint32_t accumulatedWeight;
@property (readonly, assign) uint16_t port; @property (readonly) uint16_t port;
@property (readonly, copy) OFString *target; @property (readonly, copy) OFString *target;
#endif #endif