X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientsyncer.h;h=7f07de39a5f237551eca22b733dc74446a1ee8ee;hb=de6fd75928284a7c8788e00a36e5de7e64b9e168;hp=b77b234b0d7dee9a8609ad43fa57bd0b5a4cb524;hpb=8f50c6cce47eaae781de54eabb0dbff3cfc8b451;p=quassel.git diff --git a/src/client/clientsyncer.h b/src/client/clientsyncer.h index b77b234b..7f07de39 100644 --- a/src/client/clientsyncer.h +++ b/src/client/clientsyncer.h @@ -18,8 +18,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef _CLIENTSYNCER_H_ -#define _CLIENTSYNCER_H_ +#ifndef CLIENTSYNCER_H_ +#define CLIENTSYNCER_H_ #include #include @@ -31,8 +31,11 @@ # include #endif +#include "types.h" + class IrcUser; class IrcChannel; +class SignalProxy; class ClientSyncer : public QObject { Q_OBJECT @@ -60,10 +63,14 @@ signals: void encrypted(bool); + void startInternalCore(); + void connectToInternalCore(SignalProxy *proxy); + public slots: void connectToCore(const QVariantMap &); void loginToCore(const QString &user, const QString &passwd); void disconnectFromCore(); + void useInternalCore(AccountId internalAccountId); private slots: void coreSocketError(QAbstractSocket::SocketError); @@ -78,6 +85,7 @@ private slots: void checkSyncState(); void syncToCore(const QVariantMap &sessionState); + void internalSessionStateReceived(const QVariant &packedState); void sessionStateReceived(const QVariantMap &state); void doCoreSetup(const QVariant &setupData);