X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.h;h=fee6e64f1da48aec638bf528600534d7e34998ca;hp=75402633f4b832a37b4640815a36c85733c04122;hb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/core/sessionthread.h b/src/core/sessionthread.h index 75402633..fee6e64f 100644 --- a/src/core/sessionthread.h +++ b/src/core/sessionthread.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -27,8 +27,9 @@ #include "types.h" class CoreSession; +class InternalPeer; +class RemotePeer; class QIODevice; -class SignalProxy; class SessionThread : public QThread { @@ -53,8 +54,8 @@ signals: void initialized(); void shutdown(); - void addRemoteClient(QIODevice *); - void addInternalClient(SignalProxy *); + void addRemoteClient(RemotePeer *peer); + void addInternalClient(InternalPeer *peer); private: CoreSession *_session; @@ -65,8 +66,8 @@ private: bool isSessionInitialized(); void addClientToSession(QObject *peer); - void addRemoteClientToSession(QIODevice *socket); - void addInternalClientToSession(SignalProxy *proxy); + void addRemoteClientToSession(RemotePeer *remotePeer); + void addInternalClientToSession(InternalPeer *internalPeer); };