/***************************************************************************
- * Copyright (C) 2005-2013 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 *
#include "protocol.h"
struct QMetaObject;
+class QIODevice;
class Peer;
class SyncableObject;
template<class T>
void dispatch(const T &protoMessage);
- void dispatch(Peer *peer, const Protocol::RpcCall &rpcCall);
+ template<class T>
+ void dispatch(Peer *peer, const T &protoMessage);
void handle(Peer *peer, const Protocol::SyncMessage &syncMessage);
void handle(Peer *peer, const Protocol::RpcCall &rpcCall);