Don't make EventType::KeyEvent depend on HAVE_QCA2
[quassel.git] / src / common / internalpeer.h
index ada5f09..1a52fda 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2013 by the Quassel Project                        *
+ *   Copyright (C) 2005-2014 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -61,6 +61,18 @@ public:
     void dispatch(const Protocol::InitRequest &msg);
     void dispatch(const Protocol::InitData &msg);
 
+    /* These are not needed for InternalPeer */
+    void dispatch(const Protocol::RegisterClient &) {}
+    void dispatch(const Protocol::ClientDenied &) {}
+    void dispatch(const Protocol::ClientRegistered &) {}
+    void dispatch(const Protocol::SetupData &) {}
+    void dispatch(const Protocol::SetupFailed &) {}
+    void dispatch(const Protocol::SetupDone &) {}
+    void dispatch(const Protocol::Login &) {}
+    void dispatch(const Protocol::LoginFailed &) {}
+    void dispatch(const Protocol::LoginSuccess &) {}
+    void dispatch(const Protocol::SessionState &) {}
+
 public slots:
     void close(const QString &reason = QString());