X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;fp=src%2Fcore%2Fcoresession.h;h=15c95339e9c815a0bb298c52fc5be226602521c1;hp=fe81a2b451c33dc8a12a49994e4c687caf78bf22;hb=ddfb1d2574c4bffd180361a80df9b1cd584bb040;hpb=72473527f99cbe68dcfcb4ca17f828bd3775bba7 diff --git a/src/core/coresession.h b/src/core/coresession.h index fe81a2b4..15c95339 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -63,7 +63,6 @@ class CoreSession : public QObject public: CoreSession(UserId, bool restoreState, bool strictIdentEnabled, QObject *parent = 0); - ~CoreSession(); QList buffers() const; inline UserId user() const { return _user; } @@ -112,6 +111,11 @@ public slots: void addClient(RemotePeer *peer); void addClient(InternalPeer *peer); + /** + * Shuts down the session and deletes itself afterwards. + */ + void shutdown(); + void msgFromClient(BufferInfo, QString message); //! Create an identity and propagate the changes to the clients.