Add a checkParamCount() for EventStringifier as well
[quassel.git] / src / core / coreuserinputhandler.h
index f2c3c6d..9a31f69 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "corebasichandler.h"
 
+class Cipher;
 class Server;
 
 class CoreUserInputHandler : public CoreBasicHandler {
@@ -77,9 +78,13 @@ protected:
 
 private:
   void banOrUnban(const BufferInfo &bufferInfo, const QString &text, bool ban);
-  void putPrivmsg(const QByteArray &target, const QByteArray &message);
+  void putPrivmsg(const QByteArray &target, const QByteArray &message, Cipher *cipher = 0);
   int lastParamOverrun(const QString &cmd, const QList<QByteArray> &params);
 
+#ifdef HAVE_QCA2
+  QByteArray encrypt(const QString &target, const QByteArray &message, bool *didEncrypt = 0) const;
+#endif
+
   struct Command {
     BufferInfo bufferInfo;
     QString command;