summaryrefslogtreecommitdiffstats
path: root/pica-client/skynet.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2015-03-30 00:57:46 +0400
committerAnton <anton@picapica>2015-03-30 00:57:46 +0400
commite3d99b9dc12974ba13806e0c344a52f6c02d4ba6 (patch)
treefef30a3fccae5515a6372ab78c017273c216ed85 /pica-client/skynet.h
parent0a71ba2f66ce2a56d4ada62ef28bbb3f2ba7b991 (diff)
downloadpica-pica-e3d99b9dc12974ba13806e0c344a52f6c02d4ba6.tar.gz
pica-pica-e3d99b9dc12974ba13806e0c344a52f6c02d4ba6.zip
do not open account again if already opened, fixed memory leak, added new method SkyNet::open_account()
Diffstat (limited to 'pica-client/skynet.h')
-rw-r--r--pica-client/skynet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/skynet.h b/pica-client/skynet.h
index 41aac0d..4df41db 100644
--- a/pica-client/skynet.h
+++ b/pica-client/skynet.h
@@ -75,6 +75,7 @@ private:
void flush_queues(QByteArray to);
struct PICA_c2c *find_active_chan(QByteArray peer_id);
QList<QByteArray> filter_existing_chans(QList<QByteArray> peer_ids);
+ bool open_account();
void emit_MessageReceived(QByteArray from, QString msg);
void emit_UnableToDeliver(QByteArray to, QString msg);