Clean up properties.
This commit is contained in:
parent
753757e1cb
commit
3d5d7564a7
3 changed files with 14 additions and 14 deletions
|
@ -86,9 +86,9 @@
|
|||
@property (copy) OFString *username, *password, *server, *domain, *resource;
|
||||
@property (copy) OFString *privateKeyFile, *certificateFile;
|
||||
@property (copy, readonly) XMPPJID *JID;
|
||||
@property (assign) uint16_t port;
|
||||
@property uint16_t port;
|
||||
@property (readonly, retain, getter=socket) OFTCPSocket *sock;
|
||||
@property (assign) BOOL encryptionRequired;
|
||||
@property BOOL encryptionRequired;
|
||||
@property (readonly) BOOL encrypted;
|
||||
@property (readonly) BOOL streamOpen;
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// The connection the exception relates to
|
||||
@property (readonly, nonatomic) XMPPConnection *connection;
|
||||
@property (readonly, assign) XMPPConnection *connection;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -74,9 +74,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// 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
|
||||
@property (readonly, nonatomic) OFString *reason;
|
||||
@property (readonly, assign) OFString *reason;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -123,9 +123,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// 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
|
||||
@property (readonly, nonatomic) OFString *string;
|
||||
@property (readonly, assign) OFString *string;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -171,9 +171,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// The IDNA translation operation which failed
|
||||
@property (readonly, nonatomic) OFString *operation;
|
||||
@property (readonly, assign) OFString *operation;
|
||||
/// The string that could not be translated
|
||||
@property (readonly, nonatomic) OFString *string;
|
||||
@property (readonly, assign) OFString *string;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -218,7 +218,7 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// The reason the authentication failed
|
||||
@property (readonly, nonatomic) OFString *reason;
|
||||
@property (readonly, assign) OFString *reason;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -36,10 +36,10 @@
|
|||
}
|
||||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
@property (readonly, assign) uint16_t priority;
|
||||
@property (readonly, assign) uint16_t weight;
|
||||
@property (assign) uint32_t accumulatedWeight;
|
||||
@property (readonly, assign) uint16_t port;
|
||||
@property (readonly) uint16_t priority;
|
||||
@property (readonly) uint16_t weight;
|
||||
@property uint32_t accumulatedWeight;
|
||||
@property (readonly) uint16_t port;
|
||||
@property (readonly, copy) OFString *target;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue