projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introducing the first shiny stuff for our new event-based core backend
[quassel.git]
/
src
/
core
/
coreuserinputhandler.h
diff --git
a/src/core/coreuserinputhandler.h
b/src/core/coreuserinputhandler.h
index
f2c3c6d
..
9a31f69
100644
(file)
--- a/
src/core/coreuserinputhandler.h
+++ b/
src/core/coreuserinputhandler.h
@@
-23,6
+23,7
@@
#include "corebasichandler.h"
#include "corebasichandler.h"
+class Cipher;
class Server;
class CoreUserInputHandler : public CoreBasicHandler {
class Server;
class CoreUserInputHandler : public CoreBasicHandler {
@@
-77,9
+78,13
@@
protected:
private:
void banOrUnban(const BufferInfo &bufferInfo, const QString &text, bool ban);
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> ¶ms);
int lastParamOverrun(const QString &cmd, const QList<QByteArray> ¶ms);
+#ifdef HAVE_QCA2
+ QByteArray encrypt(const QString &target, const QByteArray &message, bool *didEncrypt = 0) const;
+#endif
+
struct Command {
BufferInfo bufferInfo;
QString command;
struct Command {
BufferInfo bufferInfo;
QString command;