+
+void MonolithicApplication::newClientSyncer(ClientSyncer *syncer) {
+ connect(syncer, SIGNAL(startInternalCore()), this, SLOT(startInternalCore()));
+}
+
+void MonolithicApplication::startInternalCore() {
+ if(!_internalInitDone) {
+ _internal->init();
+ _internalInitDone = true;
+ }
+ Core *core = Core::instance();
+ ClientSyncer *syncer = static_cast<ClientSyncer *>(sender());
+ connect(syncer, SIGNAL(connectToInternalCore(SignalProxy *)), core, SLOT(setupInternalClientSession(SignalProxy *)));
+ connect(core, SIGNAL(sessionState(const QVariant &)), syncer, SLOT(internalSessionStateReceived(const QVariant &)));
+}