X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.h;h=b6c340a3821fed8a0cfbc14381f71f702115b022;hp=ee29d2e3dadcaff7c19973b7ff8e8e8cd2309134;hb=c8a1817d1843e987794f95f66ef2da93fa75286f;hpb=d1b6499b0b848d4287efae89107576548533502c diff --git a/src/core/sessionthread.h b/src/core/sessionthread.h index ee29d2e3..b6c340a3 100644 --- a/src/core/sessionthread.h +++ b/src/core/sessionthread.h @@ -33,7 +33,7 @@ class SessionThread : public QThread { Q_OBJECT public: - SessionThread(UserId user, QObject *parent = 0); + SessionThread(UserId user, bool restoreState, QObject *parent = 0); ~SessionThread(); void run(); @@ -49,12 +49,14 @@ class SessionThread : public QThread { signals: void initialized(); + void shutdown(); private: CoreSession *_session; UserId _user; QList clientQueue; bool _sessionInitialized; + bool _restoreState; bool isSessionInitialized(); void addClientToSession(QIODevice *socket);