X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientsyncer.h;h=ea65d48f3d9db883ae3f97ed12419dc2968a2108;hb=d641909f556da373ede15b257898ddc183e0954b;hp=b77b234b0d7dee9a8609ad43fa57bd0b5a4cb524;hpb=8f50c6cce47eaae781de54eabb0dbff3cfc8b451;p=quassel.git diff --git a/src/client/clientsyncer.h b/src/client/clientsyncer.h index b77b234b..ea65d48f 100644 --- a/src/client/clientsyncer.h +++ b/src/client/clientsyncer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 @@ -58,12 +61,16 @@ signals: void coreSetupSuccess(); void coreSetupFailed(const QString &error); - void encrypted(bool); + void encrypted(); // relaying encrypted signal of the encapsulated SslSocket + + void startInternalCore(ClientSyncer *syncer); + void connectToInternalCore(SignalProxy *proxy); public slots: void connectToCore(const QVariantMap &); void loginToCore(const QString &user, const QString &passwd); void disconnectFromCore(); + void useInternalCore(); 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);