summaryrefslogtreecommitdiffstats
path: root/ksirc/baserules.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /ksirc/baserules.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/baserules.h')
-rw-r--r--ksirc/baserules.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ksirc/baserules.h b/ksirc/baserules.h
new file mode 100644
index 00000000..690ed28e
--- /dev/null
+++ b/ksirc/baserules.h
@@ -0,0 +1,35 @@
+#ifndef KBASERULES_H
+#define KBASERULES_H
+
+#include "messageReceiver.h"
+
+class KSMBaseRules : public KSircMessageReceiver
+{
+public:
+ KSMBaseRules(KSircProcess *proc)
+ : KSircMessageReceiver(proc)
+ {
+ broadcast = FALSE;
+ }
+ virtual ~KSMBaseRules()
+ {
+ }
+
+ virtual void sirc_receive(QCString str, bool broadcast);
+
+ virtual void control_message(int, QString);
+
+ filterRuleList *defaultRules();
+
+private:
+ bool broadcast;
+ char to[101];
+ char match_us[101];
+ char to_us[101];
+ char msg1_match[101];
+ char msg1_to[101];
+ char msg2_match[101];
+ char msg2_to[101];
+};
+
+#endif