projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Protocol::Handler enum with enum class
[quassel.git]
/
src
/
common
/
peer.h
diff --git
a/src/common/peer.h
b/src/common/peer.h
index
64a333c
..
6f17ed6
100644
(file)
--- a/
src/common/peer.h
+++ b/
src/common/peer.h
@@
-119,7
+119,7
@@
template<typename T> inline
void Peer::handle(const T &protoMessage)
{
switch(protoMessage.handler()) {
void Peer::handle(const T &protoMessage)
{
switch(protoMessage.handler()) {
- case Protocol::SignalProxy:
+ case Protocol::
Handler::
SignalProxy:
if (!signalProxy()) {
qWarning() << Q_FUNC_INFO << "Cannot handle message without a SignalProxy!";
return;
if (!signalProxy()) {
qWarning() << Q_FUNC_INFO << "Cannot handle message without a SignalProxy!";
return;
@@
-127,7
+127,7
@@
void Peer::handle(const T &protoMessage)
signalProxy()->handle(this, protoMessage);
break;
signalProxy()->handle(this, protoMessage);
break;
- case Protocol::AuthHandler:
+ case Protocol::
Handler::
AuthHandler:
if (!authHandler()) {
qWarning() << Q_FUNC_INFO << "Cannot handle auth messages without an active AuthHandler!";
return;
if (!authHandler()) {
qWarning() << Q_FUNC_INFO << "Cannot handle auth messages without an active AuthHandler!";
return;