properly saving the layout when using the internal core
[quassel.git] / src / client / clientsyncer.h
index b77b234..7f07de3 100644 (file)
@@ -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 <QPointer>
 #include <QString>
 #  include <QTcpSocket>
 #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);