IRCConnection: Make fallback encoding configurable

FossilOrigin-Name: 0ca6e4f04d891d2bcc17cacb15ad6e17090624bf65efed09999a26e9c9998192
This commit is contained in:
Jonathan Schleifer 2017-01-22 20:49:44 +00:00
parent 21784a8d30
commit 0dd8cdc46a
2 changed files with 14 additions and 9 deletions

View file

@ -81,14 +81,16 @@
OFString *_nickname, *_username, *_realname;
OFMutableDictionary *_channels;
id <IRCConnectionDelegate> _delegate;
of_string_encoding_t _fallbackEncoding;
}
@property (assign) Class socketClass;
@property (copy) OFString *server;
@property (assign) uint16_t port;
@property uint16_t port;
@property (copy) OFString *nickname, *username, *realname;
@property (assign) id <IRCConnectionDelegate> delegate;
@property (readonly, retain) OFTCPSocket *socket;
@property of_string_encoding_t fallbackEncoding;
+ (instancetype)connection;
- (void)sendLine: (OFString*)line;